Skip to content

Commit

Permalink
change btn to flex wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
aecuto committed Mar 1, 2024
1 parent 23102c0 commit fe5e4f9
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions src/app/components/Skill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,23 @@ export function Skills() {
<Typography variant="h5" className="mb-2 text-white">
{label}
</Typography>
{value.map((value) => (
<Button
key={value}
variant="outlined"
className="p-0 m-1 text-white border-0 w-fit"
>
<StackIcon name={value} />
<p>{value}</p>
</Button>
))}
{/* <span>
<StackIcon name={`js`} />
<span>Kramer</span>
</span> */}

<div className="flex flex-wrap">
{value.map((value) => (
<div
key={value}
className="m-1 text-white text-center hover:opacity-50 cursor-pointer"
>
<StackIcon name={value} />
<p className="text-center">{value}</p>
</div>
))}
</div>
</CardBody>
</Card>
</div>
Expand Down

0 comments on commit fe5e4f9

Please sign in to comment.