feat(artboard): implement 8 new templates

This commit is contained in:
Amruth Pillai
2023-11-09 21:01:01 +01:00
parent 9acf7e8d22
commit 92bb9f96a0
37 changed files with 5422 additions and 1810 deletions

View File

@ -1,6 +1,6 @@
import { createId } from "@paralleldrive/cuid2";
import { ResumeDto } from "@reactive-resume/dto";
import { CustomSection, defaultSection, SectionKey } from "@reactive-resume/schema";
import { CustomSectionGroup, defaultSection, SectionKey } from "@reactive-resume/schema";
import { removeItemInLayout } from "@reactive-resume/utils";
import _set from "lodash.set";
import { temporal, TemporalState } from "zundo";
@ -38,7 +38,7 @@ export const useResumeStore = create<ResumeStore>()(
});
},
addSection: () => {
const section: CustomSection = {
const section: CustomSectionGroup = {
...defaultSection,
id: createId(),
name: "Custom Section",