mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 11:18:30 -04:00
21 lines
514 B
TypeScript
21 lines
514 B
TypeScript
import { memo } from "react";
|
|
import Link from "next/link";
|
|
import Image from "next/image";
|
|
|
|
import styles from "./Name.module.css";
|
|
|
|
import meJpg from "../../public/static/images/me.jpg";
|
|
|
|
const Name = () => (
|
|
<Link href="/">
|
|
<a className={styles.name}>
|
|
<div className={styles.selfie}>
|
|
<Image src={meJpg} alt="Photo of Jake Jarvis" width={70} height={70} quality={60} layout="intrinsic" priority />
|
|
</div>
|
|
<span>Jake Jarvis</span>
|
|
</a>
|
|
</Link>
|
|
);
|
|
|
|
export default memo(Name);
|