diff --git a/src/modules/home/_components/seminar-table.tsx b/src/modules/home/_components/seminar-table.tsx index 4df8be5..c1146be 100644 --- a/src/modules/home/_components/seminar-table.tsx +++ b/src/modules/home/_components/seminar-table.tsx @@ -1,5 +1,6 @@ import type { SeminarSlot } from '../_types'; import { formatStr, fTime } from '@/shared/utils'; +import { GradientCard } from '@/shared/components'; type Props = { seminars: SeminarSlot[]; @@ -7,37 +8,37 @@ type Props = { export function SeminarTable({ seminars }: Props) { return ( -
- + +
- - - {seminars.map((seminar, index) => ( - - - ))}
+ เวลา - ห้องที่ 1 (001) + + ห้องที่ 1 (802) - ห้องที่ 2 (002) + + ห้องที่ 2 (807)
+ {`${fTime(seminar.startAt, formatStr.time24Hr)}-${fTime(seminar.endAt, formatStr.time24Hr)}`} + {seminar.room1} + {seminar.room2}
-
+ ); } diff --git a/src/modules/home/_sections/company-logos.tsx b/src/modules/home/_sections/company-logos.tsx index 722a1ea..1715e87 100644 --- a/src/modules/home/_sections/company-logos.tsx +++ b/src/modules/home/_sections/company-logos.tsx @@ -14,10 +14,10 @@ export default function CompanyLogos({ companies, selectedCompanyId }: Props) { ); return ( -
-
- $ -
+

diff --git a/src/modules/home/_sections/description.tsx b/src/modules/home/_sections/description.tsx index 09e3729..1fe119e 100644 --- a/src/modules/home/_sections/description.tsx +++ b/src/modules/home/_sections/description.tsx @@ -3,37 +3,38 @@ import Image from 'next/image'; export default function Description() { return ( -
+
{/* background start here */}
diff --git a/src/modules/home/_sections/introduction.tsx b/src/modules/home/_sections/introduction.tsx index c02af22..0603460 100644 --- a/src/modules/home/_sections/introduction.tsx +++ b/src/modules/home/_sections/introduction.tsx @@ -29,10 +29,7 @@ function Grid() { export default function Introduction() { return ( -
+
diff --git a/src/modules/home/_sections/seminar.tsx b/src/modules/home/_sections/seminar.tsx index 6357a81..9c813f9 100644 --- a/src/modules/home/_sections/seminar.tsx +++ b/src/modules/home/_sections/seminar.tsx @@ -15,7 +15,7 @@ export default async function Seminar() { return (
-
-
-

+
+
+

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

{seminarList.length <= 0 && ( -

+

ไม่พบกำหนดการ

)} - - + + {seminarList.map((seminarSlot, index) => ( - + Day {index + 1}{' '} diff --git a/src/shared/style/globals.css b/src/shared/style/globals.css index 35af9c0..1c17739 100644 --- a/src/shared/style/globals.css +++ b/src/shared/style/globals.css @@ -3,8 +3,9 @@ @tailwind utilities; html { - scroll-behavior: smooth; overflow-x: hidden; + scroll-behavior: smooth; + scroll-padding-top: 2.5rem; } body { @@ -153,14 +154,20 @@ body { --radial-orange-black: radial-gradient( 50% 50% at 50% 50%, - #f6871e 40.5%, + rgba(246, 135, 30, 1) 40.5%, rgba(0, 0, 0, 0) 100% ); + --linear-orange-red: linear-gradient( + 90deg, + rgba(237, 140, 56, 1) 0%, + rgba(255, 132, 0, 1) 100% + ); + --linear-orange-black-vertical: linear-gradient( 180deg, - #f6871e 0%, - #000000 34.55% + rgba(246, 135, 30, 1) 0%, + rgba(0, 0, 0, 0) 34.55% ); --brown-500: #50341b; @@ -171,6 +178,7 @@ body { --orange-300: #f6871e; --orange-400: #ac5f15; --orange-500: #965212; + --orange-flare: #ffa996; --gray-75: #d3d3d3; --gray-100: #c1c1c1; diff --git a/tailwind.config.ts b/tailwind.config.ts index 66ffeab..a7f6e08 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -62,6 +62,7 @@ const config: Config = { '300': 'var(--orange-300)', '400': 'var(--orange-400)', '500': 'var(--orange-500)', + 'flare': 'var(--orange-flare)', }, gray: { '75': 'var(--gray-75)', @@ -87,6 +88,7 @@ const config: Config = { 'linear-gray-orange': 'var(--linear-gray-orange)', 'linear-black-orange-hori': 'var(--linear-black-orange-hori)', 'radial-orange-black': 'var(--radial-orange-black)', + 'linear-orange-red': 'var(--linear-orange-red)', 'linear-orange-black-vertical': 'var(--linear-orange-black-vertical)' }, keyframes: {