import { cookies } from 'next/headers' import Link from 'next/link' import Image from 'next/image' import { getI18n } from '@/i18n/i18n.server' import { Locales } from './Locales' import { SwitchTheme } from './SwitchTheme' export interface HeaderProps { showLocale?: boolean } export const Header: React.FC = (props) => { const { showLocale = false } = props const cookiesStore = cookies() const i18n = getI18n() return (
Théo LUDWIG Théo LUDWIG
Blog
{showLocale ? ( ) : null}
) }