"use client";
import { useQuery } from "@tanstack/react-query";
import { AppShell } from "@/components/layout/app-shell";
export default function YearlyPage() {
const year = new Date().getFullYear();
const { data: overview } = useQuery({
queryKey: ["stats", "overview"],
queryFn: async () => {
const res = await fetch("/api/stats/overview");
return res.json();
},
});
const { data: achievements } = useQuery({
queryKey: ["achievements"],
queryFn: async () => {
const res = await fetch("/api/achievements");
return res.json();
},
});
return (
{year}
Another year on the long road. The adventure continues.
Your Year in Adventure