Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // src/styles/components/navbar.styles.js
- import styled from "styled-components";
- import {Link} from "react-router-dom";
- export const NavContainer = styled.div`
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: row;
- margin-left: auto;
- margin-right: auto;
- padding: 10px;
- border-bottom: 1px solid #08A0FB;
- border-radius: 10px;
- `;
- export const LinksContainer = styled(NavContainer)`
- justify-content: space-evenly;
- width: 70%;
- border: none;
- `;
- export const ImageContainer = styled(NavContainer)`
- flex-direction: column;
- width: 30%;
- border: none;
- `;
- export const NavLink = styled(Link)`
- @import url('https://fonts.googleapis.com/css2?family=Macondo&display=swap');
- color: darkgray;
- text-decoration: none;
- font-size: 1rem;
- font-weight: bold;
- font-family: 'Macondo', cursive;
- &:hover {
- text-decoration: underline;
- font-style: italic;
- }
- `;
- export const Image = styled.img`
- width: 150px;
- height: 150px;
- `;
Advertisement
Add Comment
Please, Sign In to add comment