From c6aa70a64731b608fade3acab48c1d1d2df280b6 Mon Sep 17 00:00:00 2001
From: 0t4u <61939142+0t4u@users.noreply.github.com>
Date: Mon, 5 Dec 2022 20:33:28 +0000
Subject: Add files via upload

---
 modules/PageBase.tsx | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 modules/PageBase.tsx

(limited to 'modules/PageBase.tsx')

diff --git a/modules/PageBase.tsx b/modules/PageBase.tsx
new file mode 100644
index 0000000..f6290c3
--- /dev/null
+++ b/modules/PageBase.tsx
@@ -0,0 +1,48 @@
+import React from 'react';
+import Head from 'next/head';
+
+export type PageBaseProps = {
+  children?: React.ReactNode;
+  flex?: boolean;
+};
+
+const PageBase = (props: PageBaseProps) => {
+  return (
+    <div className="bg-black text-white flex flex-col flex-1">
+      <Head>
+        <link rel="shortcut icon" href="/favicon.png" type="image/png" />
+      </Head>      <div
+        className={[
+          'container mx-auto mt-4 flex-1',
+          props.flex ? 'flex flex-col' : '',
+        ].join(' ')}
+      >
+        {props.children}
+      </div>
+      {/* <div className="mt-6 text-gray-500 text-center">
+        Made with 🍝 by{' '}
+        <a
+          href="https://twitter.com/kitsune_cw"
+          className="hover:underline"
+          target="_blank"
+          rel="noreferrer noopener nofollow"
+        >
+          kitsune
+        </a>
+        .
+      </div>
+      <div className="mb-6 text-center">
+        <a
+          href="https://gitlab.com/aonahara/archive-browser"
+          className="text-gray-500 hover:underline"
+          target="_blank"
+          rel="noreferrer noopener nofollow"
+        >
+          Source code
+        </a>
+      </div> */}
+    </div>
+  );
+};
+
+export default PageBase;
-- 
cgit v1.2.3

