From d88a45b7f8f4ba086df66738e791e98b6a1e5747 Mon Sep 17 00:00:00 2001 From: Alexis Werefox Date: Sun, 18 Apr 2021 23:27:30 +0000 Subject: [PATCH] Updated some theming, made a component for identity info. --- src/info/pages/components/identity-button.js | 38 ++++ src/info/pages/index.js | 190 ++++++++++--------- src/info/tailwind.config.js | 6 +- 3 files changed, 143 insertions(+), 91 deletions(-) create mode 100644 src/info/pages/components/identity-button.js diff --git a/src/info/pages/components/identity-button.js b/src/info/pages/components/identity-button.js new file mode 100644 index 0000000..e77f9f4 --- /dev/null +++ b/src/info/pages/components/identity-button.js @@ -0,0 +1,38 @@ +import Image from "next/image"; +import Link from "next/link"; + +export default function IdentityButton({ + extraClasses, + imageObj, + innerText, + url, +}) { + const images = Array(imageObj).flat(); + + return ( +
+ + + {images.map((source) => ( + + {" "} + {source.alt}{" "} + + ))}{" "} + {innerText} + + +
+ ); +} diff --git a/src/info/pages/index.js b/src/info/pages/index.js index 9fa18cd..77bac2f 100644 --- a/src/info/pages/index.js +++ b/src/info/pages/index.js @@ -1,6 +1,7 @@ import Head from "next/head"; import Link from "next/link"; import Image from "next/image"; +import IDButton from "./components/identity-button"; export default function Home() { return ( @@ -9,10 +10,10 @@ export default function Home() { About A Werefox -
-
+
+

- + {" "} Pixel Alexis!{" "} - -Hi! I'm Alexis Werefox! + {"- "} + Hi! I'm Alexis Werefox!

-
-
-
-

- 26 -

-
-
-

- Single -

-
-
-

- - {" "} - Polyamory flag{" "} - - Polyam -

-
-
-

- - {" "} - Female symbol{" "} - - - {" "} - Transgender flag{" "} - {" "} - Trans-femme -

-
-
-

- - {" "} - Pansexual flag{" "} - {" "} - Pansexual -

-
-
-

- - {" "} - Lesbian flag{" "} - {" "} - Lesbian -

-
-
-

- ADHD -

-
+
+
+ + + + + + + + +
-
+

Somewhere between a hot date and a hot mess. Just a witchy foxxo programmer trying to make it in the world tbh.

-
+