Skip to content

Commit

Permalink
add footer
Browse files Browse the repository at this point in the history
  • Loading branch information
lozog committed Feb 14, 2022
1 parent 77f204b commit fcba88a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/components/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ export const Layout = ({ pageTitle, children }: Props) => {
<main>
{children}
</main>
<S.Footer>
&#169;2022 Liam Ozog
</S.Footer>
</S.Container>
</>
)
Expand Down
8 changes: 7 additions & 1 deletion src/components/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const Container = styled.div`
}
`;

export const Header = styled.div`
export const Header = styled.header`
margin: ${dims.appMargin} 0;
`;

Expand Down Expand Up @@ -67,3 +67,9 @@ export const IconContainer = styled.div`
}
}
`;

export const Footer = styled.footer`
font-size: 12px;
margin-top: auto;
padding: 20px 0 10px;
`;

0 comments on commit fcba88a

Please sign in to comment.