Skip to content

Commit

Permalink
feat: página login
Browse files Browse the repository at this point in the history
  • Loading branch information
nicegrrrl committed Jun 3, 2024
1 parent 872ec41 commit da9b134
Show file tree
Hide file tree
Showing 7 changed files with 159 additions and 16 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<nav class="navBar">
<a href="./index.html">Início</a>
<a href="#">Anunciar</a>
<a href="#">Minha Conta</a>
<a href="./src/pages/login.html">Minha Conta</a>
</nav>
</div>
</header>
Expand Down
99 changes: 99 additions & 0 deletions src/pages/login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../styles/index.css" />
<title>MyRep</title>
</head>
<body>
<div class="mainBox">
<header class="header">
<div class="container headerBox">
<a href="../../index.html"
><span class="my">My</span><span class="rep">Rep</span></a
>
<div class="searchBox">
<input
type="text"
class="input"
placeholder="Busque sua república aqui..."
/>
<img
src="../assets/img/icons/search.png"
alt="lupa"
class="searchIcon"
/>
</div>
<nav class="navBar">
<a href="../../index.html">Início</a>
<a href="#">Anunciar</a>
<a href="#">Minha Conta</a>
</nav>
</div>
</header>
<main class="mainBox center">
<div class="container mediumBox">
<div class="loginBox">
<h1 class="title1 space">Login</h1>
<form class="mediumBox center">
<div class="inputBox">
<label for="email" class="label">Email</label>
<input
type="email"
id="email"
class="input"
placeholder="Digite seu e-mail"
required
/>
</div>
<div class="inputBox">
<label for="password" class="label">Senha</label>
<input
type="password"
id="password"
class="input"
placeholder="Digite sua senha"
required
/>
</div>
<button class="buttonSolid" type="submit">Entrar</button>
<a class="textForm">Ainda não possui uma conta?</a>
<a class="textForm">Faça o cadastro.</a>
</form>
</div>
</div>
</main>
<footer class="footer">
<div class="container footerContainer">
<div class="footerInfo">
<section class="footerLogo">
<div><span class="my">My</span><span class="rep">Rep</span></div>
<p>República de verdade e com pessoas que combinam com você!</p>
</section>
<section class="footerSection">
<h6 class="text1">Novo usuário?</h6>
<a href="">Criar conta</a>
<a href="">Divulgar uma Rep</a>
</section>
<section class="footerSection">
<h6 class="text1">Saiba mais</h6>
<a href="">Sobre nós</a>
<a href="">Privacidade</a>
<a href="">Termos e condições</a>
</section>
<section class="footerSection">
<h6 class="text1">Contatos</h6>
<a href="mailto:[email protected]?">[email protected]</a>
<p>(31) 99999-0000</p>
<p>Belo Horizonte, Minas Gerais</p>
</section>
</div>
<p class="footerCopyright">
MyRep 2024 - Todos os direitos reservados
</p>
</div>
</footer>
</div>
</body>
</html>
42 changes: 42 additions & 0 deletions src/styles/forms.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.inputBox {
display: flex;
flex-direction: column;
gap: 12px;
color: #2e2727;
}

.label {
font-size: 16px;
font-weight: 500;
}

.input {
width: 400px;
height: 45px;
padding: 14px;
background-color: #f4f4f4;
border-radius: 8px;
font-family: "Poppins", sans-serif;
outline: none;
}

.input:focus,
.input:active {
border: 1px solid #0094ff;
}

.loginBox {
width: 100%;
height: 50vh;
display: flex;
flex-direction: column;
gap: 12px;
justify-content: center;
align-items: center;
}

.textForm {
font-size: 14px;
color: #2e2727;
text-align: center;
}
11 changes: 11 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,14 @@ body {
flex-direction: column;
gap: 50px;
}

.mediumBox {
display: flex;
flex-direction: column;
gap: 20px;

&.center {
justify-content: center;
align-items: center;
}
}
15 changes: 0 additions & 15 deletions src/styles/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,6 @@
right: 9px;
}

.input {
width: 400px;
height: 45px;
padding: 14px;
background-color: #f4f4f4;
border-radius: 8px;
font-family: "Poppins", sans-serif;
outline: none;
}

.input:focus,
.input:active {
border: 1px solid #0094ff;
}

.navBar {
display: flex;
gap: 40px;
Expand Down
2 changes: 2 additions & 0 deletions src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
@import url("./sectionTestimonies.css");
@import url("./footer.css");
@import url("./repPage.css");
@import url("./forms.css");

4 changes: 4 additions & 0 deletions src/styles/typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
color: #152c5b;
font-weight: 700;
font-size: 42px;

&.space {
padding-bottom: 50px;
}
}

.title2 {
Expand Down

0 comments on commit da9b134

Please sign in to comment.