adding new title and favicon

This commit is contained in:
joseCorte-exe 2022-05-18 16:21:58 -03:00
parent 90c9aaa295
commit 2e6b1902e2
6 changed files with 8 additions and 3 deletions

BIN
public/assets/logose.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@ -42,6 +42,7 @@ function MyApp({ Component, pageProps }: AppProps) {
return ( return (
<AppView> <AppView>
<Head> <Head>
<link rel="icon" type="imagem/png" href="/assets/logose.png" />
<meta name="viewport" content="viewport-fit=cover" /> <meta name="viewport" content="viewport-fit=cover" />
</Head> </Head>
<Home /> <Home />

View File

@ -37,6 +37,7 @@ export default class MyDocument extends Document {
return ( return (
<Html> <Html>
<Head> <Head>
<link rel="preconnect" href="https://fonts.googleapis.com"/> <link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin='true' /> <link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin='true' />
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap" rel="stylesheet"/> <link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap" rel="stylesheet"/>

View File

@ -39,11 +39,10 @@ export default function ForgotPassword() {
} }
}, [password]) }, [password])
return ( return (
<ForgotPasswordView auth={rota} > <ForgotPasswordView auth={rota} >
<Head> <Head>
<title>Smart Energia - Esqueceu a Senha</title> <title>Smart Energia</title>
</Head> </Head>
<Image src='/assets/marca1.svg' width={350} height={350} /> <Image src='/assets/marca1.svg' width={350} height={350} />
<ForgotPasswordContainer> <ForgotPasswordContainer>

View File

@ -45,7 +45,7 @@ export default function Home() {
return ( return (
<LoginView auth={rota} > <LoginView auth={rota} >
<Head> <Head>
<title>Smart Energia - Login</title> <title>Smart Energia</title>
</Head> </Head>
<Image src='/assets/marca1.svg' width={350} height={350} /> <Image src='/assets/marca1.svg' width={350} height={350} />
<LoginContainer> <LoginContainer>

View File

@ -16,6 +16,7 @@ import LineChart from '../../components/graph/LineChart';
import { LineBarChart } from '../../components/graph/LineBarChart'; import { LineBarChart } from '../../components/graph/LineBarChart';
import { EconomiaAcumulada } from '../../services/economiaAcumulada'; import { EconomiaAcumulada } from '../../services/economiaAcumulada';
import { EvolucaoPld } from '../../services/evolucaoPld'; import { EvolucaoPld } from '../../services/evolucaoPld';
import Head from 'next/head';
export default function region() { export default function region() {
const router = useRouter() const router = useRouter()
@ -36,6 +37,9 @@ export default function region() {
<main style={{ <main style={{
width: '100%', width: '100%',
}}> }}>
<Head>
<title>Smart Energia - PLD</title>
</Head>
<Header name='' /> <Header name='' />
<RenderIf isTrue={page==='table'? true : false}> <RenderIf isTrue={page==='table'? true : false}>
<Link href='/dashboard' >{'< voltar para visão geral'}</Link> <Link href='/dashboard' >{'< voltar para visão geral'}</Link>