Updated cookies

This commit is contained in:
2025-09-16 14:12:42 +02:00
parent 2867ed1ca7
commit 951d278562
5 changed files with 55 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ export default function RootLayout({ children }: LayoutProps<"/">) {
return (
<>
<Header />
<div>
<div className="pt-header">
{children}
</div>
</>

View File

@@ -0,0 +1,13 @@
import ClearCookiesButton from "@/components/clear-cookies"
export default function SettingsPage() {
return (
<div className="p-8 space-y-4">
<div>
<h2 className="text-2xl font-bold">Cookies</h2>
<p>The site stores cookies to save prefrences. If you wish to delete these cookies use the bottom bellow.</p>
</div>
<ClearCookiesButton />
</div>
)
}

View File

@@ -78,7 +78,7 @@ async function SuspendedPage({ params }: Pick<PageProps<"/player/[ign]">, "param
const { data: layout } = schema.safeParse(JSON.parse(c.get(COOKIE_VALUES.statsOrder)?.value ?? "null"))
return (
<div className="flex flex-col items-center pt-20 pb-5">
<div className="flex flex-col items-center pb-5 pt-15">
<DisplayName
ign={player.displayname}
uuid={player.uuid}