summaryrefslogtreecommitdiff
path: root/components/layout.tsx
diff options
context:
space:
mode:
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 00000000..baf62dd2
--- /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>
+ </>
+ )
+}