템플릿 확장: FAQ/Pricing/Testimonials 섹션 추가
CI / test (push) Failing after 6m1s
CI / pr_and_merge (push) Has been skipped

This commit is contained in:
2025-11-18 17:14:02 +09:00
parent 8494bd64bc
commit efa8d34fe2
4 changed files with 381 additions and 0 deletions
+24
View File
@@ -37,6 +37,9 @@ export default function EditorPage() {
const addHeroTemplateSection = useEditorStore((state) => state.addHeroTemplateSection);
const addFeaturesTemplateSection = useEditorStore((state) => state.addFeaturesTemplateSection);
const addCtaTemplateSection = useEditorStore((state) => state.addCtaTemplateSection);
const addFaqTemplateSection = useEditorStore((state) => state.addFaqTemplateSection);
const addPricingTemplateSection = useEditorStore((state) => state.addPricingTemplateSection);
const addTestimonialsTemplateSection = useEditorStore((state) => state.addTestimonialsTemplateSection);
const updateBlock = useEditorStore((state) => state.updateBlock);
const selectBlock = useEditorStore((state) => state.selectBlock);
const replaceBlocks = useEditorStore((state) => state.replaceBlocks);
@@ -373,6 +376,27 @@ export default function EditorPage() {
>
CTA 릿
</button>
<button
type="button"
className="w-full rounded border border-slate-700 bg-slate-900 px-3 py-2 text-left text-xs hover:bg-slate-800"
onClick={addFaqTemplateSection}
>
FAQ 릿
</button>
<button
type="button"
className="w-full rounded border border-slate-700 bg-slate-900 px-3 py-2 text-left text-xs hover:bg-slate-800"
onClick={addPricingTemplateSection}
>
Pricing 릿
</button>
<button
type="button"
className="w-full rounded border border-slate-700 bg-slate-900 px-3 py-2 text-left text-xs hover:bg-slate-800"
onClick={addTestimonialsTemplateSection}
>
Testimonials 릿
</button>
</div>
<p className="text-xs text-slate-500">
Text / Image / Button / Section .