Merge version_2 into main #7

Merged
bender merged 1 commits from version_2 into main 2026-03-05 17:28:02 +00:00

View File

@@ -49,10 +49,11 @@ export default function LandingPage() {
}, []);
useEffect(() => {
if (mounted) return;
const theme = localStorage.getItem('theme') || 'light';
applyTheme(theme);
setMounted(true);
}, [applyTheme]);
}, []);
const toggleTheme = () => {
const newTheme = isDark ? 'light' : 'dark';
@@ -148,7 +149,7 @@ export default function LandingPage() {
}
]}
title="Set Your Goals"
description="Choose how far you want to go. Whether it's 30 days, 100 days, or a lifetime—define your milestone and watch yourself soar toward it."
description="Choose how far you want to go. Whether it is 30 days, 100 days, or a lifetime—define your milestone and watch yourself soar toward it."
tag="Your Target"
textboxLayout="default"
useInvertedBackground={true}
@@ -169,19 +170,19 @@ export default function LandingPage() {
icon: MessageSquare
},
{
id: "3", name: "James", handle: "@freedomfound", testimonial: "Setting my goal to 365 days was pivotal. It gave me direction and purpose. Now I'm beyond that and still going strong.", rating: 5,
id: "3", name: "James", handle: "@freedomfound", testimonial: "Setting my goal to 365 days was pivotal. It gave me direction and purpose. Now I am beyond that and still going strong.", rating: 5,
icon: MessageSquare
},
{
id: "4", name: "Elena", handle: "@newbeginning", testimonial: "The infinite counter represents infinite hope. There's no end to recovery—just endless possibilities for a beautiful life ahead.", rating: 5,
id: "4", name: "Elena", handle: "@newbeginning", testimonial: "The infinite counter represents infinite hope. There is no end to recovery—just endless possibilities for a beautiful life ahead.", rating: 5,
icon: MessageSquare
},
{
id: "5", name: "David", handle: "@journeywithin", testimonial: "This tool is more than a counter. It's a companion, a reminder, and a symbol of your commitment to yourself every single day.", rating: 5,
id: "5", name: "David", handle: "@journeywithin", testimonial: "This tool is more than a counter. It is a companion, a reminder, and a symbol of your commitment to yourself every single day.", rating: 5,
icon: MessageSquare
},
{
id: "6", name: "Priya", handle: "@strongertogether", testimonial: "I've tried many apps, but this one feels different. The luxury design reminds me that my recovery is worth investing in.", rating: 5,
id: "6", name: "Priya", handle: "@strongertogether", testimonial: "I have tried many apps, but this one feels different. The luxury design reminds me that my recovery is worth investing in.", rating: 5,
icon: MessageSquare
}
]}
@@ -227,7 +228,7 @@ export default function LandingPage() {
tag="Your Recovery Starts Here"
tagIcon={Zap}
title="Begin Your Journey Today"
description="This isn't just an app—it's your companion in recovery. Track your progress, set your goals, and remember: you are stronger than your struggles. Your future is waiting."
description="This is not just an app—it is your companion in recovery. Track your progress, set your goals, and remember: you are stronger than your struggles. Your future is waiting."
buttons={[
{ text: "Start Tracking Now", href: "counter" },
{ text: "Read More Stories", href: "motivation" }