Skip to content

Commit

Permalink
Merge branch 'dev' into nac/rpkm-edit-page
Browse files Browse the repository at this point in the history
  • Loading branch information
TeeGoood authored Jul 21, 2024
2 parents 98e1caa + c2c19de commit 8df97f4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
Binary file removed public/rpkm/activities/communitybackground.png
Binary file not shown.
3 changes: 3 additions & 0 deletions public/rpkm/activities/communitybackground.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/app/rpkm/activities/details/baan/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const Page = () => {
alt="activity image"
width={0}
height={0}
priority={true}
className="my-4 object-cover"
style={{ width: '60vw', height: '60vw' }}
/>
Expand Down
10 changes: 5 additions & 5 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,20 +81,20 @@ const page = () => {
>
ดูทั้งหมด
</Link> */}
<Divider />
<Banner image={CommunityBanner} />
{/* <Divider /> */}
{/* <Banner image={CommunityBanner} />
<div className="justify-center flex">
<Card
name="กิจกรรมชุมชน"
image="/rpkm/activities/communitybackground.png"
image="/rpkm/activities/communitybackground.svg"
imageWidth="70vw"
imageHeight="70vw"
content="กิจกรรมชุมชน เป็นกิจกรรมที่จัดขึ้นเพื่อให้นิสิตใหม่ ได้ทำความรู้จักกับร้านค้า และชุมชนบริเวณโดยรอบจุฬาลงกรณ์มหาวิทยาลัยให้มากขึ้น ผ่านกิจกรรมการสะสมแต้มผ่าน Line OA ด้วยการร่วมทำกิจกรรมถ่ายรูปเช็คอิน ตะลุยทานของอร่อย ๆ รอบมอ ทำกิจกรรมอาสาเพื่อพัฒนาสังคม โดยร้านค้าและสถานที่ที่อยู่ในกิจกรรมมีตั้งแต่ร้านเก่าแก่ที่อยู่คู่จุฬาฯมาอย่างยาวนานตลอดจนร้านค้าใหม่ ๆ ที่เพิ่งเกิดขึ้นและน่าไปเช็คอิน บอกได้เลยว่า เหล่าเฟรชชี่ CU108 พลาดไม่ได้สักร้านเลยแน่นอน เพิ่มเพื่อนไลน์ OA และรับบัตรสะสมแต้มกัน เริ่มทำกิจกรรมกันได้เลย"
href="/rpkm/activities/details/community"
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
1 change: 1 addition & 0 deletions src/components/rpkm/Activities/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const Card: React.FC<CardProps> = ({
height: imageHeight ? imageHeight : '60vw',
}}
className={cn('w-full object-cover', imageClassName)}
priority={true}
/>
</div>
<div className="flex flex-col gap-y-[2px] mt-1">
Expand Down

0 comments on commit 8df97f4

Please sign in to comment.