summaryrefslogtreecommitdiff
path: root/components/layout.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/layout.tsx
parentd1d59e5b53ceaf77e731555ab5f0a9148e6a7d93 (diff)
feat: topnav draft
Diffstat (limited to 'components/layout.tsx')
-rw-r--r--components/layout.tsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/components/layout.tsx b/components/layout.tsx
new file mode 100644
index 0000000..baf62dd
--- /dev/null
+++ b/components/layout.tsx
@@ -0,0 +1,12 @@
+import TopNav from '../components/topnav.tsx'
+
+export default function Layout({ children }) {
+ return (
+ <>
+ <TopNav/>
+ <main className="mx-auto max-w-screen-lg px-3 py-6">
+ {children}
+ </main>
+ </>
+ )
+}