From 2e32d52133fc73ccfd49c88f38ad48aeacfd4e44 Mon Sep 17 00:00:00 2001 From: pkupuk Date: Wed, 11 Mar 2026 17:42:34 +0800 Subject: [PATCH] Refactor frontend sections to use Tailwind CSS Convert custom CSS styling to Tailwind utility classes across marketing and about pages. Improve responsive layouts in feature grids, service lists, and sliders. Consolidate section headers using the shared SectionHeader component to maintain visual consistency. --- apps/frontend/src/components/CtaSection.astro | 2 +- apps/frontend/src/components/Footer.astro | 22 +- .../src/components/SectionHeader.astro | 2 +- apps/frontend/src/pages/about-enchun.astro | 6 - .../src/pages/marketing-solutions.astro | 29 +- apps/frontend/src/pages/teams.astro | 50 +- .../src/sections/BenefitsSection.astro | 335 +++---------- apps/frontend/src/sections/CompanyStory.astro | 138 +----- .../src/sections/ComparisonSection.astro | 387 +++++---------- .../src/sections/Cta-Hr-compoents.astro | 62 +++ .../src/sections/EnvironmentSlider.astro | 442 +++++++----------- .../src/sections/FeatureSection.astro | 29 +- .../src/sections/PainpointSection.astro | 2 +- apps/frontend/src/sections/ServicesList.astro | 6 +- apps/frontend/src/sections/TeamsHero.astro | 2 +- apps/frontend/src/styles/theme.css | 2 + 16 files changed, 510 insertions(+), 1006 deletions(-) create mode 100644 apps/frontend/src/sections/Cta-Hr-compoents.astro diff --git a/apps/frontend/src/components/CtaSection.astro b/apps/frontend/src/components/CtaSection.astro index 518a47a..3a5cbb1 100644 --- a/apps/frontend/src/components/CtaSection.astro +++ b/apps/frontend/src/components/CtaSection.astro @@ -5,7 +5,7 @@ ---
diff --git a/apps/frontend/src/components/Footer.astro b/apps/frontend/src/components/Footer.astro index b21df78..b9eab54 100644 --- a/apps/frontend/src/components/Footer.astro +++ b/apps/frontend/src/components/Footer.astro @@ -42,8 +42,8 @@ try { const currentYear = new Date().getFullYear(); --- -