From a8cf19ba0090f29f51ac1cf7fbc38e7147e9462e Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 15 Apr 2024 09:15:35 +0100 Subject: [PATCH] add per page names --- src/app/player/page.tsx | 5 +++++ src/app/server/page.tsx | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/app/player/page.tsx b/src/app/player/page.tsx index 9f1d6d0..d2866c1 100644 --- a/src/app/player/page.tsx +++ b/src/app/player/page.tsx @@ -1,4 +1,9 @@ import PlayerSearch from "@/components/player-search"; +import { Metadata } from "next"; + +export const metadata: Metadata = { + title: "Lookup Player", +}; export default function Player() { return ( diff --git a/src/app/server/page.tsx b/src/app/server/page.tsx index a572a69..3ca143f 100644 --- a/src/app/server/page.tsx +++ b/src/app/server/page.tsx @@ -1,6 +1,11 @@ import ServerSearch from "@/components/server-search"; +import { Metadata } from "next"; -export default function Player() { +export const metadata: Metadata = { + title: "Lookup Server", +}; + +export default function Server() { return (