types.ts 932 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. export interface SubMenuItem {
  2. title: string;
  3. link: string;
  4. }
  5. export interface MenuItem {
  6. title: string;
  7. link: string;
  8. submenu?: SubMenuItem[];
  9. }
  10. export interface CruiseShip {
  11. id: string;
  12. name: string;
  13. description: string;
  14. image: string;
  15. }
  16. export interface Itinerary {
  17. id: string;
  18. title: string;
  19. days: number;
  20. price: string;
  21. image: string;
  22. video?: string; // Added video support
  23. route: string;
  24. }
  25. export interface Feature {
  26. title: string;
  27. description: string;
  28. icon: string;
  29. }
  30. export interface DiningSection {
  31. title: string;
  32. description: string;
  33. buttonText: string;
  34. image: string;
  35. }
  36. export interface VideoSectionContent {
  37. title: string;
  38. titleItalic: string;
  39. description: string;
  40. thumbnail: string;
  41. }
  42. // New Interface for Ships Page Images
  43. export interface ShipsPageImages {
  44. lanyue: string[]; // Expecting 4 images
  45. aurora: string;
  46. }
  47. export type Language = 'zh' | 'en';