mirror of
https://github.com/Xevion/100prisoners.git
synced 2025-12-18 00:11:12 -06:00
Place dark mode switch in top right with icons, Fix footer dark mode color
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user