diff --git a/app/components/SocialIcon.tsx b/app/components/SocialIcon.tsx
deleted file mode 100644
index 8798804..0000000
--- a/app/components/SocialIcon.tsx
+++ /dev/null
@@ -1,13 +0,0 @@
-export type SocialIconProps = {
- href: string;
- alt: string;
- src: string;
-};
-
-export function SocialIcon({ href, alt, src }: SocialIconProps) {
- return (
-
-
-
- );
-}
diff --git a/app/routes/index.tsx b/app/routes/index.tsx
index 7e4ab18..ab3fdfe 100644
--- a/app/routes/index.tsx
+++ b/app/routes/index.tsx
@@ -1,42 +1,14 @@
-import { SocialIcon, SocialIconProps } from "~/components/SocialIcon";
-
-const socials: SocialIconProps[] = [
- {
- href: "https://t.me/nullndr",
- alt: "Telegram",
- src: "/assets/telegram.png",
- },
- {
- href: "https://gitlab.com/nullndr",
- alt: "GitLab",
- src: "/assets/gitlab.png",
- },
- {
- href: "https://github.com/nullndr",
- alt: "GitHub",
- src: "/assets/github.png",
- },
- {
- href: "https://twitter.com/nullndr",
- alt: "Twitter",
- src: "/assets/twitter.png",
- },
- {
- href: "mailto: andrea@yaaaw.it",
- alt: "Email",
- src: "/assets/email.png",
- },
- {
- href: "https://www.linkedin.com/in/nullndr/",
- alt: "Linkedin",
- src: "/assets/linkedin.png",
- },
- {
- href: "/assets/pgpkey.pub",
- alt: "GPG key",
- src: "/assets/key.png",
- },
-];
+import { IconContext } from "react-icons";
+import {
+ FaGithub,
+ FaGitlab,
+ FaKey,
+ FaLinkedin,
+ FaMastodon,
+ FaTelegramPlane,
+ FaTwitter,
+} from "react-icons/fa";
+import { MdEmail } from "react-icons/md";
export default function Index() {
return (
@@ -49,14 +21,37 @@ export default function Index() {
diff --git a/package-lock.json b/package-lock.json
index f7be6ec..0e8c2dd 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,7 +10,8 @@
"@remix-run/react": "^1.6.7",
"@remix-run/serve": "^1.6.3",
"react": "^18.2.0",
- "react-dom": "^18.2.0"
+ "react-dom": "^18.2.0",
+ "react-icons": "^4.6.0"
},
"devDependencies": {
"@remix-run/dev": "^1.6.3",
@@ -10762,6 +10763,14 @@
"react": "^18.2.0"
}
},
+ "node_modules/react-icons": {
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.6.0.tgz",
+ "integrity": "sha512-rR/L9m9340yO8yv1QT1QurxWQvWpbNHqVX0fzMln2HEb9TEIrQRGsqiNFQfiv9/JEUbyHmHPlNTB2LWm2Ttz0g==",
+ "peerDependencies": {
+ "react": "*"
+ }
+ },
"node_modules/react-is": {
"version": "17.0.2",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
@@ -21217,6 +21226,12 @@
"scheduler": "^0.23.0"
}
},
+ "react-icons": {
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.6.0.tgz",
+ "integrity": "sha512-rR/L9m9340yO8yv1QT1QurxWQvWpbNHqVX0fzMln2HEb9TEIrQRGsqiNFQfiv9/JEUbyHmHPlNTB2LWm2Ttz0g==",
+ "requires": {}
+ },
"react-is": {
"version": "17.0.2",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
diff --git a/package.json b/package.json
index 2defaae..101a658 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,8 @@
"@remix-run/react": "^1.6.7",
"@remix-run/serve": "^1.6.3",
"react": "^18.2.0",
- "react-dom": "^18.2.0"
+ "react-dom": "^18.2.0",
+ "react-icons": "^4.6.0"
},
"devDependencies": {
"@remix-run/dev": "^1.6.3",
diff --git a/public/assets/email.png b/public/assets/email.png
deleted file mode 100644
index 5749180..0000000
Binary files a/public/assets/email.png and /dev/null differ
diff --git a/public/assets/favicon.png b/public/assets/favicon.png
deleted file mode 100644
index 35dc49f..0000000
Binary files a/public/assets/favicon.png and /dev/null differ
diff --git a/public/assets/github.png b/public/assets/github.png
deleted file mode 100644
index 45e3f84..0000000
Binary files a/public/assets/github.png and /dev/null differ
diff --git a/public/assets/gitlab.png b/public/assets/gitlab.png
deleted file mode 100644
index e01b043..0000000
Binary files a/public/assets/gitlab.png and /dev/null differ
diff --git a/public/assets/key.png b/public/assets/key.png
deleted file mode 100644
index 1674bd1..0000000
Binary files a/public/assets/key.png and /dev/null differ
diff --git a/public/assets/linkedin.png b/public/assets/linkedin.png
deleted file mode 100644
index 144f2de..0000000
Binary files a/public/assets/linkedin.png and /dev/null differ
diff --git a/public/assets/telegram.png b/public/assets/telegram.png
deleted file mode 100644
index 09cb65a..0000000
Binary files a/public/assets/telegram.png and /dev/null differ
diff --git a/public/assets/twitter.png b/public/assets/twitter.png
deleted file mode 100644
index 6634a22..0000000
Binary files a/public/assets/twitter.png and /dev/null differ