smooth scrolling

This commit is contained in:
2023-09-01 23:01:43 +02:00
parent 5b0ba8c286
commit 7fc4304e87
6 changed files with 23 additions and 7 deletions
+5 -1
View File
@@ -1,16 +1,20 @@
import { styled } from 'styled-components';
export const StyledNavbar = styled.nav`
position: sticky;
top: 0;
display: flex;
justify-content: space-between;
align-items: center;
height: 3.5em;
color: white;
background-color: ${({ theme }) => theme.colors.nav};
padding: 0.75em 2em;
`;
export const StyledNavlinkBrand = styled.div`
export const StyledNavlinkBrand = styled.a`
opacity: 0.85;
font-weight: 700;
color: ${({ theme }) => theme.colors.primary};