Skip to content

Commit

Permalink
Finished skills grid
Browse files Browse the repository at this point in the history
  • Loading branch information
diogofrosario committed Sep 6, 2024
1 parent 970ed8f commit c1c75b1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions src/components/Sections.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
SiTensorflow,
SiHuggingface,
SiScikitlearn,
SiJupyter,
} from "react-icons/si";

import SkillCard from "./SkillCard";
Expand Down Expand Up @@ -176,20 +177,21 @@ export function Timeline() {
export function Skills() {
return (
<div className="bg-black text-white h-screen w-full p-4" id="skills">
<p>Skills:</p>
<div className="grid grid-cols-3 gap-4 mt-10 pl-10 border-2 rounded-lg w-4/5 center">
<p>Main Tools & Technologies:</p>
<div className="grid grid-cols-3 gap-4 mt-10 w-1/2 mx-auto">
<SkillCard Icon={FaPython} skillName="Python" />
<SkillCard Icon={SiPytorch} skillName="Pytorch" />
<SkillCard Icon={SiTensorflow} skillName="Tensorflow" />
<SkillCard Icon={FaLinux} skillName="Linux" />
<SkillCard
Icon={SiHuggingface}
skillName="Huggingface & Transformers"
/>
<SkillCard Icon={SiScikitlearn} skillName="Scikit-learn" />
<SkillCard Icon={SiRstudioide} skillName="R" />
<SkillCard Icon={FaLinux} skillName="Linux" />
<SkillCard Icon={FaAws} skillName="AWS" />
<SkillCard Icon={SiRstudioide} skillName="R" />
<SkillCard Icon={SiJupyter} skillName="Jupyter" />
</div>
</div>
);
}
}
2 changes: 1 addition & 1 deletion src/components/SkillCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface SkillCardProps {

export default function SkillCard({ Icon, skillName, iconSize = 48 }: SkillCardProps) {
return (
<div className="flex flex-col items-center justify-center bg-gray-900 rounded-lg p-5 m-4 w-56 hover:scale-105 hover:bg-gray-800 transition-transform duration-300">
<div className="flex flex-col items-center justify-center bg-gray-900 rounded-lg p-5 m-4 w-56 hover:scale-110 hover:bg-gray-800 transition-transform duration-300">
<Icon size={iconSize} />
<p className="mt-3 text-lg font-semibold text-white text-center">{skillName}</p>
</div>
Expand Down

0 comments on commit c1c75b1

Please sign in to comment.