import { t } from "@lingui/macro"; import { AspectRatio } from "@reactive-resume/ui"; import { cn, templatesList } from "@reactive-resume/utils"; import { motion } from "framer-motion"; import { useResumeStore } from "@/client/stores/resume"; import { getSectionIcon } from "../shared/section-icon"; export const TemplateSection = () => { const setValue = useResumeStore((state) => state.setValue); const currentTemplate = useResumeStore((state) => state.resume.data.metadata.template); return (
{getSectionIcon("template")}

{t`Template`}

{templatesList.map((template, index) => ( { setValue("metadata.template", template); }} > {template}

{template}

))}
); };