frontpage/components/Blog/Navigation.tsx

20 lines
675 B
TypeScript
Raw Normal View History

2022-10-03 01:19:43 +02:00
/* eslint-disable @next/next/no-img-element */
2022-09-30 16:14:30 +02:00
import type { NextPage } from "next";
2022-10-03 01:19:43 +02:00
import Link from "next/link";
import styles from "../../styles/Blog/Navigation.module.scss";
2022-09-30 16:14:30 +02:00
const Navigation: NextPage<{}> = () => {
2022-10-03 01:19:43 +02:00
return <nav className={styles.navigation}>
<Link href={"/"} passHref>
<picture>
<source srcSet="/icon.png" type="image/png" />
<img src="/icon.png" alt={"Website icon, a red eye"} className={styles.logo} />
</picture>
</Link>
<div className={styles.navLink}>Projects</div>
<div className={styles.navLink}>About me</div>
2022-09-30 19:23:14 +02:00
</nav>;
2022-09-30 16:14:30 +02:00
};
export default Navigation;