Changed variable names

This commit is contained in:
2025-12-24 13:19:10 +01:00
parent 18f52ab751
commit 211c6cf3ea
2 changed files with 9 additions and 9 deletions

View File

@@ -4,7 +4,7 @@ import {Github, Mail, Globe} from 'lucide-react';
import {ObfuscatedMail} from './ObfuscatedMail'; import {ObfuscatedMail} from './ObfuscatedMail';
import {ROLES} from '../data/content'; import {ROLES} from '../data/content';
export const TeamMember = ({name, nickname, img, gh, email, website, roles}) => ( export const TeamMember = ({name, nickname, imageLink, githubLink, email, website, roles}) => (
<motion.div whileHover={{y: -5}} <motion.div whileHover={{y: -5}}
className="group relative bg-[#121212] rounded-2xl p-6 border border-white/10 flex flex-col items-center text-center overflow-hidden shadow-lg hover:border-[#00A3FF]/40 transition-all duration-300"> className="group relative bg-[#121212] rounded-2xl p-6 border border-white/10 flex flex-col items-center text-center overflow-hidden shadow-lg hover:border-[#00A3FF]/40 transition-all duration-300">
<div <div
@@ -18,7 +18,7 @@ export const TeamMember = ({name, nickname, img, gh, email, website, roles}) =>
<div <div
className="w-28 h-28 rounded-full mb-5 p-1 border-2 border-[#00A3FF]/30 group-hover:border-[#00A3FF] transition-colors relative z-10"> className="w-28 h-28 rounded-full mb-5 p-1 border-2 border-[#00A3FF]/30 group-hover:border-[#00A3FF] transition-colors relative z-10">
<img src={img} alt={name} className="w-full h-full rounded-full object-cover bg-gray-800"/> <img src={imageLink} alt={name} className="w-full h-full rounded-full object-cover bg-gray-800"/>
</div> </div>
<div className="relative z-10 w-full"> <div className="relative z-10 w-full">
@@ -55,7 +55,7 @@ export const TeamMember = ({name, nickname, img, gh, email, website, roles}) =>
<Mail size={18}/> <Mail size={18}/>
</ObfuscatedMail> </ObfuscatedMail>
<a href={gh} target="_blank" rel="noreferrer" <a href={githubLink} target="_blank" rel="noreferrer"
className="flex-1 py-2 rounded-lg bg-white/5 hover:bg-[#00A3FF] hover:text-white text-gray-400 transition-all flex justify-center items-center" className="flex-1 py-2 rounded-lg bg-white/5 hover:bg-[#00A3FF] hover:text-white text-gray-400 transition-all flex justify-center items-center"
title="GitHub"> title="GitHub">
<Github size={18}/> <Github size={18}/>

View File

@@ -20,8 +20,8 @@ export const TEAM_MEMBERS = [
name: "Felix", name: "Felix",
nickname: "Flixcoo", nickname: "Flixcoo",
roles: [0, 1], roles: [0, 1],
img: "https://github.com/flixcoo.png", imageLink: "https://github.com/flixcoo.png",
gh: "https://github.com/flixcoo", githubLink: "https://github.com/flixcoo",
email: "felix@liquid-dev.de", email: "felix@liquid-dev.de",
website: "https://felixkirchner.de" website: "https://felixkirchner.de"
}, },
@@ -29,8 +29,8 @@ export const TEAM_MEMBERS = [
name: "Yannick", name: "Yannick",
nickname: "Gelbeinhalb", nickname: "Gelbeinhalb",
roles: [0, 1], roles: [0, 1],
img: "https://github.com/GelbEinhalb.png", imageLink: "https://github.com/GelbEinhalb.png",
gh: "https://github.com/GelbEinhalb", githubLink: "https://github.com/GelbEinhalb",
email: "yannick@liquid-dev.de", email: "yannick@liquid-dev.de",
website: "https://yannick-weigert.de" website: "https://yannick-weigert.de"
}, },
@@ -38,8 +38,8 @@ export const TEAM_MEMBERS = [
name: "Mathis", name: "Mathis",
nickname: "Sneeex", nickname: "Sneeex",
roles: [0, 1], roles: [0, 1],
img: "https://github.com/sneeex.png", imageLink: "https://github.com/sneeex.png",
gh: "https://github.com/sneeex", githubLink: "https://github.com/sneeex",
email: "mathis@liquid-dev.de", email: "mathis@liquid-dev.de",
website: "https://mathiskirchner.de" website: "https://mathiskirchner.de"
} }