This commit is contained in:
parent
2303409ecb
commit
3e10b0108b
@ -3,6 +3,7 @@ import { ssrSettings } from "@/ssrSettings";
|
|||||||
import { Metadata } from "next";
|
import { Metadata } from "next";
|
||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
|
import Script from "next/script";
|
||||||
import "react-toastify/dist/ReactToastify.css";
|
import "react-toastify/dist/ReactToastify.css";
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
|
|
||||||
@ -31,6 +32,13 @@ export default function RootLayout({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
<Script
|
||||||
|
id="plausible"
|
||||||
|
defer
|
||||||
|
data-domain="ssr.fascinated.cc"
|
||||||
|
src="https://analytics.fascinated.cc/js/script.js"
|
||||||
|
/>
|
||||||
|
|
||||||
<body className={font.className}>
|
<body className={font.className}>
|
||||||
<div className="fixed left-0 top-0 z-0 h-full w-full blur-sm">
|
<div className="fixed left-0 top-0 z-0 h-full w-full blur-sm">
|
||||||
<Image
|
<Image
|
||||||
|
@ -127,6 +127,7 @@ export default function PlayerInfo({ playerData }: PlayerInfoProps) {
|
|||||||
<button
|
<button
|
||||||
className="h-fit w-fit rounded-md bg-blue-500 p-1 hover:bg-blue-600"
|
className="h-fit w-fit rounded-md bg-blue-500 p-1 hover:bg-blue-600"
|
||||||
onClick={claimProfile}
|
onClick={claimProfile}
|
||||||
|
aria-label="Set as your Profile"
|
||||||
>
|
>
|
||||||
<HomeIcon title="Set as your Profile" width={24} height={24} />
|
<HomeIcon title="Set as your Profile" width={24} height={24} />
|
||||||
</button>
|
</button>
|
||||||
@ -138,6 +139,7 @@ export default function PlayerInfo({ playerData }: PlayerInfoProps) {
|
|||||||
<button
|
<button
|
||||||
className="rounded-md bg-blue-500 p-1 hover:opacity-80"
|
className="rounded-md bg-blue-500 p-1 hover:opacity-80"
|
||||||
onClick={addFriend}
|
onClick={addFriend}
|
||||||
|
aria-label="Add as Friend"
|
||||||
>
|
>
|
||||||
<UserIcon title="Add as Friend" width={24} height={24} />
|
<UserIcon title="Add as Friend" width={24} height={24} />
|
||||||
</button>
|
</button>
|
||||||
@ -147,6 +149,7 @@ export default function PlayerInfo({ playerData }: PlayerInfoProps) {
|
|||||||
<button
|
<button
|
||||||
className="rounded-md bg-red-500 p-1 hover:opacity-80"
|
className="rounded-md bg-red-500 p-1 hover:opacity-80"
|
||||||
onClick={removeFriend}
|
onClick={removeFriend}
|
||||||
|
aria-label="Remove Friend"
|
||||||
>
|
>
|
||||||
<XMarkIcon title="Remove Friend" width={24} height={24} />
|
<XMarkIcon title="Remove Friend" width={24} height={24} />
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user