Добавлены стили emotion

This commit is contained in:
grinikita
2024-12-01 14:47:53 +03:00
parent a6b7b7cd08
commit 5d2dc9f7c5
11 changed files with 441 additions and 86 deletions
@@ -0,0 +1,22 @@
import styled from '@emotion/styled';
import { NavLink as NavLinkBase } from 'react-router-dom';
export const HeaderContainer = styled('header')``;
export const NavContainer = styled.nav`
display: flex;
gap: 24px;
padding: 12px 0;
`;
export const NavItem = styled.div``;
export const NavLink = styled(NavLinkBase)`
text-decoration: none;
color: black;
font-weight: bold;
&.active {
border-bottom: 2px solid black;
}
`;