frontpage/components/Blog/Navigation.tsx

22 lines
735 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}>
2022-10-08 14:07:56 +02:00
<Link href={"/"}>
<a className="nostyle">
<picture>
<source srcSet="/icon.png" type="image/png" />
<img src="/icon.png" alt={"Website icon, a red eye"} className={styles.logo} />
</picture>
</a>
2022-10-03 01:19:43 +02:00
</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;