forked from UKSOURCE/hailearning.edu.vn
66 lines
1.2 KiB
TypeScript
66 lines
1.2 KiB
TypeScript
// Type definitions for Pricing page
|
|
|
|
export interface BreadcrumbItem {
|
|
text: string;
|
|
link: string;
|
|
}
|
|
|
|
export interface Hero {
|
|
title: string;
|
|
backgroundImage: string;
|
|
shapeImage: string;
|
|
breadcrumb: BreadcrumbItem[];
|
|
}
|
|
|
|
export interface PricingSection {
|
|
subtitle: string;
|
|
heading: string;
|
|
description: string;
|
|
}
|
|
|
|
export interface Plan {
|
|
name: string;
|
|
price: string;
|
|
period: string;
|
|
currency: string;
|
|
buttonText: string;
|
|
buttonLink: string;
|
|
buttonIcon: string;
|
|
style: "default" | "style-2";
|
|
features: string[];
|
|
}
|
|
|
|
export interface Plans {
|
|
monthly: Plan[];
|
|
yearly: Plan[];
|
|
}
|
|
|
|
export interface TestimonialItem {
|
|
name: string;
|
|
role: string;
|
|
rating: number;
|
|
content: string;
|
|
}
|
|
|
|
export interface Testimonials {
|
|
subtitle: string;
|
|
heading: string;
|
|
buttonText: string;
|
|
buttonLink: string;
|
|
buttonIcon: string;
|
|
image: string;
|
|
items: TestimonialItem[];
|
|
}
|
|
|
|
export interface PricingData {
|
|
hero: Hero;
|
|
pricingSection: PricingSection;
|
|
plans: Plans;
|
|
testimonials: Testimonials;
|
|
}
|
|
|
|
export interface PricingAPIResponse {
|
|
success: boolean;
|
|
data: PricingData;
|
|
}
|