diff --git a/src/info/components/basic-page.js b/src/info/components/basic-page.js
index 2248385..a1ad299 100644
--- a/src/info/components/basic-page.js
+++ b/src/info/components/basic-page.js
@@ -1,90 +1,40 @@
import Head from "next/head";
-import Image from "next/image";
-import WCard from "../components/werefox-card";
+import TCard from "../components/title-card";
import FCard from "./footer-card";
import PButton from "../components/page-button";
-export default function BasicPage({
- is_home,
- page_title,
- card_title,
- children,
-}) {
- if (is_home) {
- return (
-
-
-
{page_title}
-
-
-
-
-
-
- {" "}
- {" "}
-
- {"- "}
- {card_title}
-
-
- {children}
-
-
+export default function BasicPage({ page_title, card_title, children }) {
+ return (
+
+
+
{page_title}
+
+
+
+
+
+ {children}
+
+
- );
- } else {
- return (
-
-
-
{page_title}
-
-
-
-
-
-
- {" "}
- {" "}
-
- {"- "}
- {card_title}
-
-
-
- {children}
-
-
-
-
- );
- }
+
+ );
}
diff --git a/src/info/components/home-page.js b/src/info/components/home-page.js
new file mode 100644
index 0000000..7b70cf6
--- /dev/null
+++ b/src/info/components/home-page.js
@@ -0,0 +1,25 @@
+import Head from "next/head";
+import TCard from "../components/title-card";
+import FCard from "../components/footer-card";
+
+export default function HomePage({ page_title, card_title, children }) {
+ return (
+
+ );
+}
diff --git a/src/info/components/title-card.js b/src/info/components/title-card.js
new file mode 100644
index 0000000..ac09ede
--- /dev/null
+++ b/src/info/components/title-card.js
@@ -0,0 +1,15 @@
+export default function TitleCard({ card_title }) {
+ return (
+
+
+
+ {"- "}
+ {card_title}
+
+
+ );
+}
diff --git a/src/info/components/werefox-card.js b/src/info/components/werefox-card.js
index 3b1b5b4..09a1587 100644
--- a/src/info/components/werefox-card.js
+++ b/src/info/components/werefox-card.js
@@ -5,11 +5,9 @@ export default function WerefoxCard({
}) {
if (isTitle) {
return (
-
- Mastodon
- Mastodon
+
{children}
-
+
);
} else {
return (
@@ -20,7 +18,7 @@ export default function WerefoxCard({
{innerText}
-