diff --git a/src/app/profile/page.tsx b/src/app/profile/page.tsx new file mode 100644 index 0000000..114ac1f --- /dev/null +++ b/src/app/profile/page.tsx @@ -0,0 +1,190 @@ +import { Trophy, Timer, Zap, Target, Calendar, TrendingUp, Award } from "lucide-react"; +import StatCard from "@/components/app/StatCard"; + +const Profile = () => { + const user = { + username: "speedmaster_x", + joinDate: "Jan 2024", + rank: 1, + totalRuns: 2341, + pb: "2:34.21", + cleanRuns: 892, + avgTime: "3:12.45", + favoriteCategory: "Any%", + }; + + const recentRuns = [ + { id: 1, category: "Any%", time: "2:38.54", date: "2 hours ago", status: "clean" }, + { id: 2, category: "Any%", time: "2:45.12", date: "3 hours ago", status: "clean" }, + { id: 3, category: "Easy Only", time: "1:23.45", date: "5 hours ago", status: "clean" }, + { id: 4, category: "Any%", time: "--:--", date: "5 hours ago", status: "reset" }, + { id: 5, category: "Any%", time: "2:51.33", date: "Yesterday", status: "clean" }, + { id: 6, category: "No DP", time: "3:45.67", date: "Yesterday", status: "clean" }, + ]; + + const achievements = [ + { name: "First Blood", description: "Complete your first run", icon: Zap, unlocked: true }, + { name: "Sub-3 Club", description: "Finish a run under 3 minutes", icon: Timer, unlocked: true }, + { name: "World Record", description: "Hold a world record", icon: Trophy, unlocked: true }, + { name: "Century", description: "Complete 100 runs", icon: Target, unlocked: true }, + { name: "Perfectionist", description: "100 clean runs", icon: Award, unlocked: false }, + { name: "Marathon", description: "10 hours of running", icon: Calendar, unlocked: true }, + ]; + + return ( +
Runner since {user.joinDate}
+{user.pb}
+Personal Best
+{run.category}
+{run.date}
++ {run.time} +
+{run.status}
++ {achievement.name} +
+{achievement.description}
+