summaryrefslogtreecommitdiff
path: root/components/topnav.tsx
diff options
context:
space:
mode:
authorMichal Sapka <michal@sapka.me>2022-08-06 22:36:07 +0200
committerMichal Sapka <michal@sapka.me>2022-08-06 22:36:07 +0200
commitdf14504b05642b39ab84d91aaab0b5f96283f5dd (patch)
treeaf0c95ec9c7a024db15672883f567d718470f543 /components/topnav.tsx
parentd1d59e5b53ceaf77e731555ab5f0a9148e6a7d93 (diff)
feat: topnav draft
Diffstat (limited to 'components/topnav.tsx')
-rw-r--r--components/topnav.tsx17
1 files changed, 17 insertions, 0 deletions
diff --git a/components/topnav.tsx b/components/topnav.tsx
new file mode 100644
index 0000000..70814b3
--- /dev/null
+++ b/components/topnav.tsx
@@ -0,0 +1,17 @@
+export default function TopNav() {
+ return(
+ <>
+ <header className="flex flex-row mx-auto max-w-screen-lg px-3 py-6">
+ <div className="basis-1/4">
+ Michal Sapka
+ </div>
+ <nav className="basis-3/4 flex flex-row">
+ <a clasName="basis-1/2" href="publications">Publications</a>
+ <a clasName="basis-1/2" rel="noreferrer" href="https://github.com/michalsapka/michal-sapka-pl" target="_blank">
+ Code
+ </a>
+ </nav>
+ </header>
+ </>
+ )
+}