You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
968 B
JavaScript

import Link from "next/link"
import {DateTime} from 'luxon'
import React from "react"
5 years ago
import useIsAdminPage from '~/hooks/useIsAdminPage'
import styles from './style.module.css'
5 years ago
const Footer = () => {
const isAdminPage = useIsAdminPage()
if(isAdminPage)
return null
return (
<footer className={styles.container}>
<div>
<h1 className={styles.title}>
<Link href="/"><a>Society <span>of</span> Socks</a></Link>
</h1>
<div className={styles.footerInfo}>
<p>© 2015 - {DateTime.utc().year} Society of Socks</p>
</div>
<ul className={styles.footerNav}>
<li><a href="http://eepurl.com/clkzNP" target="_blank">Mailing List</a></li>
5 years ago
<li><Link href="/contact"><a>Contact Us</a></Link></li>
<li><Link href="/privacy"><a>Privacy</a></Link></li>
</ul>
</div>
5 years ago
</footer>
)
}
Footer.propTypes = {
}
Footer.defaultProps = {
}
export default Footer