From f485196abcf13a32e32d49b5f6e74e765d80bc16 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 25 Mar 2026 22:21:54 +0000 Subject: [PATCH] Update src/app/dashboard/page.tsx --- src/app/dashboard/page.tsx | 193 ++++++++++--------------------------- 1 file changed, 52 insertions(+), 141 deletions(-) diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index ddd82fe..15d1b5c 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -7,7 +7,7 @@ import FeatureCardThree from '@/components/sections/feature/featureCardThree/Fea import FooterBase from '@/components/sections/footer/FooterBase'; import MetricCardTen from '@/components/sections/metrics/MetricCardTen'; import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered'; -import { Gauge, LayoutDashboard, LineChart, Scale } from "lucide-react"; +import { Gauge, LayoutDashboard, LineChart, Scale, Dumbbell, CalendarDays, Library } from "lucide-react"; export default function LandingPage() { return ( @@ -28,44 +28,26 @@ export default function LandingPage() { @@ -77,53 +59,37 @@ export default function LandingPage() { useInvertedBackground={false} features={[ { - id: "1", - title: "Real-time Progress Insights", - description: "Visualize your gains, track key metrics, and stay motivated with dynamic charts and performance reports.", - media: { - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BSIvIThKQcK006fPu1CF1lDCQ8/a-sleek-dark-ui-dashboard-displaying-rea-1774476371465-f4675a84.png?_wi=2", - imageAlt: "Dashboard showing progress tracking", - }, + id: "1", title: "Real-time Progress Insights", description: "Visualize your gains, track key metrics, and stay motivated with dynamic charts and performance reports.", media: { + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BSIvIThKQcK006fPu1CF1lDCQ8/a-sleek-dark-ui-dashboard-displaying-rea-1774476371465-f4675a84.png?_wi=2", imageAlt: "Dashboard showing progress tracking"}, items: [ { icon: LineChart, - text: "Performance Trends", - }, + text: "Performance Trends"}, { icon: Gauge, - text: "Strength Metrics", - }, + text: "Strength Metrics"}, { icon: Scale, - text: "Weight & Body Composition", - }, + text: "Weight & Body Composition"}, ], reverse: false, }, { - id: "2", - title: "Smart Workout Planning", - description: "Access your custom AI-generated workout plans, adjust your schedule, and explore new exercises tailored to your goals.", - media: { - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BSIvIThKQcK006fPu1CF1lDCQ8/an-immersive-3d-workout-environment-rend-1774476371159-45f36be3.png?_wi=2", - imageAlt: "3D workout environment in dashboard", - }, + id: "2", title: "Smart Workout Planning", description: "Access your custom AI-generated workout plans, adjust your schedule, and explore new exercises tailored to your goals.", media: { + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BSIvIThKQcK006fPu1CF1lDCQ8/an-immersive-3d-workout-environment-rend-1774476371159-45f36be3.png?_wi=2", imageAlt: "3D workout environment in dashboard"}, items: [ { icon: Dumbbell, - text: "Custom Workout Routines", - }, + text: "Custom Workout Routines"}, { icon: CalendarDays, - text: "Flexible Scheduling", - }, + text: "Flexible Scheduling"}, { icon: Library, - text: "Vast Exercise Library", - }, + text: "Vast Exercise Library"}, ], reverse: true, - }, + } ]} title="Your Personalized Fitness Hub" description="The FitForge AI Dashboard provides an intuitive overview of your progress, workouts, and nutrition, all in one place." @@ -139,33 +105,13 @@ export default function LandingPage() { useInvertedBackground={true} metrics={[ { - id: "1", - title: "Workouts Completed", - subtitle: "Last 30 days", - category: "Training", - value: "24", - }, + id: "1", title: "Workouts Completed", subtitle: "Last 30 days", category: "Training", value: "24"}, { - id: "2", - title: "Calorie Burn", - subtitle: "Average per session", - category: "Activity", - value: "650 kcal", - }, + id: "2", title: "Calorie Burn", subtitle: "Average per session", category: "Activity", value: "650 kcal"}, { - id: "3", - title: "Strength Gain", - subtitle: "Overall improvement", - category: "Progress", - value: "12%", - }, + id: "3", title: "Strength Gain", subtitle: "Overall improvement", category: "Progress", value: "12%"}, { - id: "4", - title: "Consistency Score", - subtitle: "Weekly average", - category: "Habit", - value: "90%", - }, + id: "4", title: "Consistency Score", subtitle: "Weekly average", category: "Habit", value: "90%"} ]} title="Dashboard Key Performance Indicators" description="At a glance, see how you're performing across crucial fitness metrics and stay on track with your ultimate body goals." @@ -177,28 +123,14 @@ export default function LandingPage() { textboxLayout="default" gridVariant="three-columns-all-equal-width" useInvertedBackground={false} + animationType="slide-up" features={[ { - id: "1", - title: "AI Nutrition Insights", - description: "Get smart recommendations for macro and micro-nutrient intake based on your activity and goals.", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BSIvIThKQcK006fPu1CF1lDCQ8/an-abstract-glowing-ai-holographic-displ-1774476371379-fc4b75ed.png?_wi=2", - imageAlt: "AI nutrition insights", - }, + id: "1", title: "AI Nutrition Insights", description: "Get smart recommendations for macro and micro-nutrient intake based on your activity and goals.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BSIvIThKQcK006fPu1CF1lDCQ8/an-abstract-glowing-ai-holographic-displ-1774476371379-fc4b75ed.png?_wi=2", imageAlt: "AI nutrition insights"}, { - id: "2", - title: "Wearable Sync", - description: "Integrate with your favorite fitness trackers to seamlessly sync data and get a holistic view of your health.", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BSIvIThKQcK006fPu1CF1lDCQ8/a-sleek-dark-ui-dashboard-displaying-rea-1774476371465-f4675a84.png?_wi=3", - imageAlt: "Wearable device integration", - }, + id: "2", title: "Wearable Sync", description: "Integrate with your favorite fitness trackers to seamlessly sync data and get a holistic view of your health.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BSIvIThKQcK006fPu1CF1lDCQ8/a-sleek-dark-ui-dashboard-displaying-rea-1774476371465-f4675a84.png?_wi=3", imageAlt: "Wearable device integration"}, { - id: "3", - title: "Community Challenges", - description: "Participate in engaging challenges with the FitForge AI community, earn badges, and stay motivated.", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BSIvIThKQcK006fPu1CF1lDCQ8/a-glowing-futuristic-trophy-or-badge-ico-1774476371090-bdc17671.png?_wi=1", - imageAlt: "Community challenges", - }, + id: "3", title: "Community Challenges", description: "Participate in engaging challenges with the FitForge AI community, earn badges, and stay motivated.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BSIvIThKQcK006fPu1CF1lDCQ8/a-glowing-futuristic-trophy-or-badge-ico-1774476371090-bdc17671.png?_wi=1", imageAlt: "Community challenges"} ]} title="Unlock Advanced Dashboard Capabilities" description="Beyond the basics, our dashboard offers sophisticated tools to fine-tune your fitness journey." @@ -209,56 +141,35 @@ export default function LandingPage() {