Skip to content

Commit

Permalink
💡 (#180) Criando navbar para o contact
Browse files Browse the repository at this point in the history
  • Loading branch information
julisous committed Nov 1, 2023
1 parent 43b0855 commit 76c6e4e
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 2 deletions.
25 changes: 25 additions & 0 deletions src/components/navbar/NavbarContact.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import React from "react";
import "../../style/components/navbarContact.css";
import logo from "../../assets/logo 3.svg";

const NavbarContact = () => {
return (
<div className="container-navbar-contact">
<img alt="" src={logo}></img>

<div className="button-navbar-contact">
<button className="home-navbar-contact">
<a href="http://localhost:3000/">Home</a>
</button>
<button className="aboutUs-navbar-contact">
<a href="http://localhost:3000/quemsomos">Quem Somos</a>
</button>
<button className="contact-navbar-contact">
{" "}
<a href="http://localhost:3000/contato">Contato</a>
</button>
</div>
</div>
);
};
export default NavbarContact;
4 changes: 2 additions & 2 deletions src/pages/Contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import "../style/pages/contact.css";
import Imagem_Homen from "../assets/imagem-homen-ruivo.svg";
import Input from "../components/Input";
import emailjs from "@emailjs/browser";
import NavbarSimple from "../components/navbar/NavbarSimple";
import NavbarContact from "../components/navbar/NavbarContact";

export default function Contact() {
const [nome, setNome] = useState("");
Expand Down Expand Up @@ -44,7 +44,7 @@ export default function Contact() {

return (
<>
<NavbarSimple />
<NavbarContact />
<div className="Main-page-contact">
<h1>Contato</h1>
<div className="Contact-principal">
Expand Down
32 changes: 32 additions & 0 deletions src/style/components/navbarContact.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
.container-navbar-contact {
width: 100%;
background-color: #ffff;
height: 7vh;
box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
margin-bottom: 5rem;
display: flex;
}

.container-navbar-contact img {
width: 18vw;
height: 7vh;
}

.button-navbar-contact button {
background-color: #ffff;
color: #003366;
border: none;
font-size: 18px;
padding-right: 75px;
cursor: pointer;
margin-top: 1.5rem;
}
.button-navbar-contact a {
text-decoration: none;
color: #003366;
}
.button-navbar-contact:hover {
background-color: #ffff;
color: #006633;
cursor: pointer;
}
5 changes: 5 additions & 0 deletions src/style/components/navbarSimple.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@
text-decoration: none;
color: #003366;
}

.login-navbar-simple a {
text-decoration: none;
color: #003366;
}
.button-login-navbar-simple :hover {
background-color: #003366;
color: #ffff;
Expand Down

0 comments on commit 76c6e4e

Please sign in to comment.