Updated layout and background

This commit is contained in:
2025-09-21 19:46:11 +02:00
parent 70c1a3f528
commit fae6b16bb6
17 changed files with 713 additions and 796 deletions
+16 -5
View File
@@ -4,16 +4,27 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
export default function Skill({
skill,
icon,
mt,
classInsert,
}: {
skill: string;
icon: IconProp;
mt?: string;
classInsert?: string;
}) {
return (
<div className="skill">
<FontAwesomeIcon icon={icon} width={40} className={`text-red ${mt}`} />
<span className="tooltip absolute bg-transparent-ish">{skill}</span>
<div className="relative flex items-center justify-center group">
<span
className="absolute bottom-full mb-2 left-1/2 -translate-x-1/2
bg-black text-white text-sm px-2 py-1 rounded
opacity-0 group-hover:opacity-100 transition-opacity duration-300 whitespace-nowrap"
>
Skilled in {" "} {skill}
</span>
<FontAwesomeIcon
icon={icon}
width={40}
className={`text-red ${classInsert} cursor-pointer`}
/>
</div>
);
}