From 0790f7973ad32e3f4115fbb675d14a1f8af59f87 Mon Sep 17 00:00:00 2001 From: Alex Santos Date: Tue, 10 May 2022 15:18:39 -0300 Subject: [PATCH] login --- pages/index.tsx | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index 100e637..aafc9f7 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,32 +1,50 @@ import React, { useState, useEffect } from 'react' +import {AiOutlineEyeInvisible, AiOutlineEye} from 'react-icons/ai'; import Image from 'next/image'; import Link from 'next/link'; import { useRouter } from 'next/router' + + import { LoginView} from '../styles/layouts/login/LoginView'; import { truncateSync } from 'fs'; interface HomeInterface { auth: any + } + + export default function Home({ auth }: HomeInterface) { + const [state, setstate]=useState(false); + const toggleBtn = ()=> { + setstate(prevState => !prevState); + } + const router = useRouter() const rota = router.pathname return ( - +

Bem-Vindo

-

Estratégias Inteligentes em Gestão de Energia

+

Estratégias Inteligentes em
Gestão de Energia

- + + + + Esqueceu a senha ? - +
@@ -40,3 +58,5 @@ export default function Home({ auth }: HomeInterface) { ) } + +