From 63fbe602f0645bc43eed7b5092f556b0f6e01573 Mon Sep 17 00:00:00 2001 From: ryaneggz Date: Tue, 10 Mar 2026 14:01:56 -0600 Subject: [PATCH] fix: link website CTAs directly to app login Signed-off-by: ryaneggz --- src/components/buttons/RegisterButton.tsx | 13 ++-- src/sections/FooterSection.tsx | 93 +++++++++++++++-------- 2 files changed, 71 insertions(+), 35 deletions(-) diff --git a/src/components/buttons/RegisterButton.tsx b/src/components/buttons/RegisterButton.tsx index c948c9a..0d14fdd 100644 --- a/src/components/buttons/RegisterButton.tsx +++ b/src/components/buttons/RegisterButton.tsx @@ -9,18 +9,21 @@ interface RegisterButtonProps { export default function RegisterButton({ children, className = "", - variant = "primary" + variant = "primary", }: RegisterButtonProps) { - const baseStyles = "inline-flex items-center justify-center px-8 py-3 rounded-full font-montserrat font-medium tracking-wide transition-all duration-200"; + const baseStyles = + "inline-flex items-center justify-center px-8 py-3 rounded-full font-montserrat font-medium tracking-wide transition-all duration-200"; const variantStyles = { - primary: "bg-foreground text-background hover:opacity-90 hover:scale-105 shadow-lg hover:shadow-xl", - secondary: "bg-transparent border-2 border-foreground text-foreground hover:bg-foreground hover:text-background" + primary: + "bg-foreground text-background hover:opacity-90 hover:scale-105 shadow-lg hover:shadow-xl", + secondary: + "bg-transparent border-2 border-foreground text-foreground hover:bg-foreground hover:text-background", }; return ( {children} diff --git a/src/sections/FooterSection.tsx b/src/sections/FooterSection.tsx index d5a6b0c..e37753b 100644 --- a/src/sections/FooterSection.tsx +++ b/src/sections/FooterSection.tsx @@ -6,15 +6,15 @@ import { apiClient } from "@/utils/client"; import { socialIcons } from "@/config/app"; const FooterSection = () => { - const [email, setEmail] = useState(''); + const [email, setEmail] = useState(""); const [loading, setLoading] = useState(false); const handleSubmit = async (e: any) => { e.preventDefault(); setLoading(true); try { - await apiClient.subscribeToNewsletter({email}); - setEmail(''); + await apiClient.subscribeToNewsletter({ email }); + setEmail(""); setLoading(false); } catch (error) { console.error(error); @@ -24,51 +24,66 @@ const FooterSection = () => { }; return ( -