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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user