This repository has been archived on 2024-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
Théo LUDWIG 33b57bf173
All checks were successful
Chromatic / chromatic (push) Successful in 4m47s
CI / ci (push) Successful in 3m50s
CI / commitlint (push) Successful in 18s
Release / release (push) Successful in 1m0s
refactor: components struture
2024-07-31 15:46:01 +02:00

16 lines
486 B
TypeScript

"use client"
import { Locales } from "./Locales"
import { SwitchTheme } from "./SwitchTheme"
export const Header: React.FC = () => {
return (
<header className="bg-background dark:bg-background-dark border-gray-darker dark:border-gray-darker-dark sticky top-0 z-50 flex flex-col items-center justify-center gap-4 border-b-2 px-4 py-2">
<div className="flex w-full items-center justify-between">
<Locales />
<SwitchTheme />
</div>
</header>
)
}