Place dark mode switch in top right with icons, Fix footer dark mode color

This commit is contained in:
Xevion
2022-12-18 02:52:44 -06:00
parent 097cf4a111
commit a638b15089
4 changed files with 26 additions and 11 deletions

View File

@@ -10,12 +10,13 @@ interface PageProps {
const Page: FunctionComponent<PageProps> = ({children}: PageProps) => {
return (
<>
<main className="flex w-full flex-col items-center bg-white dark:bg-zinc-900">
<main className="flex w-full flex-col items-center bg-white dark:bg-zinc-900 text-gray-700 dark:text-gray-300">
<DarkModeSwitch className="absolute top-5 right-5" />
<div className="mt-8 px-3 max-w-screen-md w-[90%]">
<h1 className="text-3xl font-rokkitt text-zinc-800 dark:text-zinc-100 sm:text-5xl mb-2">
<Link href={"/"}>100Prisoners.com</Link>
</h1>
<DarkModeSwitch />
{children}
<div className="flex flex-col items-center">
<div className="grid py-1 grid-cols-1 gap-x-1 whitespace-nowrap divide-x-2">