2022-10-20 17:48:27 +02:00
|
|
|
import Icon from "@mdi/react";
|
|
|
|
import { mdiBash, mdiLanguageCpp, mdiLanguageCsharp, mdiLanguageJava, mdiLanguageJavascript, mdiLanguagePhp, mdiLanguagePython, mdiLanguageRust, mdiLanguageTypescript, mdiReact } from "@mdi/js";
|
|
|
|
import { Android, Arduino, CssThree, Espressif, Express, Html5, Linux, Sass, Springboot, Windows } from "@icons-pack/react-simple-icons";
|
|
|
|
|
|
|
|
export interface Skill {
|
|
|
|
name: string;
|
|
|
|
icon?: JSX.Element;
|
|
|
|
pct: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface AdditionalSkill {
|
|
|
|
name: string;
|
|
|
|
icon?: JSX.Element;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface SkillCard {
|
|
|
|
title: string;
|
|
|
|
skillBars: Skill[];
|
|
|
|
additional?: AdditionalSkill[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface SkillSet {
|
|
|
|
cards: SkillCard[];
|
|
|
|
additional?: AdditionalSkill[];
|
|
|
|
}
|
|
|
|
|
2022-10-20 23:43:44 +02:00
|
|
|
export const skills = (sizeCardIcons?: string, sizeBadgeIcons?: string): SkillSet => {
|
2022-10-20 17:48:27 +02:00
|
|
|
return {
|
|
|
|
cards: [{
|
|
|
|
title: "Programming Languages",
|
|
|
|
skillBars: [{
|
|
|
|
name: "TypeScript",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Icon path={mdiLanguageTypescript} size={sizeCardIcons || "2em"} />,
|
2022-10-20 17:48:27 +02:00
|
|
|
pct: 100
|
|
|
|
}, {
|
|
|
|
name: "JavaScript",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Icon path={mdiLanguageJavascript} size={sizeCardIcons || "2em"} />,
|
2022-10-20 17:48:27 +02:00
|
|
|
pct: 100
|
|
|
|
}, {
|
|
|
|
name: "Java",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Icon path={mdiLanguageJava} size={sizeCardIcons || "2em"} />,
|
2022-10-20 17:48:27 +02:00
|
|
|
pct: 80
|
|
|
|
}, {
|
|
|
|
name: "Python 3",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Icon path={mdiLanguagePython} size={sizeCardIcons || "2em"} />,
|
2022-10-20 17:48:27 +02:00
|
|
|
pct: 95
|
|
|
|
}, {
|
|
|
|
name: "PHP",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Icon path={mdiLanguagePhp} size={sizeCardIcons || "2em"} />,
|
2022-10-20 17:48:27 +02:00
|
|
|
pct: 50
|
|
|
|
}, {
|
|
|
|
name: "Bash",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Icon path={mdiBash} size={sizeCardIcons || "2em"} />,
|
2022-10-20 17:48:27 +02:00
|
|
|
pct: 60
|
|
|
|
}, {
|
|
|
|
name: "C/C++",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Icon path={mdiLanguageCpp} size={sizeCardIcons || "2em"} />,
|
2022-10-20 17:48:27 +02:00
|
|
|
pct: 60
|
|
|
|
}, {
|
|
|
|
name: "Rust",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Icon path={mdiLanguageRust} size={sizeCardIcons || "2em"} />,
|
2022-10-20 17:48:27 +02:00
|
|
|
pct: 80
|
|
|
|
}, {
|
|
|
|
name: "C#",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Icon path={mdiLanguageCsharp} size={sizeCardIcons || "2em"} />,
|
2022-10-20 17:48:27 +02:00
|
|
|
pct: 40
|
|
|
|
}]
|
|
|
|
}, {
|
|
|
|
title: "Web Technologies",
|
|
|
|
skillBars: [{
|
|
|
|
name: "TypeScript",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Icon path={mdiLanguageTypescript} size={sizeCardIcons || "2em"} />,
|
2022-10-20 17:48:27 +02:00
|
|
|
pct: 100
|
|
|
|
}, {
|
|
|
|
name: "JavaScript",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Icon path={mdiLanguageJavascript} size={sizeCardIcons || "2em"} />,
|
2022-10-20 17:48:27 +02:00
|
|
|
pct: 100
|
|
|
|
}, {
|
|
|
|
name: "React",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Icon path={mdiReact} size={sizeCardIcons || "2em"} />,
|
2022-10-20 17:48:27 +02:00
|
|
|
pct: 80
|
|
|
|
}, {
|
|
|
|
name: "HTML5",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Html5 size={sizeCardIcons || "2em"} />,
|
2022-10-20 17:48:27 +02:00
|
|
|
pct: 80
|
|
|
|
}, {
|
|
|
|
name: "CSS3",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <CssThree size={sizeCardIcons || "2em"} />,
|
2022-10-20 17:48:27 +02:00
|
|
|
pct: 90
|
|
|
|
}],
|
|
|
|
additional: [{
|
|
|
|
name: "Express",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Express size={sizeBadgeIcons || "1em"} />
|
2022-10-20 17:48:27 +02:00
|
|
|
}, {
|
|
|
|
name: "Sass",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Sass size={sizeBadgeIcons || "1em"} />
|
2022-10-20 17:48:27 +02:00
|
|
|
}, {
|
|
|
|
name: "Spring Boot",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Springboot size={sizeBadgeIcons || "1em"} />
|
2022-10-20 17:48:27 +02:00
|
|
|
}]
|
|
|
|
}, {
|
|
|
|
title: "Embedded Programming",
|
|
|
|
skillBars: [{
|
|
|
|
name: "C/C++",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Icon path={mdiLanguageCpp} size={sizeCardIcons || "2em"} />,
|
2022-10-20 17:48:27 +02:00
|
|
|
pct: 60
|
|
|
|
}],
|
|
|
|
additional: [{
|
|
|
|
name: "Arduino",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Arduino size={sizeBadgeIcons || "1em"} />
|
2022-10-20 17:48:27 +02:00
|
|
|
}, {
|
|
|
|
name: "ESP",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Espressif size={sizeBadgeIcons || "1em"} />
|
2022-10-20 17:48:27 +02:00
|
|
|
}]
|
|
|
|
}, {
|
|
|
|
title: "Operating Systems",
|
|
|
|
skillBars: [],
|
|
|
|
additional: [{
|
|
|
|
name: "Windows",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Windows size={sizeBadgeIcons || "1em"} />
|
2022-10-20 17:48:27 +02:00
|
|
|
}, {
|
|
|
|
name: "Linux",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Linux size={sizeBadgeIcons || "1em"} />
|
2022-10-20 17:48:27 +02:00
|
|
|
}, {
|
|
|
|
name: "Android",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <Android size={sizeBadgeIcons || "1em"} />
|
2022-10-20 17:48:27 +02:00
|
|
|
}]
|
|
|
|
}, {
|
|
|
|
title: "Languages",
|
|
|
|
skillBars: [{
|
|
|
|
name: "German (native)",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <span style={{ fontSize: sizeCardIcons || "2em" }}>🇩🇪</span>,
|
2022-10-20 17:48:27 +02:00
|
|
|
pct: 100
|
|
|
|
}, {
|
|
|
|
name: "English (C1)",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <span style={{ fontSize: sizeCardIcons || "2em" }}>🇬🇧</span>,
|
2022-10-20 17:48:27 +02:00
|
|
|
pct: 90
|
|
|
|
}, {
|
|
|
|
name: "Russian (basics)",
|
2022-10-20 23:43:44 +02:00
|
|
|
icon: <span style={{ fontSize: sizeCardIcons || "2em", fontFamily: "Arial" }}>🇷🇺</span>,
|
2022-10-20 17:48:27 +02:00
|
|
|
pct: 30
|
|
|
|
}],
|
|
|
|
additional: []
|
|
|
|
}]
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
export default skills;
|