import { useTranslations } from "next-intl"
import { FaToolbox } from "react-icons/fa"
import {
SKILL_CATEGORIES,
SKILL_NAMES_BY_CATEGORY,
} from "../Home/Skills/skills.ts"
import { CurriculumVitaeSection } from "./CurriculumVitaeSection.tsx"
export interface CurriculumVitaeSkillsProps {}
export const CurriculumVitaeSkills: React.FC<
CurriculumVitaeSkillsProps
> = () => {
const t = useTranslations()
const skills = [
...SKILL_CATEGORIES.map((category) => {
const skillNames = SKILL_NAMES_BY_CATEGORY[category]
return {
category,
skillNames,
}
}),
{
category: "others",
skillNames: [
t("fr-FR-main"),
t("locales.en-US"),
t("home.skills.driving-license"),
],
},
] as const
return (
{skillName} {skillName === "Rust" ? t.rich("home.skills.rust-advent-of-code", { "link-aoc": (children) => { return ( {children} ) }, }) : skillName === "Go" ? t("home.skills.go-basics") : ""}
) })}