added animations and formated the code

This commit is contained in:
2025-01-04 21:19:52 +01:00
parent c8d7b6b17c
commit c085964c85
8 changed files with 233 additions and 107 deletions
+11 -5
View File
@@ -1,13 +1,19 @@
import { IconProp } from "@fortawesome/fontawesome-svg-core";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
export default function Skill({skill, icon, mt}: {skill: string, icon: IconProp, mt?: string}) {
export default function Skill({
skill,
icon,
mt,
}: {
skill: string;
icon: IconProp;
mt?: string;
}) {
return (
<div className="skill">
<FontAwesomeIcon icon={icon} width={40} className={`text-red ${mt}`} />
<span className="tooltip absolute bg-transparent-ish">
{skill}
</span>
<span className="tooltip absolute bg-transparent-ish">{skill}</span>
</div>
);
}
}