feat: remove GitHub links and icons from project cards

This commit is contained in:
Van Leemput Dayron
2025-12-01 15:33:59 +01:00
parent 59c1b8c8ad
commit 0518588121

View File

@@ -1,5 +1,5 @@
import { motion } from 'framer-motion';
import { ExternalLink, Github, MapPin, Wine } from 'lucide-react';
import { ExternalLink, MapPin, Wine } from 'lucide-react';
import { useLanguage } from '../contexts/LanguageContext';
const Projects = () => {
@@ -20,7 +20,6 @@ const Projects = () => {
color: "#4CAF50",
icon: <MapPin size={24} />,
links: {
github: "https://github.com/Dayron-HELHa/travel_mate", // Remplacez par votre lien GitHub
demo: "#"
},
image: "/travel-mate-preview.png" // Ajoutez votre image dans le dossier public
@@ -39,7 +38,6 @@ const Projects = () => {
color: "#E91E63", // A distinct color
icon: <Wine size={24} />,
links: {
github: "#", // Assuming private or not provided
demo: "https://shelbys.be"
},
image: "/shelbys-preview.png" // Placeholder, user might need to add this
@@ -59,7 +57,6 @@ const Projects = () => {
color: "#2196F3",
icon: <ExternalLink size={24} />,
links: {
github: "https://github.com/Dayron-HELHa/xeewy.eu", // Remplacez par votre lien
demo: "https://xeewy.be" // Remplacez par votre lien
}
}
@@ -183,19 +180,7 @@ const Projects = () => {
<div className="project-footer">
<div className="project-links">
{project.links.github !== "#" && (
<motion.a
href={project.links.github}
target="_blank"
rel="noopener noreferrer"
className="project-link"
whileHover={{ scale: 1.1 }}
whileTap={{ scale: 0.95 }}
>
<Github size={20} />
{t('projects.btn.code')}
</motion.a>
)}
{project.links.demo !== "#" && (
<motion.a
href={project.links.demo}