import Link from 'next/link' import GitHub from './GitHub' import { LineChart } from './LineChart' import ThemeSwitcher from './ThemeSwitcher' type HeaderProps = { name: string darkMode: boolean setDarkMode: (state: boolean) => void } export default function Header({ name, darkMode, setDarkMode }: HeaderProps) { return (

{name}

) }