2020-07-08 01:30:27 +02:00
|
|
|
import React, { ReactElement } from 'react'
|
2019-10-20 01:40:55 +02:00
|
|
|
import ThemeSwitch from './ThemeSwitch'
|
|
|
|
import styles from './Footer.module.css'
|
|
|
|
|
2020-07-08 01:30:27 +02:00
|
|
|
export default function Footer(): ReactElement {
|
2019-10-20 01:40:55 +02:00
|
|
|
const year = new Date().getFullYear()
|
|
|
|
|
|
|
|
return (
|
|
|
|
<footer className={styles.footer}>
|
|
|
|
<ThemeSwitch />
|
|
|
|
<div>
|
|
|
|
© <span id="year">{year}</span>{' '}
|
|
|
|
<a href="https://matthiaskretschmann.com">Matthias Kretschmann</a> — All
|
|
|
|
Rights Reserved
|
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
)
|
|
|
|
}
|