hotschpotsh/Pottery-website/types.ts

38 lines
629 B
TypeScript

export interface NavItem {
label: string;
href: string;
}
export interface CollectionItem {
id: number;
title: string;
price: number;
image: string;
images: string[];
description?: string;
slug: string;
number: string;
aspectRatio: string;
details?: string[];
}
export interface JournalEntry {
id: number;
title: string;
date: string;
image: string;
sections: {
id: string;
type: 'text' | 'image';
content: string;
}[];
slug: string;
category?: string;
description?: string;
isFeatured?: boolean;
}
export interface FooterSection {
title: string;
links: NavItem[];
}