import Icon from "@mdi/react"; import { mdiBash, mdiLanguageCpp, mdiLanguageCsharp, mdiLanguageJava, mdiLanguageJavascript, mdiLanguagePhp, mdiLanguagePython, mdiLanguageRust, mdiLanguageTypescript, mdiReact, mdiTranslateVariant, mdiDatabaseSearch } 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: 70 }], additional: [{ name: "SQL Languages", icon: }], colors: { background: "#C3A3F7", bars: "#8771AB", heading: "#55476B", useDarkColor: true, badges: { background: "#55476B", useDarkColor: false, } } }, { 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: }], colors: { background: "#4DEB8C", bars: "#38AB66", heading: "#236B40", useDarkColor: true, badges: { background: "#236B40", useDarkColor: false } } }, { title: "Languages", skillBars: [{ name: "German (native)", icon: , pct: 100 }, { name: "English (C1)", icon: , pct: 90 }, { name: "Russian (basics)", icon: , pct: 30 }], colors: { background: "#EB783F", bars: "#AB582E", heading: "#6B371D", useDarkColor: true, badges: { background: "#6B371D", useDarkColor: false, } } }] }; }; export default skills;