Skip to content

Commit

Permalink
add community activities
Browse files Browse the repository at this point in the history
  • Loading branch information
TeeGoood committed Jul 21, 2024
1 parent 0689d5c commit cf24b7e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/app/rpkm/activities/home/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Divider from '@/components/rpkm/Activities/Divider';

// import ActivitiesBanner from '@public/rpkm/activities/activities.png';
// import WalkRallyBanner from '@public/rpkm/activities/walkrally.png';
// import CommunityBanner from '@public/rpkm/activities/community.png';
import CommunityBanner from '@public/rpkm/activities/community.png';
import BaanBanner from '@public/rpkm/activities/baan.png';

// import activities from '@/data/activities';
Expand Down Expand Up @@ -81,8 +81,8 @@ const page = () => {
>
ดูทั้งหมด
</Link> */}
{/* <Divider /> */}
{/* <Banner image={CommunityBanner} />
<Divider />
<Banner image={CommunityBanner} />
<div className="justify-center flex">
<Card
name="กิจกรรมชุมชน"
Expand All @@ -94,7 +94,7 @@ const page = () => {
className="w-[80vw]"
contentClassName="line-clamp-3"
/>
</div> */}
</div>
{/* <Link
className="text-sm font-semibold flex justify-end underline mr-4 mt-2"
href="/rpkm/activities/community"
Expand Down
14 changes: 10 additions & 4 deletions src/components/rpkm/Sidebar/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,15 @@ function Menu() {
<AccordionItem
key="1"
aria-label="Accordion 1"
title={<div className="py-0">กิจกรรม</div>}
title={<div className="">กิจกรรม</div>}
>
<div className="flex flex-col w-full justify-items-start text-sm px-xs">
<div className="flex flex-col w-full justify-items-start text-sm px-2 -mt-2">
<Link
href={'/rpkm/activities/home'}
className="py-0"
>
หน้าหลัก
</Link>
<div
// href="/rpkm/activities/"
className="text-left text-gray-400 cursor-not-allowed"
Expand All @@ -64,7 +70,7 @@ function Menu() {
กิจกรรมชุมชน
</Link>
<Link
href="/rpkm/baan/home"
href="/rpkm/baan/baan-select"
className="text-left"
>
ข้อมูลแต่ละบ้าน
Expand All @@ -76,7 +82,7 @@ function Menu() {
aria-label="Accordion 2"
title={<div>แผนที่</div>}
>
<div className="flex flex-col w-full justify-items-start text-sm px-xs">
<div className="flex flex-col w-full justify-items-start text-sm px-2 -mt-2">
<Link
href="/rpkm/activities/map"
className="text-left"
Expand Down

0 comments on commit cf24b7e

Please sign in to comment.