Misc utils for Next.js: <Link>, <Head>, <Nav>, config helpers
-
a: link component that uses Next.js <Link> for relative URLs and <a> for absolute URLs (with default
target="_blank"
). -
config, basePath:
next/config
accessors. -
head:
next/head
wrapper, populates og tags. -
heading:
Heading
component (<H1>
…<H6>
): clicky headings (with configurable link-target offset) -
nav: simple
Nav
component. - socials: social media links.
-
use-async:
useAsync
,useResult
hooks, for React state populated byPromise
s. - youtube: YouTube embed component.