From 9f47f7c45ed4aa59fbd5dccce9cd7c218a00dd3c Mon Sep 17 00:00:00 2001 From: Josue Date: Tue, 20 Jul 2021 15:47:58 -0400 Subject: [PATCH] style(front-end): add proper title to the dashboard and server pages --- striker-ui/pages/index.tsx | 4 ++++ striker-ui/pages/server/index.tsx | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/striker-ui/pages/index.tsx b/striker-ui/pages/index.tsx index c30a1a3a..e7e69f9a 100644 --- a/striker-ui/pages/index.tsx +++ b/striker-ui/pages/index.tsx @@ -1,3 +1,4 @@ +import Head from 'next/head'; import { Box } from '@material-ui/core'; import { makeStyles } from '@material-ui/core/styles'; @@ -53,6 +54,9 @@ const Home = (): JSX.Element => { return ( <> + + Dashboard +
{data?.anvils && diff --git a/striker-ui/pages/server/index.tsx b/striker-ui/pages/server/index.tsx index 01f413b2..a95ac5ea 100644 --- a/striker-ui/pages/server/index.tsx +++ b/striker-ui/pages/server/index.tsx @@ -1,5 +1,6 @@ import { useState } from 'react'; import { useRouter } from 'next/router'; +import Head from 'next/head'; import { Box } from '@material-ui/core'; import { makeStyles } from '@material-ui/core/styles'; @@ -37,6 +38,9 @@ const Server = (): JSX.Element => { return ( <> + + {server_name} +
{typeof uuid === 'string' && (previewMode ? (