feat: replace emoji icons with react-icons in About page

This commit is contained in:
Melvin Ragusa
2026-01-21 23:05:39 +01:00
parent b4ae9093bc
commit 8913054318

View File

@@ -1,16 +1,26 @@
import { motion } from 'motion/react';
import { useTranslation } from '../i18n';
import {
SiReact,
SiTypescript,
SiNodedotjs,
SiPython,
SiFirebase,
SiPostgresql,
SiDocker,
SiGit,
} from 'react-icons/si';
import styles from './About.module.css';
const techStack = [
{ name: 'React', icon: '⚛️' },
{ name: 'TypeScript', icon: '📘' },
{ name: 'Node.js', icon: '🟢' },
{ name: 'Python', icon: '🐍' },
{ name: 'Firebase', icon: '🔥' },
{ name: 'PostgreSQL', icon: '🐘' },
{ name: 'Docker', icon: '🐳' },
{ name: 'Git', icon: '📦' },
{ name: 'React', icon: SiReact },
{ name: 'TypeScript', icon: SiTypescript },
{ name: 'Node.js', icon: SiNodedotjs },
{ name: 'Python', icon: SiPython },
{ name: 'Firebase', icon: SiFirebase },
{ name: 'PostgreSQL', icon: SiPostgresql },
{ name: 'Docker', icon: SiDocker },
{ name: 'Git', icon: SiGit },
];
const containerVariants = {
@@ -93,7 +103,7 @@ export function About() {
variants={itemVariants}
whileHover={{ scale: 1.05, y: -4 }}
>
<span className={styles.techIcon}>{tech.icon}</span>
<span className={styles.techIcon}><tech.icon /></span>
<span className={styles.techName}>{tech.name}</span>
</motion.div>
))}