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
2026-02-24 03:53:29 +05:30
parent ccb1045107
commit 6d467cc8c0
2 changed files with 92 additions and 14 deletions

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;