Portfolio website written with Next.js
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wychdev-nextjs/components/footer.tsx

46 lines
986 B

import styled from 'styled-components'
import Link from "next/link"
const Footer = styled.footer`
2 years ago
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
border-top: var(--border-size) var(--border-type) var(--border-color);
margin-top: auto;
padding: 1.2rem;
color: var(--fg-faded);
`
const UList = styled.ul`
display: flex;
flex-direction: row;
list-style: none;
gap: 2rem;
`
const Spacer = styled.div`
flex: 1;
`
export default () => {
return (
<>
<Spacer />
<Footer>
<p>Copyright &copy; {new Date().getFullYear()} Elias Almqvist</p>
<UList>
<li><a href="#">{"<Back to top>"}</a></li>
<li><Link href="/">{"<Go back home>"}</Link></li>
</UList>
<p>Source Code</p>
<UList>
<li><a href="https://github.com/E-Almqvist/wychdev-nextjs" target="_blank">GitHub</a></li>
<li><a href="https://git.wych.dev/wychdev-nextjs.git" target="_blank">WychGit</a></li>
</UList>
</Footer>
</>
)
}