diff --git a/data/skills.tsx b/data/skills.tsx
index 344686c..c951d0c 100644
--- a/data/skills.tsx
+++ b/data/skills.tsx
@@ -24,120 +24,120 @@ export interface SkillSet {
additional?: AdditionalSkill[];
}
-export const skills = (size?: string): SkillSet => {
+export const skills = (sizeCardIcons?: string, sizeBadgeIcons?: string): SkillSet => {
return {
cards: [{
title: "Programming Languages",
skillBars: [{
name: "TypeScript",
- icon: ,
+ icon: ,
pct: 100
}, {
name: "JavaScript",
- icon: ,
+ icon: ,
pct: 100
}, {
name: "Java",
- icon: ,
+ icon: ,
pct: 80
}, {
name: "Python 3",
- icon: ,
+ icon: ,
pct: 95
}, {
name: "PHP",
- icon: ,
+ icon: ,
pct: 50
}, {
name: "Bash",
- icon: ,
+ icon: ,
pct: 60
}, {
name: "C/C++",
- icon: ,
+ icon: ,
pct: 60
}, {
name: "Rust",
- icon: ,
+ icon: ,
pct: 80
}, {
name: "C#",
- icon: ,
+ icon: ,
pct: 40
}]
}, {
title: "Web Technologies",
skillBars: [{
name: "TypeScript",
- icon: ,
+ icon: ,
pct: 100
}, {
name: "JavaScript",
- icon: ,
+ icon: ,
pct: 100
}, {
name: "React",
- icon: ,
+ icon: ,
pct: 80
}, {
name: "HTML5",
- icon: ,
+ icon: ,
pct: 80
}, {
name: "CSS3",
- icon: ,
+ icon: ,
pct: 90
}],
additional: [{
name: "Express",
- icon:
+ icon:
}, {
name: "Sass",
- icon:
+ icon:
}, {
name: "Spring Boot",
- icon:
+ icon:
}]
}, {
title: "Embedded Programming",
skillBars: [{
name: "C/C++",
- icon: ,
+ icon: ,
pct: 60
}],
additional: [{
name: "Arduino",
- icon:
+ icon:
}, {
name: "ESP",
- icon:
+ icon:
}]
}, {
title: "Operating Systems",
skillBars: [],
additional: [{
name: "Windows",
- icon:
+ icon:
}, {
name: "Linux",
- icon:
+ icon:
}, {
name: "Android",
- icon:
+ icon:
}]
}, {
title: "Languages",
skillBars: [{
name: "German (native)",
- icon: 🇩🇪,
+ icon: 🇩🇪,
pct: 100
}, {
name: "English (C1)",
- icon: 🇬🇧,
+ icon: 🇬🇧,
pct: 90
}, {
name: "Russian (basics)",
- icon: 🇷🇺,
+ icon: 🇷🇺,
pct: 30
}],
additional: []
diff --git a/pages/me.tsx b/pages/me.tsx
index ac2f797..9b0a4ee 100644
--- a/pages/me.tsx
+++ b/pages/me.tsx
@@ -25,10 +25,14 @@ const SkillBar: NextPage<{ skill: Skill }> = ({ skill }) => {
const SkillCard: NextPage<{ card: SkillCard }> = ({ card }) => {
return
{card.title}
+
{card.skillBars.sort((bar1, bar2) => bar2.pct - bar1.pct).map((skill, i) =>
- )}
- {card.additional?.map((skill, i) => )}
+ )}
+
+
+ {card.additional?.map((skill, i) => )}
+
;
};
diff --git a/styles/Blog/AboutMe.module.scss b/styles/Blog/AboutMe.module.scss
index 90045ff..413742c 100644
--- a/styles/Blog/AboutMe.module.scss
+++ b/styles/Blog/AboutMe.module.scss
@@ -20,6 +20,20 @@
}
}
+.badgeSet {
+ display: flex;
+ flex-direction: row;
+}
+
+.badge {
+ display: grid;
+ grid-template-columns: 1em auto;
+ column-gap: 5px;
+ border: 1px solid var(--blog_content-border);
+ border-radius: 0.5em;
+ padding: 5px;
+}
+
@keyframes barFill {
0% {
width: 1em;