From a071a8512190930c593606bd333a033a83d500c5 Mon Sep 17 00:00:00 2001 From: TerryM Date: Tue, 12 May 2026 16:34:58 +0800 Subject: [PATCH] feat: add Footer component --- src/components/Footer.astro | 42 +++++++++++++++++++++++++++++++++++++ src/pages/index.astro | 2 ++ 2 files changed, 44 insertions(+) create mode 100644 src/components/Footer.astro diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..0686fb3 --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,42 @@ +--- +const columns: Record = { + Product: ['Features', 'Product', 'Download'], + Privacy: ['Privacy Policy', 'Protected Space', 'Security'], + Company: ['About', 'Support', 'Contact'], +} +--- + +
+
+ +
+
+

Talk Pro

+
+

Designed for modern communication,

+

privacy, and intelligent connection.

+
+
+ +
+ + {Object.entries(columns).map(([heading, items]) => ( +
+

{heading}

+ {items.map((item) => ( + {item} + ))} +
+ ))} +
+ +
+
+
+ +
+

© 2026 Talk Pro. All rights reserved.

+
+

Terms of Use · Privacy Policy · Support

+
+
diff --git a/src/pages/index.astro b/src/pages/index.astro index 504d746..bf5cbb4 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -5,6 +5,7 @@ import Hero from '../components/Hero.astro' import CoreSystem from '../components/CoreSystem.astro' import UseCases from '../components/UseCases.astro' import DownloadCTA from '../components/DownloadCTA.astro' +import Footer from '../components/Footer.astro' --- @@ -13,4 +14,5 @@ import DownloadCTA from '../components/DownloadCTA.astro' +