mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-16 20:05:31 -04:00
consistent use of arrow functions/default exports
This commit is contained in:
@@ -4,42 +4,42 @@ import * as config from "../../lib/config";
|
||||
|
||||
import styles from "./Footer.module.scss";
|
||||
|
||||
export default function Footer() {
|
||||
return (
|
||||
<footer className={styles.footer}>
|
||||
<div className={styles.row}>
|
||||
<div className={styles.copyright}>
|
||||
Content{" "}
|
||||
<Link href="/license/" prefetch={false}>
|
||||
<a title="Creative Commons Attribution 4.0 International">licensed under CC-BY-4.0</a>
|
||||
</Link>
|
||||
,{" "}
|
||||
<Link href="/previously/" prefetch={false}>
|
||||
<a title="Previously on...">2001 –</a>
|
||||
</Link>{" "}
|
||||
{new Date().getFullYear()}.
|
||||
</div>
|
||||
<div className={styles.powered_by}>
|
||||
Made with{" "}
|
||||
<span className={styles.beat}>
|
||||
<HeartIcon alt="Love" />
|
||||
</span>{" "}
|
||||
and{" "}
|
||||
<a href="https://nextjs.org/" title="Powered by Next.js" target="_blank" rel="noopener noreferrer">
|
||||
<NextjsIcon alt="Next.js" fill="currentColor" />
|
||||
</a>
|
||||
.{" "}
|
||||
<a
|
||||
href={`https://github.com/${config.githubRepo}`}
|
||||
title="View Source on GitHub"
|
||||
className={styles.view_source}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
View source.
|
||||
</a>
|
||||
</div>
|
||||
const Footer = () => (
|
||||
<footer className={styles.footer}>
|
||||
<div className={styles.row}>
|
||||
<div className={styles.copyright}>
|
||||
Content{" "}
|
||||
<Link href="/license/" prefetch={false}>
|
||||
<a title="Creative Commons Attribution 4.0 International">licensed under CC-BY-4.0</a>
|
||||
</Link>
|
||||
,{" "}
|
||||
<Link href="/previously/" prefetch={false}>
|
||||
<a title="Previously on...">2001 –</a>
|
||||
</Link>{" "}
|
||||
{new Date().getFullYear()}.
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
<div className={styles.powered_by}>
|
||||
Made with{" "}
|
||||
<span className={styles.beat}>
|
||||
<HeartIcon alt="Love" />
|
||||
</span>{" "}
|
||||
and{" "}
|
||||
<a href="https://nextjs.org/" title="Powered by Next.js" target="_blank" rel="noopener noreferrer">
|
||||
<NextjsIcon alt="Next.js" fill="currentColor" />
|
||||
</a>
|
||||
.{" "}
|
||||
<a
|
||||
href={`https://github.com/${config.githubRepo}`}
|
||||
title="View Source on GitHub"
|
||||
className={styles.view_source}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
View source.
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
|
||||
export default Footer;
|
||||
|
Reference in New Issue
Block a user