diff --git a/public/images/landing/whisper.money_dark_1.png b/public/images/landing/whisper.money_dark_1.png new file mode 100644 index 00000000..e57b7bb2 Binary files /dev/null and b/public/images/landing/whisper.money_dark_1.png differ diff --git a/public/images/landing/whisper.money_dark_2.png b/public/images/landing/whisper.money_dark_2.png new file mode 100644 index 00000000..84c3b0a3 Binary files /dev/null and b/public/images/landing/whisper.money_dark_2.png differ diff --git a/public/images/landing/whisper.money_dark_3.png b/public/images/landing/whisper.money_dark_3.png new file mode 100644 index 00000000..b221aa89 Binary files /dev/null and b/public/images/landing/whisper.money_dark_3.png differ diff --git a/public/images/landing/whisper.money_light_1.png b/public/images/landing/whisper.money_light_1.png new file mode 100644 index 00000000..62ffcc53 Binary files /dev/null and b/public/images/landing/whisper.money_light_1.png differ diff --git a/public/images/landing/whisper.money_light_2.png b/public/images/landing/whisper.money_light_2.png new file mode 100644 index 00000000..e68d55b5 Binary files /dev/null and b/public/images/landing/whisper.money_light_2.png differ diff --git a/public/images/landing/whisper.money_light_3.png b/public/images/landing/whisper.money_light_3.png new file mode 100644 index 00000000..5881d122 Binary files /dev/null and b/public/images/landing/whisper.money_light_3.png differ diff --git a/resources/js/pages/welcome.tsx b/resources/js/pages/welcome.tsx index 46323064..349321fc 100644 --- a/resources/js/pages/welcome.tsx +++ b/resources/js/pages/welcome.tsx @@ -30,6 +30,30 @@ import { } from 'lucide-react'; import { useEffect, useRef } from 'react'; +const LANDING_IMAGES = [ + { + key: 'bank-accounts', + light: '/images/landing/whisper.money_light_3.png', + dark: '/images/landing/whisper.money_dark_3.png', + alt: 'Transactions encrypted', + className: 'left-[-24%] group-hover:left-[-32%]', + }, + { + key: 'unlock-key', + light: '/images/landing/whisper.money_light_2.png', + dark: '/images/landing/whisper.money_dark_2.png', + alt: 'Manage all your accounts in a single place', + className: '', + }, + { + key: 'transactions', + light: '/images/landing/whisper.money_light_1.png', + dark: '/images/landing/whisper.money_dark_1.png', + alt: 'Analyze your money, how it evolves, and how do you spent it', + className: 'left-[32%] group-hover:left-[48%]', + }, +] as const; + function getBillingLabel(billingPeriod: string | null): string { if (!billingPeriod) { return 'one-time'; @@ -266,60 +290,34 @@ export default function Welcome({
-
+ {LANDING_IMAGES.map((image, index) => (
+
-
-
-
-