diff --git a/frontend/app/page.tsx b/frontend/app/page.tsx index 50513fb..c7aabec 100644 --- a/frontend/app/page.tsx +++ b/frontend/app/page.tsx @@ -1,7 +1,7 @@ import { ActivityFeed } from "@/components/feed/activity-feed" import { XPLeaderboard } from "@/components/gamification/xp-leaderboard" import { Button } from "@/components/ui/button" -import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card" +import { Card, CardContent } from "@/components/ui/card" import Link from "next/link" import { Trophy, Music, MapPin, Calendar, ChevronRight, Star, Youtube, Route } from "lucide-react" import { getApiUrl } from "@/lib/api-config" @@ -60,20 +60,7 @@ async function getTopSongs(): Promise { } } -async function getStats() { - try { - const [showsRes, songsRes, venuesRes] = await Promise.all([ - fetch(`${getApiUrl()}/shows?limit=1`, { cache: 'no-store' }), - fetch(`${getApiUrl()}/songs?limit=1`, { cache: 'no-store' }), - fetch(`${getApiUrl()}/venues?limit=1`, { cache: 'no-store' }) - ]) - // These endpoints return arrays, we need to get counts differently - // For now we'll just show the data we have - return { shows: 0, songs: 0, venues: 0 } - } catch (e) { - return { shows: 0, songs: 0, venues: 0 } - } -} + export default async function Home() { const [recentShows, topSongs] = await Promise.all([ diff --git a/frontend/components/layout/footer.tsx b/frontend/components/layout/footer.tsx index da36ac8..44d36b8 100644 --- a/frontend/components/layout/footer.tsx +++ b/frontend/components/layout/footer.tsx @@ -57,11 +57,11 @@ export function Footer() { {/* System Links */} -