The parentheses will group things into
one value. This is useful for separating
values when trying to ensure an order of
@@ -94,7 +100,12 @@ export function CustomizeSortBy(props: {
AVG( X X ... )
-
+
This will average all space-separated
values inside the parentheses. Note that
more than one value is required.
@@ -104,7 +115,12 @@ export function CustomizeSortBy(props: {
SUM( X X ... )
-
+
This will sum all space-separated values
inside the parentheses. Note that more
than one value is required.
@@ -114,7 +130,12 @@ export function CustomizeSortBy(props: {
MULT( X X ... )
-
+
This will multiply all space-separated
values inside the parentheses. Note that
more than one value is required.
@@ -124,7 +145,12 @@ export function CustomizeSortBy(props: {
PHYSICAL
-
+
This will use the value of an armor
piece's Physical Absorption.
@@ -133,7 +159,12 @@ export function CustomizeSortBy(props: {
STRIKE
-
+
This will use the value of an armor
piece's Strike Absorption.
@@ -142,7 +173,12 @@ export function CustomizeSortBy(props: {
SLASH
-
+
This will use the value of an armor
piece's Slash Absorption.
@@ -151,7 +187,12 @@ export function CustomizeSortBy(props: {
PIERCE
-
+
This will use the value of an armor
piece's Pierce Absorption.
@@ -160,7 +201,12 @@ export function CustomizeSortBy(props: {
MAGIC
-
+
This will use the value of an armor
piece's Magic Absorption.
@@ -169,7 +215,12 @@ export function CustomizeSortBy(props: {
FIRE
-
+
This will use the value of an armor
piece's Fire Absorption.
@@ -178,7 +229,12 @@ export function CustomizeSortBy(props: {
LIGHTNING
-
+
This will use the value of an armor
piece's Lightning Absorption.
@@ -187,7 +243,12 @@ export function CustomizeSortBy(props: {
HOLY
-
+
This will use the value of an armor
piece's Holy Absorption.
@@ -196,7 +257,12 @@ export function CustomizeSortBy(props: {
POISON
-
+
This will use the value of the armor
piece's Poison Resistance.
@@ -205,7 +271,12 @@ export function CustomizeSortBy(props: {
SCARLETROT
-
+
This will use the value of the armor
piece's Scarlet Rot Resistance.
@@ -214,7 +285,12 @@ export function CustomizeSortBy(props: {
HEMORRHAGE
-
+
This will use the value of the armor
piece's Hemorrhage Resistance.
@@ -223,7 +299,12 @@ export function CustomizeSortBy(props: {
FROSTBITE
-
+
This will use the value of the armor
piece's Frostbite Resistance.
@@ -232,7 +313,12 @@ export function CustomizeSortBy(props: {
SLEEP
-
+
This will use the value of the armor
piece's Sleep Resistance.
@@ -241,7 +327,12 @@ export function CustomizeSortBy(props: {
MADNESS
-
+
This will use the value of the armor
piece's Madness Resistance.
@@ -250,7 +341,12 @@ export function CustomizeSortBy(props: {
DEATHBLIGHT
-
+
This will use the value of the armor
piece's Death Blight Resistance.
@@ -259,7 +355,12 @@ export function CustomizeSortBy(props: {
POISE
-
+
This will use the value of the armor
piece's Poise.
diff --git a/src/app/globals.css b/src/app/globals.css
index b10b19e..e2c47cd 100644
--- a/src/app/globals.css
+++ b/src/app/globals.css
@@ -34,6 +34,13 @@ html {
}
}
+@font-face {
+ font-family: "Mantinia";
+ src: url("/fonts/Mantinia Regular.otf") format("truetype");
+ font-weight: normal;
+ font-style: normal;
+}
+
/* fix sizing and remove margins and padding */
html {
box-sizing: border-box;
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 2466777..ef51886 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -1,3 +1,4 @@
+import { UserProvider } from "@auth0/nextjs-auth0/client";
import { Analytics } from "@vercel/analytics/react";
import { SpeedInsights } from "@vercel/speed-insights/next";
import type { Metadata, Viewport } from "next";
@@ -19,7 +20,7 @@ export const viewport: Viewport = {
initialScale: 1,
};
-export default function RootLayout({
+export default async function RootLayout({
children,
}: {
children: React.ReactNode;
@@ -31,51 +32,69 @@ export default function RootLayout({
}) || "";
return (
-
-
- {children}
-
-
-
-
-
+
+
+
+ {children}
+
+
+
+
+
+
);
}
diff --git a/src/app/util/components/NavLinks.tsx b/src/app/util/components/NavLinks.tsx
index b4bbe1e..5484662 100644
--- a/src/app/util/components/NavLinks.tsx
+++ b/src/app/util/components/NavLinks.tsx
@@ -1,50 +1,124 @@
"use client";
+import { useUser } from "@auth0/nextjs-auth0/client";
import Link from "next/link";
import { usePathname } from "next/navigation";
export function NavLinks() {
const pathname = usePathname();
+ const { user } = useUser();
return (
-