Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | /** * Mock hero data for E2E testing * Used when USE_MOCK_DATA=true environment variable is set */ import type { HeroData } from "@/components/features/home/Hero/types"; export const mockHeroData: HeroData = { carousel: [ { id: 1, product: { id: 1, title: "Premium Event Package", slug: "1", price: 299.99, discountedPrice: 249.99, image: { id: 1, url: "/images/placeholder.jpg", thumbnailUrl: "/images/placeholder.jpg", }, }, headline: "Premium Event Package", subheadline: "Everything you need for your special event", badgeText: "17%", badgeSubtext: "Sale Off", ctaText: "Shop Now", order: 1, }, { id: 2, product: { id: 2, title: "Deluxe Decoration Set", slug: "2", price: 149.99, discountedPrice: null, image: { id: 2, url: "/images/placeholder.jpg", thumbnailUrl: "/images/placeholder.jpg", }, }, headline: "Deluxe Decoration Set", subheadline: "Transform any space into a celebration", badgeText: "New", badgeSubtext: null, ctaText: "Explore", order: 2, }, ], featureCards: [ { id: 1, product: { id: 3, title: "Party Essentials Bundle", slug: "3", price: 79.99, discountedPrice: 59.99, image: { id: 3, url: "/images/placeholder.jpg", thumbnailUrl: "/images/placeholder.jpg", }, }, title: "Party Essentials Bundle", subtitle: "limited time offer", position: "top", }, { id: 2, product: { id: 4, title: "Celebration Starter Kit", slug: "4", price: 49.99, discountedPrice: null, image: { id: 4, url: "/images/placeholder.jpg", thumbnailUrl: "/images/placeholder.jpg", }, }, title: "Celebration Starter Kit", subtitle: "best seller", position: "bottom", }, ], promoBanners: [ { id: 1, title: "Summer Sale", headline: "Up to 50% Off", description: "Don't miss our biggest sale of the season", ctaText: "Shop Sale", ctaLink: "/products?sale=true", product: null, imageUrl: "/images/placeholder.jpg", backgroundColor: "#1e40af", textColor: "#ffffff", darkBgColor: "#1e3a8a", darkTextColor: "#ffffff", size: "large", imagePosition: "right", order: 1, }, ], }; |