refactor: Dynamically load FAQ page content including categories, questions, and support details from CMS, and introduce new CMS types for FAQ structure.

This commit is contained in:
pradeepkumar committed 2026-02-24 03:53:29 +05:30
1 parent ccb1045107
commit 6d467cc8c0
2 files changed
+92 -14

No files matched your search

+21
View File
@@ -103,6 +103,27 @@ export interface AboutCtaContent {
buttonText: string;
}
export interface FaqCategoryItem {
id: string;
label: string;
}
export interface FaqItem {
id: number;
icon: string;
question: string;
answer: string;
category: string;
}
export interface FaqContent {
pageTitle: string;
categories: FaqCategoryItem[];
faqs: FaqItem[];
supportTitle: string;
supportDescription: string;
}
export interface CmsContentRecord {
id: string;
pageSlug: string;