websitepratik / types.ts
Antaram's picture
Upload 29 files
efb726d verified
import React from 'react';
export interface NavItem {
id: string;
label: string;
icon?: React.ReactNode;
}
export interface SpiceData {
id: string;
name: string;
scoville: string;
description: string;
origin: string;
color: string;
image: string;
heatIndex: number; // 1-10 scale for visual meter
}
export interface HeroContent {
headline: string;
subheadline: string;
cta: string;
}
export interface TrustStat {
id: string;
value: number;
suffix: string;
label: string;
}
export interface StoryStage {
id: string;
title: string;
subtitle: string;
description: string;
image: string;
stat?: string;
}
export interface ComparisonItem {
id: string;
problem: string;
solution: string;
}
export interface ImpactMetric {
id: string;
value: string;
label: string;
description: string;
}
export interface Testimonial {
id: string;
quote: string;
name: string;
role: string;
location: string;
image?: string;
language: 'en' | 'hi' | 'mr' | 'kn'; // Added language support
}
export interface CTAContent {
headline: string;
buttonLabel: string;
owners: {
name: string;
role: string;
}[];
}
export interface FooterContent {
brandName: string;
coordinates: string;
tagline: string;
developer: {
team: string;
name: string;
url: string;
};
address: string;
}