diff --git a/.env.example b/.env.example index 461a930..252114d 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,6 @@ -# general +# browser NEXT_PUBLIC_API_URL=http://localhost:3000 +NEXT_PUBLIC_SERVER_NAME="shibaac" DATABASE_URL="mysql://root:secret@localhost:3306/shibaac" diff --git a/src/layout/Head.tsx b/src/layout/Head.tsx index 089804d..f47b796 100644 --- a/src/layout/Head.tsx +++ b/src/layout/Head.tsx @@ -1,5 +1,4 @@ import React from "react"; - import NextHead from "next/head"; import { NextSeo } from "next-seo"; @@ -8,7 +7,7 @@ export interface HeadProps { description?: string; } -const Head = ({ title = "shibaac", description = "Automatic Account Creator" }: HeadProps) => { +const Head = ({ title, description = "Automatic Account Creator" }: HeadProps) => { return ( <> @@ -17,7 +16,7 @@ const Head = ({ title = "shibaac", description = "Automatic Account Creator" }: { const status = trpc.status.status.useQuery().data; @@ -9,14 +10,17 @@ export const TopBar = () => { - - - {status?.onlineCount ?? "..."} - - - players online - - + + + + {status?.onlineCount ?? "..."} + + + players online + + + + diff --git a/src/layout/index.tsx b/src/layout/index.tsx index 12e6bfa..aefb704 100644 --- a/src/layout/index.tsx +++ b/src/layout/index.tsx @@ -10,7 +10,7 @@ const Layout = ({ children }: PropsWithChildren) => { return ( <> - + shibaac