Social links

This commit is contained in:
2026-01-22 07:41:59 +01:00
parent 602fc01585
commit ee1e82c60e
+23 -12
View File
@@ -72,6 +72,17 @@ const timeline = [
}, },
]; ];
const socialLinks: [
string,
React.ComponentType<React.SVGProps<SVGSVGElement>>,
][] = [
["https://github.com/selimaj-dev", Github],
["https://www.linkedin.com/in/klesti-selimaj", Linkedin],
["https://youtube.com/@0xkleo", Youtube],
["https://instagram.com/selimaj.dev", Instagram],
["https://dev.to/selimaj", ExternalLink],
];
export default function About() { export default function About() {
const techStack = [ const techStack = [
{ name: "Rust", icon: <SiRust />, color: "text-orange-500" }, { name: "Rust", icon: <SiRust />, color: "text-orange-500" },
@@ -225,18 +236,18 @@ export default function About() {
variants={fadeInUp} variants={fadeInUp}
className="flex items-center gap-4" className="flex items-center gap-4"
> >
{[Github, Linkedin, Youtube, Instagram, ExternalLink].map( {socialLinks.map(([link, Icon], i) => (
(Icon, i) => ( <motion.a
<motion.a key={i}
key={i} whileHover={{ y: -4, scale: 1.05 }}
whileHover={{ y: -4, scale: 1.05 }} whileTap={{ scale: 0.95 }}
whileTap={{ scale: 0.95 }} className="glass-card p-3 rounded-xl hover:ring-1 hover:ring-accent/30 transition-all"
className="glass-card p-3 rounded-xl hover:ring-1 hover:ring-accent/30 transition-all" href={link}
> target="_blank"
<Icon className="w-5 h-5 text-foreground" /> >
</motion.a> <Icon className="w-5 h-5 text-foreground" />
), </motion.a>
)} ))}
</motion.div> </motion.div>
</motion.div> </motion.div>
</div> </div>