diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx
index 55767c6..a870a1f 100644
--- a/src/components/Footer.jsx
+++ b/src/components/Footer.jsx
@@ -1,6 +1,6 @@
import React from 'react';
-import {Github, Mail} from 'lucide-react';
import {BrandLogo} from './BrandLogo';
+import {ObfuscatedMail} from './ObfuscatedMail';
import {SOCIALS} from '../data/content';
export const Footer = () => (
@@ -11,16 +11,36 @@ export const Footer = () => (
LIQUID DEVELOPMENT
-
-
-
-
-
-
+ {SOCIALS.map((social) => {
+ const Icon = social.icon;
+ const isEmail = !social.link.startsWith('http');
+
+ if (isEmail) {
+ return (
+
+
+
+ );
+ }
+
+ return (
+
+
+
+ );
+ })}
© {new Date().getFullYear()} Liquid Development.
diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx
index 30880a1..112b501 100644
--- a/src/components/Navbar.jsx
+++ b/src/components/Navbar.jsx
@@ -1,13 +1,9 @@
import React from 'react';
-import {Github, Mail} from 'lucide-react';
import {BrandLogo} from './BrandLogo';
import {ObfuscatedMail} from './ObfuscatedMail';
import {NAV_LINKS, SOCIALS} from '../data/content';
export const Navbar = () => {
- // Extract email address from "mailto:..." string if necessary
- const rawEmail = SOCIALS.email.replace('mailto:', '');
-
return (
diff --git a/src/data/content.js b/src/data/content.js
index 12515d7..5155a95 100644
--- a/src/data/content.js
+++ b/src/data/content.js
@@ -1,9 +1,19 @@
+import { Github, Mail } from 'lucide-react';
+
export const NAV_LINKS = ['Home', 'Projects', 'Team'];
-export const SOCIALS = {
- github: "https://github.com/LiquidDevelopmentDE/",
- email: "mailto:hello@liquid-dev.de"
-};
+export const SOCIALS = [
+ {
+ name: "GitHub",
+ link: "https://github.com/LiquidDevelopmentDE/",
+ icon: Github
+ },
+ {
+ name: "Email",
+ link: "hello@liquid-dev.de",
+ icon: Mail
+ }
+];
export const TEAM_MEMBERS = [
{
diff --git a/src/sections/Hero.jsx b/src/sections/Hero.jsx
index d52f506..9c0bcd3 100644
--- a/src/sections/Hero.jsx
+++ b/src/sections/Hero.jsx
@@ -7,7 +7,8 @@ import {ObfuscatedMail} from '../components/ObfuscatedMail';
import {SOCIALS} from '../data/content';
export const Hero = () => {
- const rawEmail = SOCIALS.email.replace('mailto:', '');
+ const emailSocial = SOCIALS.find(s => !s.link.startsWith('http'));
+ const rawEmail = emailSocial ? emailSocial.link : 'hello@liquid-dev.de';
return (