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"; --- -
- +
+ -
- -