From ba2dd0a11242cc39420838a45108dfef5440baa3 Mon Sep 17 00:00:00 2001 From: Kachen <106764256+Roshanen@users.noreply.github.com> Date: Tue, 12 Nov 2024 01:29:44 +0700 Subject: [PATCH] Feat/seminar section (#29) * style: add table overflow-scroll * style: add seminar table fade animation * Feat/maicivil (#26) * chore: ignore * feat: mock navbar * docs: update package.json * feat: change navbar titile * feat: init footer * chore: update package-lock * feat: called nav bar component * feat: clean navbar and restructure * feat: adjust css to navbar and footer * fix: css in footer to have horizon linear fade * remove package-lock * remove: conflict file ( src/app/footer.tsx ) * remove conflict file ( nav-tabs.tsx ) * Feat/navbar active (#28) * chore: ignore * feat: mock navbar * docs: update package.json * feat: change navbar titile * feat: init footer * chore: update package-lock * feat: called nav bar component * feat: clean navbar and restructure * feat: adjust css to navbar and footer * fix: css in footer to have horizon linear fade * remove package-lock * remove: conflict file ( src/app/footer.tsx ) * remove conflict file ( nav-tabs.tsx ) * feat: add navbar href and anchor * feat: add navbar color and smooth scroll * feat: add navbar active animation and hamburger menu --------- Co-authored-by: ktunchar Co-authored-by: Kittipod Lambangchang * style: more height and bright seminar table --------- Co-authored-by: ktunchar <70048235+Maikittitee@users.noreply.github.com> Co-authored-by: ktunchar Co-authored-by: Kittipod Lambangchang --- src/modules/home/_components/seminar-table.tsx | 16 ++++++++-------- src/modules/home/_sections/seminar.tsx | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/modules/home/_components/seminar-table.tsx b/src/modules/home/_components/seminar-table.tsx index 4aefb0d..9f98b93 100644 --- a/src/modules/home/_components/seminar-table.tsx +++ b/src/modules/home/_components/seminar-table.tsx @@ -7,17 +7,17 @@ type Props = { export function SeminarTable({ seminars }: Props) { return ( -
- +
+
- - - @@ -25,13 +25,13 @@ export function SeminarTable({ seminars }: Props) { {seminars.map((seminar, index) => ( - - - diff --git a/src/modules/home/_sections/seminar.tsx b/src/modules/home/_sections/seminar.tsx index 204b2b4..b2573ae 100644 --- a/src/modules/home/_sections/seminar.tsx +++ b/src/modules/home/_sections/seminar.tsx @@ -21,10 +21,10 @@ export default async function Seminar() { className="object-cover" /> -
-
+
+
-
+

กำหนดการสัมมนา

@@ -40,7 +40,7 @@ export default async function Seminar() { Day {index + 1}{' '}
+ เวลา + ห้องที่ 1 (001) + ห้องที่ 2 (002)
+ {`${fTime(seminar.startAt, formatStr.time24Hr)}-${fTime(seminar.endAt, formatStr.time24Hr)}`} + {seminar.room1} + {seminar.room2}