diff --git a/data/socials.tsx b/data/socials.tsx
new file mode 100644
index 0000000..ee6c85a
--- /dev/null
+++ b/data/socials.tsx
@@ -0,0 +1,38 @@
+import { Github, Linkedin, Instagram, Discord, Steam } from "@icons-pack/react-simple-icons";
+
+interface Social {
+ name: string;
+ url: string;
+ icon: JSX.Element;
+}
+
+export const socials = (iconSize?: string, color?: string): Social[] => {
+ iconSize = iconSize || "1em";
+ console.log(iconSize);
+
+ return [
+ {
+ name: "GitHub",
+ url: "https://github.com/C0ntroller",
+ icon: ,
+ }, {
+ name: "LinkedIn",
+ url: "https://www.linkedin.com/in/c0ntroller/",
+ icon: ,
+ }, {
+ name: "Instagram",
+ url: "https://www.instagram.com/c0ntroller/",
+ icon: ,
+ }, {
+ name: "Steam",
+ url: "https://steamcommunity.com/id/c0ntroller/",
+ icon: ,
+ }, {
+ name: "Discord",
+ url: "https://discordapp.com/users/224208617820127233",
+ icon:
+ }
+ ];
+};
+
+export default socials;
\ No newline at end of file
diff --git a/pages/me.tsx b/pages/me.tsx
index f3c5c9d..ab41f5e 100644
--- a/pages/me.tsx
+++ b/pages/me.tsx
@@ -1,5 +1,6 @@
import type { NextPage } from "next";
import Link from "next/link";
+import Image from "next/image";
import { useEffect } from "react";
import { Discord, Github, Instagram, Steam, Linkedin } from "@icons-pack/react-simple-icons";
import Layout from "../components/Blog/Layout";
@@ -9,7 +10,7 @@ import pic from "../public/img/me.png";
import skills, { AdditionalSkill, Skill, SkillCard } from "../data/skills";
import achievements from "../data/achievements";
-import Image from "next/image";
+import socials from "../data/socials";
const Badge: NextPage<{ additional: AdditionalSkill }> = ({ additional }) => {
return
@@ -107,11 +108,11 @@ const Me: NextPage = () => {
Social Media
Achievements
{achievements().map((achievement, i) =>
diff --git a/pages/terminal.tsx b/pages/terminal.tsx
index 5f8a8ab..10b2ca1 100644
--- a/pages/terminal.tsx
+++ b/pages/terminal.tsx
@@ -8,11 +8,14 @@ import { useCommands } from "../lib/commands/ContextProvider";
import { useModalFunctions } from "../components/Terminal/contexts/ModalFunctions";
import ProjectModal from "../components/Terminal/ProjectModal";
import REPL from "../components/Terminal/REPL";
-import styles from "../styles/Terminal/Terminal.module.css";
import type { ContentList } from "../lib/content/types";
import { useRouter } from "next/router";
import Rainbow from "../lib/colors";
+import styles from "../styles/Terminal/Terminal.module.css";
+
+import socials from "../data/socials";
+
const Terminal: NextPage<{ buildTime: string }> = ({ buildTime }) => {
const inputRef = useRef
(null);
const { modalFunctions } = useModalFunctions();
@@ -67,22 +70,10 @@ const Terminal: NextPage<{ buildTime: string }> = ({ buildTime }) => {
|
|
-
- |
-
- |
-
- |
-
- |
-
-
-
-
- C0ntroller_Z#3883
-
-
-
+ {socials(iconSize, "var(--repl_color)").map((social, i) => <>
+ {i !== 0 ? | : null}
+ {social.icon}
+ >)}