| 1 | import LocaleSelector from "@/components/locale-selector"; |
| 2 | import Image from "next/image |
| 3 | import Link from "next/link |
| 4 | |
| 5 | export default function RootLayout |
| 6 | children, |
| 7 | }: { |
| 8 | children: React |
| 9 | }) { |
| 10 | return ( |
| 11 | <> |
| 12 | <div className="content-center items-center flex flex-none flex-col flex-nowrap gap-2.5 h-min justify-center overflow-visible relative w-full px-4 py-0 |
| 13 | <div className="container max-w-[600px] flex flex-row justify-between items-center |
| 14 | <div className="flex flex-row |
| 15 | <Link href=" |
| 16 | <Image |
| 17 | src="https://github.com/phantomknight287.png" |
| 18 | alt="PhantomKnigh287" |
| 19 | width={44} |
| 20 | height={44} |
| 21 | className="rounded-md" |
| 22 | quality={100} |
| 23 | /> |
| 24 | </Link> |
| 25 | <div className="flex flex-col ml-2 |
| 26 | <h1 className="text-base font-bold text-white |
| 27 | <span className="text-sm text-gray-400 |
| 28 | </div> |
| 29 | </div> |
| 30 | <LocaleSelector /> |
| 31 | </div> |
| 32 | </div> |
| 33 | {children} |
| 34 | </> |
| 35 | ); |
| 36 | } |