Skip to content

Commit

Permalink
ロゴを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
piny940 committed Jul 1, 2023
1 parent 2a6caae commit c001939
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions public/images/skills/django.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/skills/python.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/skills/typescript.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/images/skills/vue.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/components/Portfolio/SkillItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ export const SkillItem: React.FC<SkillItemProps> = ({ skill, className }) => {
return (
<div className={className}>
<PieItem className="mx-auto" percent={skill.percent}>
<div className="d-flex flex-column mb-3">
<div className="d-flex flex-column mb-2">
{skill.logoSrc && (
<div className="icon text-center">
<Image
alt={`${skill.name}-logo`}
src={skill.logoSrc}
width={70}
height={70}
width={50}
height={50}
/>
</div>
)}
Expand Down
4 changes: 4 additions & 0 deletions src/data/skills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,21 @@ export const skillsData: SkillType[] = [
{
name: 'Typescript',
percent: 90,
logoSrc: '/images/skills/typescript.svg',
},
{
name: 'Python',
percent: 70,
logoSrc: '/images/skills/python.svg',
},
{
name: 'Vue',
percent: 40,
logoSrc: '/images/skills/vue.svg',
},
{
name: 'django',
percent: 30,
logoSrc: '/images/skills/django.svg',
},
]

0 comments on commit c001939

Please sign in to comment.