add header, adjust ui

This commit is contained in:
Gabe Farrell 2025-12-31 17:53:00 -05:00
parent 442221327d
commit 9b7e68487d
4 changed files with 9 additions and 4 deletions

View file

@ -12,5 +12,10 @@ export default function RewindPage() {
useEffect(() => {
getRewindStats({ year: 2025 }).then((r) => setStats(r));
}, []);
return <>{stats !== undefined && <Rewind stats={stats} />}</>;
return (
<div className="flex flex-col items-start">
<h2 className="mt-12">Your 2025 Rewind</h2>
{stats !== undefined && <Rewind stats={stats} />}
</div>
);
}