mekasu0124

Untitled

Jun 11th, 2024
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // src/styles/components/navbar.styles.js
  2. import styled from "styled-components";
  3. import {Link} from "react-router-dom";
  4.  
  5. export const NavContainer = styled.div`
  6.     display: flex;
  7.     justify-content: center;
  8.     align-items: center;
  9.     flex-direction: row;
  10.     margin-left: auto;
  11.     margin-right: auto;
  12.     padding: 10px;
  13.     border-bottom: 1px solid #08A0FB;
  14.     border-radius: 10px;
  15. `;
  16.  
  17. export const LinksContainer = styled(NavContainer)`
  18.     justify-content: space-evenly;
  19.     width: 70%;
  20.     border: none;
  21. `;
  22.  
  23. export const ImageContainer = styled(NavContainer)`
  24.     flex-direction: column;
  25.     width: 30%;
  26.     border: none;
  27. `;
  28.  
  29. export const NavLink = styled(Link)`
  30.     @import url('https://fonts.googleapis.com/css2?family=Macondo&display=swap');
  31.    
  32.     color: darkgray;
  33.     text-decoration: none;
  34.     font-size: 1rem;
  35.     font-weight: bold;
  36.     font-family: 'Macondo', cursive;
  37.    
  38.     &:hover {
  39.         text-decoration: underline;
  40.         font-style: italic;
  41.     }
  42. `;
  43.  
  44. export const Image = styled.img`
  45.     width: 150px;
  46.     height: 150px;
  47. `;
  48.  
Advertisement
Add Comment
Please, Sign In to add comment