blob: c0fa7e8b2128da0cb740e4773ba502311db2dd7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import { Config } from "../config.ts";
export default function GlobalHeader({ config }: { config: Config }) {
return (
<header className="header">
<div className="site-logo">
<a href="/">{config.blog.siteName}</a>
</div>
<nav className="nav">
<ul>
<li>
<a href="/about/">About</a>
</li>
<li>
<a href="/posts/">Posts</a>
</li>
<li>
<a href="/slides/">Slides</a>
</li>
<li>
<a href="/tags/">Tags</a>
</li>
</ul>
</nav>
</header>
);
}
|