-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from DS-FeudoVerdePantano/Api-integration-from-…
…backend Api integration on Homepage
- Loading branch information
Showing
30 changed files
with
1,215 additions
and
404 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
import { useNavigate } from 'react-router-dom' | ||
import brasao from './../../Images/brasaoleao.png'; | ||
import menu from './../../Images/Sanduiche.svg'; | ||
import perfil from './../../Images/Perfil.svg'; | ||
import './style.css'; | ||
|
||
function Navbar(){ | ||
|
||
const redirect = useNavigate() | ||
|
||
return( | ||
<> | ||
<div className="tudaokrl"> | ||
<div className="conteudo"> | ||
<div className="left-box"> | ||
<button type="menu"> <img src={menu} />Menu</button> | ||
</div> | ||
|
||
<div className="brasao"> | ||
<a href="" onClick={() => {redirect('/')}}> | ||
<img src={brasao} alt="logofeudo"/> | ||
</a> | ||
</div> | ||
|
||
<div className="right-box"> | ||
<div className="rb-input"> | ||
<input type="text" placeholder="Pesquisar.." /> | ||
</div> | ||
|
||
<div className="rb-perfil"> | ||
<a href=""> | ||
<img src={perfil} alt="logoperfil"/> | ||
</a> | ||
</div> | ||
|
||
<div className="rb-button"> | ||
<button type="button" onClick={() => {redirect('/login')}} >Login</button> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</> | ||
); | ||
} | ||
|
||
export default Navbar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
.tudaokrl{ | ||
position: relative; | ||
background: #1B1B1B; | ||
height: 65px; | ||
} | ||
|
||
.conteudo{ | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
align-items: center; | ||
|
||
padding-left: 58px; | ||
padding-right: 58px; | ||
} | ||
|
||
.brasao{ | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-around; | ||
} | ||
|
||
.brasao img{ | ||
width: 70px; | ||
} | ||
|
||
.left-box button{ | ||
font-family: Montserrat; | ||
font-style: normal; | ||
font-weight: 500; | ||
font-size: 23px; | ||
|
||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
|
||
cursor: pointer; | ||
|
||
color: #FFFFFF; | ||
padding: 0; | ||
background: none; | ||
border: none; | ||
} | ||
|
||
.left-box img{ | ||
width: 20px; | ||
margin-right: 10px; | ||
} | ||
|
||
.right-box{ | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
} | ||
|
||
.rb-button{ | ||
padding-left: 24px; | ||
} | ||
|
||
.rb-perfil{ | ||
padding-left: 24px; | ||
} | ||
|
||
.rb-perfil img{ | ||
width: 20px; | ||
} | ||
|
||
.right-box input{ | ||
background-image: url(../../Images/Lupinha.svg); | ||
background-position: 0px 0px; | ||
background-repeat: no-repeat; | ||
background-color: #1B1B1B; | ||
color: #1B1B1B; | ||
|
||
width: 0px; | ||
transition: all 0.4s ease-in-out; | ||
height: 0px; | ||
|
||
font-size: 16px; | ||
padding: 15px 15px; | ||
border: none; | ||
} | ||
|
||
.right-box input:focus{ | ||
width: 200px; | ||
color: #FFFFFF; | ||
background-image: none; | ||
transition: all 0.4s ease-in-out; | ||
} | ||
|
||
.right-box button{ | ||
width: 90px; | ||
height: 34.53px; | ||
left: 1282px; | ||
top: 12px; | ||
|
||
cursor: pointer; | ||
|
||
background: #410088; | ||
border-radius: 29px; | ||
border: none; | ||
|
||
font-family: Montserrat; | ||
font-style: normal; | ||
font-weight: normal; | ||
font-size: 20px; | ||
color: #FFFFFF; | ||
} | ||
|
||
.right-box button:hover{ | ||
background: #2B0D5F; | ||
} | ||
|
||
.right-box button:active{ | ||
background: #410088; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
padding: 0; | ||
margin: 0; | ||
box-sizing: border-box; | ||
font-family: 'Montserrat'; | ||
} | ||
|
||
.inputin{ | ||
|
Empty file.
Oops, something went wrong.