From ef1b7a1d7a8828db98df1ccb55a070e63bb686de Mon Sep 17 00:00:00 2001
From: Maysam Torabi
Date: Tue, 10 Dec 2024 02:25:02 +0100
Subject: [PATCH] google play added
---
src/components/AppStoreLink.tsx | 38 ++++++++++++++++++++++++---------
src/components/CallToAction.tsx | 3 ++-
src/components/Footer.tsx | 2 +-
src/components/Header.tsx | 16 ++++++++++----
4 files changed, 43 insertions(+), 16 deletions(-)
diff --git a/src/components/AppStoreLink.tsx b/src/components/AppStoreLink.tsx
index a970540..09b5751 100644
--- a/src/components/AppStoreLink.tsx
+++ b/src/components/AppStoreLink.tsx
@@ -3,26 +3,44 @@ import clsx from 'clsx'
export function AppStoreLink({
color = 'black',
+ type = 'appstore',
}: {
color?: 'black' | 'white'
+ type?: 'appstore' | 'googleplay'
}) {
+ const isAppStore = type === 'appstore'
+
return (
-
+ {isAppStore ? (
+
+ ) : (
+
+ )}
)
}
diff --git a/src/components/CallToAction.tsx b/src/components/CallToAction.tsx
index 9ac7567..fb1803a 100644
--- a/src/components/CallToAction.tsx
+++ b/src/components/CallToAction.tsx
@@ -22,7 +22,8 @@ export function CallToAction() {
first investment.
diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx
index cfca467..b29326c 100644
--- a/src/components/Footer.tsx
+++ b/src/components/Footer.tsx
@@ -50,7 +50,7 @@ export function Footer() {
- Scan the QR code to download the app from the App Store.
+ Scan the QR code to download the app from Google Play. App Store coming soon.
diff --git a/src/components/Header.tsx b/src/components/Header.tsx
index 5e6aadf..b968fd5 100644
--- a/src/components/Header.tsx
+++ b/src/components/Header.tsx
@@ -120,10 +120,15 @@ export function Header() {
FAQs
-
>
@@ -132,11 +137,14 @@ export function Header() {
>
)}
-
+ {/*
Log in
+ */}
+
+ App Store
- Download
+ Google Play