"use client"; import Image from "next/image"; import type { ReactNode } from "react"; import JokerLogo from "./JokerLogo"; import ServiceButton from "./ServiceButton"; import ContributionHeatmap from "./ContributionHeatmap"; import Clock from "./Clock"; import { useTheme } from "./useTheme"; import { useColorScheme } from "./useColorScheme"; import { socials, codingProjects, techProjects, friends } from "../data"; const NAV = [ { id: "overview", label: "Overview" }, { id: "services", label: "Services" }, { id: "activity", label: "Activity" }, { id: "projects", label: "Projects" }, { id: "hardware", label: "Hardware" }, { id: "friends", label: "Friends" }, ]; function Section({ id, eyebrow, title, children, className, }: { id?: string; eyebrow: string; title: string; children: ReactNode; className?: string; }) { return (
{eyebrow}

{title}

{children}
); } function Socials() { return (
{socials.map((s) => ( {s.name} {s.name} ))}
); } function Services() { return (
); } function Gym() { const lifts = [ { icon: "squat", label: "SQUAT", weight: "125kg", date: "5.1.2025" }, { icon: "bench", label: "BENCH", weight: "111kg", date: "29.5.2026" }, { icon: "deadlift", label: "DEADLIFT", weight: "165kg", date: "17.12.2024" }, ]; return (
{lifts.map((l) => (
))}
); } function FeatureShot({ src, alt, width, height, }: { src: string; alt: string; width: number; height: number; }) { return (
{alt}
); } export default function WebLayout() { const { toggle } = useTheme(); const { scheme, toggle: toggleScheme } = useColorScheme(); const dark = scheme === "dark"; return ( <>