Merge branch 'dev' into 'dashboard'
# Conflicts: # pages/_document.tsx # pages/index.tsx
This commit is contained in:
commit
b4c01c9981
@ -1,9 +1,31 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
import Image from 'next/image';
|
||||||
|
|
||||||
|
import { LoginView} from '../styles/layouts/Login/LoginView';
|
||||||
|
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
return (
|
return (
|
||||||
<main>
|
<LoginView>
|
||||||
<h1>Index.ts</h1>
|
<Image src='/assets/marca1.svg' width={600} height={700}/>
|
||||||
</main>
|
|
||||||
|
|
||||||
|
<section className="container">
|
||||||
|
<h1>Bem-Vindo</h1>
|
||||||
|
<h2>Estratégias Inteligentes em <br/> Gestão de Energia</h2>
|
||||||
|
<input type="text" placeholder='Login'/>
|
||||||
|
<input type="text" placeholder='Senha'/>
|
||||||
|
<span>Esqueceu a senha ?</span>
|
||||||
|
<button>ENTRAR</button>
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<legend>Ou</legend>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<p>+55(41) 3012-5900
|
||||||
|
<br /> www.energiasmart.com.br</p>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
</LoginView>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
3
public/assets/Vector4.svg
Normal file
3
public/assets/Vector4.svg
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<svg width="380" height="1" viewBox="0 0 380 1" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M0.272217 0.564575L379.052 0.564556" stroke="#E1E1E1" stroke-width="0.7"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 187 B |
9
public/assets/marca1.svg
Normal file
9
public/assets/marca1.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 859 KiB |
105
styles/layouts/Login/LoginView.ts
Normal file
105
styles/layouts/Login/LoginView.ts
Normal file
@ -0,0 +1,105 @@
|
|||||||
|
import styled from 'styled-components';
|
||||||
|
|
||||||
|
export const LoginView = styled.main`
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-left: 10rem;
|
||||||
|
|
||||||
|
.container{
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
flex-direction: column;
|
||||||
|
background-color: #F9F9F9;
|
||||||
|
height: 34rem;
|
||||||
|
width: 49rem;
|
||||||
|
margin-left: 10rem;
|
||||||
|
margin-top:4rem;
|
||||||
|
color: #092C4C;
|
||||||
|
text-align: center;
|
||||||
|
border-radius: 4px;
|
||||||
|
|
||||||
|
}
|
||||||
|
h1{
|
||||||
|
margin-bottom:5px;
|
||||||
|
color: #092C4C;
|
||||||
|
}
|
||||||
|
h2{
|
||||||
|
font-weight: 5;
|
||||||
|
font-size: 21px;
|
||||||
|
margin-bottom: 3rem;
|
||||||
|
color: #092C4C;
|
||||||
|
}
|
||||||
|
input{
|
||||||
|
width: 30rem;
|
||||||
|
height: 15rem;
|
||||||
|
border-radius: 5px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
border-style: none;
|
||||||
|
border: solid #D0D0D0 1px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
button{
|
||||||
|
width: 30rem;
|
||||||
|
height: 18rem;
|
||||||
|
background-image: linear-gradient(to right, #254F7F 10%, #888888 100%);
|
||||||
|
color: white;
|
||||||
|
font-size: 15px;
|
||||||
|
border-radius: 5px;
|
||||||
|
border: 0;
|
||||||
|
margin-top: 2.5rem;
|
||||||
|
}
|
||||||
|
input::placeholder {
|
||||||
|
color: #ABB3BB;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
span{
|
||||||
|
margin-left: 23rem;
|
||||||
|
font-size: 12px;
|
||||||
|
color: #254F7F;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
p{
|
||||||
|
color:#8B8B8B;
|
||||||
|
font-size: 12px;
|
||||||
|
margin-bottom: 22px;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
fieldset {
|
||||||
|
border-top: 0.7px solid #E1E1E1;
|
||||||
|
border-bottom: none;
|
||||||
|
border-left: none;
|
||||||
|
border-right: none;
|
||||||
|
display: block;
|
||||||
|
text-align: center;
|
||||||
|
width: 30rem;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
fieldset legend {
|
||||||
|
padding: 19px 56px;
|
||||||
|
color: #ABB3BB;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
img{
|
||||||
|
/* background-color: black; */
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@media (max-width: 1150px) {
|
||||||
|
img{visibility:hidden }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
`;
|
||||||
Loading…
x
Reference in New Issue
Block a user