Spaces:
Running
Running
File size: 977 Bytes
aedd342 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
import React from "react";
import "./NavBar.css";
import { Link } from "react-scroll";
function NavBar() {
return (
<nav className="navbar">
<div className="navbar-logo">
<img src="./../src/assets/logocesarin.png" alt="logo navbar" />
</div>
<div className="navbar-links">
<Link
activeClass="active"
to="acercade"
spy={true}
smooth={true}
offset={-70}
duration={500}
>
Acerca de
</Link>
<Link
activeClass="active"
to="carta"
spy={true}
smooth={true}
offset={-70}
duration={500}
>
Carta
</Link>
<Link
activeClass="active"
to="contacto"
spy={true}
smooth={true}
offset={-70}
duration={500}
>
Contacto
</Link>
</div>
</nav>
);
}
export default NavBar;
|