|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
import React from 'react'
|
|
|
|
|
import Link from 'next/link'
|
|
|
|
|
import Image from 'components/Image'
|
|
|
|
|
|
|
|
|
|
import { usePathname } from 'next/navigation'
|
|
|
|
@ -14,13 +15,12 @@ export default function Title() {
|
|
|
|
|
<header className={isHomepage ? 'homepage' : undefined}>
|
|
|
|
|
{isHomepage
|
|
|
|
|
? <h1 className="siteTitle">tempest.dev</h1>
|
|
|
|
|
: <a href="/" className="siteTitle">tempest.dev</a>
|
|
|
|
|
: <Link href="/" className="siteTitle">tempest.dev</Link>
|
|
|
|
|
}
|
|
|
|
|
<nav>
|
|
|
|
|
<a href="/about">about</a>
|
|
|
|
|
{/* <a href="/posts">posts</a> */}
|
|
|
|
|
<a href="/contact">contact</a>
|
|
|
|
|
<a target="blank" href="https://git.tempest.dev/ashe/tempest.dev">code</a>
|
|
|
|
|
<Link href="/about">about</Link>
|
|
|
|
|
<Link href="/contact">contact</Link>
|
|
|
|
|
<Link target="blank" href="https://git.tempest.dev/ashe/tempest.dev">code</Link>
|
|
|
|
|
</nav>
|
|
|
|
|
<div className="headerBackground">
|
|
|
|
|
<Image
|
|
|
|
|