style(front-end): add proper title to the dashboard and server pages

main
Josue 3 years ago
parent c53b1f8490
commit 9f47f7c45e
  1. 4
      striker-ui/pages/index.tsx
  2. 4
      striker-ui/pages/server/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 (
<>
<Head>
<title>Dashboard</title>
</Head>
<AnvilProvider>
<Header />
{data?.anvils &&

@ -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 (
<>
<Head>
<title>{server_name}</title>
</Head>
<Header />
{typeof uuid === 'string' &&
(previewMode ? (

Loading…
Cancel
Save