From a01aebd8bd73e50ca3e99f05545d50ed429795b0 Mon Sep 17 00:00:00 2001 From: DuongNguyendev Date: Wed, 13 May 2026 19:35:11 +0700 Subject: [PATCH] Fix size of website --- app/(site)/feedback/page.tsx | 4 +- app/(site)/registration/page.tsx | 4 +- app/components/home/AgendaSection.tsx | 18 +- app/components/home/HeroSection.tsx | 12 +- app/components/home/StatsSection.tsx | 6 +- app/components/home/VisionSection.tsx | 14 +- app/components/layout/Footer/Footer.tsx | 8 +- app/components/layout/Header/HeaderClient.tsx | 187 +++++++++++------- app/globals.css | 2 +- 9 files changed, 146 insertions(+), 109 deletions(-) diff --git a/app/(site)/feedback/page.tsx b/app/(site)/feedback/page.tsx index f8356fe..db47cc7 100644 --- a/app/(site)/feedback/page.tsx +++ b/app/(site)/feedback/page.tsx @@ -4,7 +4,7 @@ import data from "@/app/data/feedback.json"; export default function FeedbackPage() { return ( -
+
@@ -21,7 +21,7 @@ export default function FeedbackPage() {
-

+

{data.title}

{data.subtitle}

diff --git a/app/(site)/registration/page.tsx b/app/(site)/registration/page.tsx index a99bd34..02c7dcd 100644 --- a/app/(site)/registration/page.tsx +++ b/app/(site)/registration/page.tsx @@ -4,7 +4,7 @@ import data from "@/app/data/registration.json"; export default function RegistrationPage() { return ( -
+
@@ -20,7 +20,7 @@ export default function RegistrationPage() {
-

+

{data.title}

{data.subtitle}

diff --git a/app/components/home/AgendaSection.tsx b/app/components/home/AgendaSection.tsx index 67467fd..a271e06 100644 --- a/app/components/home/AgendaSection.tsx +++ b/app/components/home/AgendaSection.tsx @@ -10,17 +10,17 @@ export default function AgendaSection({ }; }) { return ( -
-
+
+
{data.eyebrow} -

+

{data.title}

-

+

{data.description}

@@ -29,22 +29,22 @@ export default function AgendaSection({ {data.items.map((item) => (
- + {item.order}
- + {item.time}
-

+

{item.title}

-

+

{item.description}

diff --git a/app/components/home/HeroSection.tsx b/app/components/home/HeroSection.tsx index 134e27c..32f3ef1 100644 --- a/app/components/home/HeroSection.tsx +++ b/app/components/home/HeroSection.tsx @@ -13,33 +13,33 @@ export default function HeroSection({ }; }) { return ( -
+
{data.badgeIcon} - + {data.badgeText}
-

+

{data.title}

-

+

{data.subtitle}

{data.primaryCta.label} {data.secondaryCta.label} diff --git a/app/components/home/StatsSection.tsx b/app/components/home/StatsSection.tsx index 70ec542..6d95ed4 100644 --- a/app/components/home/StatsSection.tsx +++ b/app/components/home/StatsSection.tsx @@ -5,17 +5,17 @@ export default function StatsSection({ }) { return (
{data.items.map((x) => (
-
+
{x.value}
-
+
{x.label}
diff --git a/app/components/home/VisionSection.tsx b/app/components/home/VisionSection.tsx index 7dafd97..9154f86 100644 --- a/app/components/home/VisionSection.tsx +++ b/app/components/home/VisionSection.tsx @@ -9,16 +9,16 @@ export default function VisionSection({ }; }) { return ( -
+
{data.eyebrow} -

+

{data.title}

-
+
{data.paragraphs.map((p) => (

{p}

))} @@ -28,15 +28,15 @@ export default function VisionSection({ {data.cards.map((c) => (
- + {c.icon} -

+

{c.title}

-

+

{c.description}

diff --git a/app/components/layout/Footer/Footer.tsx b/app/components/layout/Footer/Footer.tsx index 32e706a..30a9edc 100644 --- a/app/components/layout/Footer/Footer.tsx +++ b/app/components/layout/Footer/Footer.tsx @@ -3,9 +3,9 @@ import siteData from "@/app/data/site.json"; export default function Footer() { return ( -