Updated cookies
This commit is contained in:
@@ -4,7 +4,7 @@ export default function RootLayout({ children }: LayoutProps<"/">) {
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
<div>
|
||||
<div className="pt-header">
|
||||
{children}
|
||||
</div>
|
||||
</>
|
||||
|
||||
13
src/app/(main)/settings/page.tsx
Normal file
13
src/app/(main)/settings/page.tsx
Normal 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>
|
||||
)
|
||||
}
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user