feat: replace emoji icons with react-icons in About page
This commit is contained in:
@@ -1,16 +1,26 @@
|
|||||||
import { motion } from 'motion/react';
|
import { motion } from 'motion/react';
|
||||||
import { useTranslation } from '../i18n';
|
import { useTranslation } from '../i18n';
|
||||||
|
import {
|
||||||
|
SiReact,
|
||||||
|
SiTypescript,
|
||||||
|
SiNodedotjs,
|
||||||
|
SiPython,
|
||||||
|
SiFirebase,
|
||||||
|
SiPostgresql,
|
||||||
|
SiDocker,
|
||||||
|
SiGit,
|
||||||
|
} from 'react-icons/si';
|
||||||
import styles from './About.module.css';
|
import styles from './About.module.css';
|
||||||
|
|
||||||
const techStack = [
|
const techStack = [
|
||||||
{ name: 'React', icon: '⚛️' },
|
{ name: 'React', icon: SiReact },
|
||||||
{ name: 'TypeScript', icon: '📘' },
|
{ name: 'TypeScript', icon: SiTypescript },
|
||||||
{ name: 'Node.js', icon: '🟢' },
|
{ name: 'Node.js', icon: SiNodedotjs },
|
||||||
{ name: 'Python', icon: '🐍' },
|
{ name: 'Python', icon: SiPython },
|
||||||
{ name: 'Firebase', icon: '🔥' },
|
{ name: 'Firebase', icon: SiFirebase },
|
||||||
{ name: 'PostgreSQL', icon: '🐘' },
|
{ name: 'PostgreSQL', icon: SiPostgresql },
|
||||||
{ name: 'Docker', icon: '🐳' },
|
{ name: 'Docker', icon: SiDocker },
|
||||||
{ name: 'Git', icon: '📦' },
|
{ name: 'Git', icon: SiGit },
|
||||||
];
|
];
|
||||||
|
|
||||||
const containerVariants = {
|
const containerVariants = {
|
||||||
@@ -93,7 +103,7 @@ export function About() {
|
|||||||
variants={itemVariants}
|
variants={itemVariants}
|
||||||
whileHover={{ scale: 1.05, y: -4 }}
|
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>
|
<span className={styles.techName}>{tech.name}</span>
|
||||||
</motion.div>
|
</motion.div>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user