This commit is contained in:
Harun CAN
2026-01-30 03:41:20 +03:00
parent d1e10b8b68
commit b662a88a65
16 changed files with 727 additions and 14 deletions

View File

@@ -1,14 +1,28 @@
import { getTranslations } from "next-intl/server";
import HomeCard from "@/components/site/home/home-card";
import { Container, VStack, Heading, Text, Box } from '@chakra-ui/react';
import { GameCalendar } from '@/components/features/calendar/game-calendar';
import { MOCK_EVENTS, MOCK_GAMES } from '@/lib/api/mock-data';
import { ThemeSwitcher } from '@/components/features/theme-switcher';
import { useTranslations } from 'next-intl';
export async function generateMetadata() {
const t = await getTranslations();
export default function HomePage() {
// Static for now, in future useTranslations
// const t = useTranslations('dashboard');
return {
title: `${t("home")} | FCS`,
};
}
export default function Home() {
return <HomeCard />;
return (
<Container maxW="8xl" py={8} position="relative" minH="100vh">
<VStack spaceY={8} align="stretch">
{/* Hero Section / GOTY Banner could go here */}
<Box>
<Heading size="3xl" mb={2} color="white">Game Calendar</Heading>
<Text fontSize="lg" color="whiteAlpha.800">Track releases, events, and showcases in one place.</Text>
</Box>
{/* Calendar */}
<GameCalendar games={MOCK_GAMES} events={MOCK_EVENTS} />
</VStack>
{/* Debug Switcher */}
<ThemeSwitcher />
</Container>
);
}