From dbda554d28fc34529af00eeb5f37ec745d3ebdf2 Mon Sep 17 00:00:00 2001 From: SeekingGamer <160568653+SeekingGamer@users.noreply.github.com> Date: Wed, 13 May 2026 13:46:21 +0800 Subject: [PATCH] fix(style): Seperate CSS style to src\styles --- src/components/AppPreview.astro | 73 ++++++------- src/components/CoreSystem.astro | 63 ++++++----- src/components/DownloadCTA.astro | 67 ++++++------ src/components/Experience.astro | 80 ++++++-------- src/components/Footer.astro | 81 +++++++------- src/components/Header.astro | 176 +++++++++++++++++++++---------- src/components/Hero.astro | 69 ++++++------ src/components/Trust.astro | 132 +++++++++-------------- src/components/UseCases.astro | 47 ++++----- src/components/WhyTalkPro.astro | 108 ++++++++----------- src/layouts/Base.astro | 18 ++-- src/pages/index.astro | 26 +++-- src/styles/global.css | 9 ++ 13 files changed, 472 insertions(+), 477 deletions(-) diff --git a/src/components/AppPreview.astro b/src/components/AppPreview.astro index 9486a8a..5d8139e 100644 --- a/src/components/AppPreview.astro +++ b/src/components/AppPreview.astro @@ -1,4 +1,11 @@ --- +import type { Translations } from '../i18n/translations' + +export interface Props { + t: Translations['preview'] +} + +const { t } = Astro.props const slides = [ "/assets/preview-phone.png", "/assets/preview-phone.png", @@ -6,68 +13,56 @@ const slides = [ ] --- -
- -
-

- A Familiar App Experience, Reimagined with a Modern Look +

+
+

+ {t.title}

-

- TalkPro keeps the communication experience familiar while refining the visual layer with updated icons, colors, spacing, and interface details. +

+ {t.description}

- -
diff --git a/src/components/Hero.astro b/src/components/Hero.astro index 54ae3d9..9ba8664 100644 --- a/src/components/Hero.astro +++ b/src/components/Hero.astro @@ -1,57 +1,56 @@ --- +import type { Translations } from '../i18n/translations' + +export interface Props { + t: Translations['hero'] +} + +const { t } = Astro.props const heroBg = "/assets/hero-bg.png"; const phoneMockup = "/assets/hero-phone.png"; --- -
- +
+ -
- -