import Icon from "@mdi/react"; import { mdiBash, mdiLanguageCpp, mdiLanguageCsharp, mdiLanguageJava, mdiLanguageJavascript, mdiLanguagePhp, mdiLanguagePython, mdiLanguageRust, mdiLanguageTypescript, mdiReact, mdiTranslateVariant } 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 CardColors { background: string; bars: string; heading: string; useDarkColor: boolean; badges?: { background: string; useDarkColor: boolean; } } export interface SkillCard { title: string; skillBars: Skill[]; additional?: AdditionalSkill[]; colors?: CardColors; } export interface SkillSet { cards: SkillCard[]; additional?: AdditionalSkill[]; } export const skills = (sizeCardIcons?: string, sizeBadgeIcons?: string): SkillSet => { sizeCardIcons = sizeCardIcons || "2em"; sizeBadgeIcons = sizeBadgeIcons || "1em"; return { cards: [{ title: "Programming Languages", skillBars: [{ name: "TypeScript", icon: , pct: 100 }, { name: "JavaScript", icon: , pct: 100 }, { name: "Java", icon: , pct: 80 }, { name: "Python 3", icon: , pct: 95 }, { name: "PHP", icon: , pct: 50 }, { name: "Bash", icon: , pct: 60 }, { name: "C/C++", icon: , pct: 60 }, { name: "Rust", icon: , pct: 80 }, { name: "C#", icon: , pct: 40 }], /*colors: { background: "#690000", bars: "#fff", heading: "#fff" }*/ }, { title: "Web Technologies", skillBars: [{ name: "TypeScript", icon: , pct: 100 }, { name: "JavaScript", icon: , pct: 100 }, { name: "React", icon: , pct: 80 }, { name: "HTML5", icon: , pct: 80 }, { name: "CSS3", icon: , pct: 90 }], additional: [{ name: "Express", icon: }, { name: "Sass", icon: }, { name: "Spring Boot", icon: }], colors: { background: "#A4C7EA", bars: "#706EB8", heading: "#2A2885", useDarkColor: true, badges: { background: "#2A2885", useDarkColor: false, } } }, { title: "Embedded Programming", skillBars: [{ name: "C/C++", icon: , pct: 60 }], additional: [{ name: "Arduino", icon: }, { name: "ESP", icon: }], colors: { background: "#EA8585", bars: "#E53E3E", heading: "#661C1C", useDarkColor: true, badges: { background: "#661C1C", useDarkColor: false, } } }, { title: "Operating Systems", skillBars: [], additional: [{ name: "Windows", icon: }, { name: "Linux", icon: }, { name: "Android", icon: }] }, { title: "Languages", skillBars: [{ name: "German (native)", icon: , pct: 100 }, { name: "English (C1)", icon: , pct: 90 }, { name: "Russian (basics)", icon: , pct: 30 }], additional: [] }] }; }; export default skills;