@mohasinac/appkit 2.3.1 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +12 -8
- package/dist/client.js +7 -4
- package/dist/constants/api-endpoints.d.ts +4 -0
- package/dist/constants/api-endpoints.js +2 -0
- package/dist/core/contact-submissions.repository.d.ts +32 -0
- package/dist/core/contact-submissions.repository.js +49 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +1 -0
- package/dist/features/about/components/HowPayoutsWorkView.js +1 -1
- package/dist/features/account/components/AddressFilters.d.ts +5 -0
- package/dist/features/account/components/AddressFilters.js +20 -0
- package/dist/features/account/components/AddressesIndexListing.d.ts +6 -0
- package/dist/features/account/components/AddressesIndexListing.js +51 -0
- package/dist/features/account/components/UserSidebar.d.ts +7 -3
- package/dist/features/account/components/UserSidebar.js +55 -7
- package/dist/features/account/hooks/useAddresses.d.ts +7 -0
- package/dist/features/account/hooks/useAddresses.js +12 -1
- package/dist/features/admin/actions/admin-read-actions.d.ts +12 -0
- package/dist/features/admin/actions/admin-read-actions.js +18 -0
- package/dist/features/admin/components/AdminBlogView.js +26 -2
- package/dist/features/admin/components/AdminCarouselView.js +18 -2
- package/dist/features/admin/components/AdminCategoriesView.js +27 -2
- package/dist/features/admin/components/AdminContactView.d.ts +4 -0
- package/dist/features/admin/components/AdminContactView.js +50 -0
- package/dist/features/admin/components/AdminFaqsView.js +19 -2
- package/dist/features/admin/components/AdminListingScaffold.d.ts +11 -2
- package/dist/features/admin/components/AdminListingScaffold.js +14 -3
- package/dist/features/admin/components/AdminNewsletterView.d.ts +4 -0
- package/dist/features/admin/components/AdminNewsletterView.js +50 -0
- package/dist/features/admin/components/AdminProductsView.js +30 -2
- package/dist/features/admin/components/AdminReviewsView.js +26 -2
- package/dist/features/admin/components/AdminStoresView.js +17 -2
- package/dist/features/admin/components/AdminUsersView.js +27 -2
- package/dist/features/admin/components/DataTable.d.ts +2 -1
- package/dist/features/admin/components/DataTable.js +18 -4
- package/dist/features/admin/components/index.d.ts +6 -0
- package/dist/features/admin/components/index.js +3 -0
- package/dist/features/admin/hooks/useAdminListingData.d.ts +3 -1
- package/dist/features/admin/hooks/useAdminListingData.js +12 -7
- package/dist/features/admin/server.d.ts +3 -0
- package/dist/features/admin/server.js +2 -0
- package/dist/features/auctions/components/AuctionDetailPageView.js +93 -47
- package/dist/features/auctions/components/AuctionFilters.d.ts +8 -0
- package/dist/features/auctions/components/AuctionFilters.js +12 -0
- package/dist/features/auctions/components/AuctionsListView.d.ts +6 -1
- package/dist/features/auctions/components/AuctionsListView.js +37 -5
- package/dist/features/auctions/schemas/index.d.ts +4 -4
- package/dist/features/blog/components/BlogFeaturedCard.d.ts +1 -7
- package/dist/features/blog/components/BlogFeaturedCard.js +4 -5
- package/dist/features/blog/components/BlogFilters.js +2 -1
- package/dist/features/blog/components/BlogIndexListing.js +14 -9
- package/dist/features/blog/components/BlogIndexPageView.d.ts +6 -1
- package/dist/features/blog/components/BlogIndexPageView.js +10 -2
- package/dist/features/blog/components/BlogListView.d.ts +2 -1
- package/dist/features/blog/components/BlogListView.js +10 -3
- package/dist/features/categories/components/CategoriesIndexListing.d.ts +1 -1
- package/dist/features/categories/components/CategoriesIndexListing.js +41 -38
- package/dist/features/categories/components/CategoriesIndexPageView.d.ts +6 -1
- package/dist/features/categories/components/CategoriesIndexPageView.js +41 -2
- package/dist/features/categories/components/CategoryDetailPageView.js +13 -6
- package/dist/features/categories/components/CategoryDetailTabs.d.ts +5 -0
- package/dist/features/categories/components/CategoryDetailTabs.js +17 -0
- package/dist/features/categories/components/CategoryFilters.js +2 -1
- package/dist/features/categories/components/CategoryGrid.d.ts +2 -1
- package/dist/features/categories/components/CategoryGrid.js +8 -6
- package/dist/features/categories/components/CategoryProductsListing.js +22 -11
- package/dist/features/categories/components/index.d.ts +2 -0
- package/dist/features/categories/components/index.js +1 -0
- package/dist/features/categories/hooks/useCategories.d.ts +20 -0
- package/dist/features/categories/hooks/useCategories.js +50 -1
- package/dist/features/categories/hooks/useCategoryTree.d.ts +17 -0
- package/dist/features/categories/hooks/useCategoryTree.js +65 -0
- package/dist/features/events/components/AdminEventEditorView.d.ts +6 -0
- package/dist/features/events/components/AdminEventEditorView.js +203 -0
- package/dist/features/events/components/AdminEventsView.js +28 -2
- package/dist/features/events/components/EventCard.js +4 -2
- package/dist/features/events/components/EventFilters.js +2 -1
- package/dist/features/events/components/EventsIndexListing.js +40 -10
- package/dist/features/events/components/EventsListPageView.d.ts +6 -1
- package/dist/features/events/components/EventsListPageView.js +40 -7
- package/dist/features/events/components/index.d.ts +2 -0
- package/dist/features/events/components/index.js +1 -0
- package/dist/features/events/hooks/useEvents.js +2 -0
- package/dist/features/events/types/index.d.ts +1 -0
- package/dist/features/homepage/components/BlogArticlesSection.js +1 -1
- package/dist/features/homepage/components/EventsSection.js +1 -1
- package/dist/features/homepage/components/FeaturedAuctionsSection.js +1 -1
- package/dist/features/homepage/components/FeaturedPreOrdersSection.js +1 -1
- package/dist/features/homepage/components/FeaturedProductsSection.js +1 -1
- package/dist/features/homepage/components/FeaturedStoresSection.js +1 -1
- package/dist/features/homepage/components/HeroCarousel.js +1 -1
- package/dist/features/homepage/components/MarketplaceHomepageView.js +27 -17
- package/dist/features/homepage/components/SectionCarousel.js +4 -4
- package/dist/features/homepage/components/ShopByCategorySection.js +2 -2
- package/dist/features/homepage/schemas/firestore.d.ts +1 -1
- package/dist/features/homepage/schemas/firestore.js +2 -1
- package/dist/features/layout/AppLayoutShell.d.ts +6 -2
- package/dist/features/layout/AppLayoutShell.js +7 -3
- package/dist/features/pre-orders/components/MarketplacePreorderCard.d.ts +3 -1
- package/dist/features/pre-orders/components/MarketplacePreorderCard.js +6 -2
- package/dist/features/pre-orders/components/PreOrderDetailPageView.js +80 -12
- package/dist/features/pre-orders/components/PreOrderFilters.d.ts +8 -0
- package/dist/features/pre-orders/components/PreOrderFilters.js +21 -0
- package/dist/features/pre-orders/components/PreOrdersIndexListing.d.ts +2 -1
- package/dist/features/pre-orders/components/PreOrdersIndexListing.js +69 -10
- package/dist/features/pre-orders/components/PreOrdersListView.d.ts +6 -1
- package/dist/features/pre-orders/components/PreOrdersListView.js +26 -7
- package/dist/features/pre-orders/components/index.d.ts +2 -0
- package/dist/features/pre-orders/components/index.js +1 -0
- package/dist/features/products/components/AuctionsIndexListing.d.ts +2 -1
- package/dist/features/products/components/AuctionsIndexListing.js +61 -9
- package/dist/features/products/components/InteractiveProductCard.d.ts +2 -4
- package/dist/features/products/components/InteractiveProductCard.js +2 -2
- package/dist/features/products/components/ProductDetailPageView.d.ts +1 -1
- package/dist/features/products/components/ProductDetailPageView.js +116 -25
- package/dist/features/products/components/ProductFilters.d.ts +6 -11
- package/dist/features/products/components/ProductFilters.js +5 -3
- package/dist/features/products/components/ProductGrid.d.ts +8 -2
- package/dist/features/products/components/ProductGrid.js +20 -5
- package/dist/features/products/components/ProductTabsShell.d.ts +3 -11
- package/dist/features/products/components/ProductTabsShell.js +14 -14
- package/dist/features/products/components/ProductsIndexListing.js +73 -9
- package/dist/features/products/components/ProductsIndexPageView.d.ts +6 -1
- package/dist/features/products/components/ProductsIndexPageView.js +39 -6
- package/dist/features/products/components/RelatedProductsCarousel.d.ts +7 -0
- package/dist/features/products/components/RelatedProductsCarousel.js +11 -0
- package/dist/features/products/components/index.d.ts +1 -0
- package/dist/features/products/components/index.js +1 -0
- package/dist/features/products/hooks/useProducts.js +16 -0
- package/dist/features/products/repository/products.repository.d.ts +8 -0
- package/dist/features/products/repository/products.repository.js +2 -0
- package/dist/features/products/schemas/index.d.ts +8 -8
- package/dist/features/products/types/index.d.ts +12 -0
- package/dist/features/promotions/components/CouponsIndexListing.d.ts +9 -0
- package/dist/features/promotions/components/CouponsIndexListing.js +86 -0
- package/dist/features/promotions/components/PromotionsView.d.ts +11 -5
- package/dist/features/promotions/components/PromotionsView.js +6 -1
- package/dist/features/promotions/components/index.d.ts +4 -2
- package/dist/features/promotions/components/index.js +2 -1
- package/dist/features/reviews/components/ReviewDetailPageView.d.ts +4 -0
- package/dist/features/reviews/components/ReviewDetailPageView.js +20 -0
- package/dist/features/reviews/components/ReviewDetailShell.d.ts +7 -0
- package/dist/features/reviews/components/ReviewDetailShell.js +80 -0
- package/dist/features/reviews/components/ReviewFilters.d.ts +3 -3
- package/dist/features/reviews/components/ReviewFilters.js +5 -4
- package/dist/features/reviews/components/ReviewsIndexListing.d.ts +4 -3
- package/dist/features/reviews/components/ReviewsIndexListing.js +35 -51
- package/dist/features/reviews/components/ReviewsIndexPageView.d.ts +6 -1
- package/dist/features/reviews/components/ReviewsIndexPageView.js +49 -3
- package/dist/features/reviews/components/ReviewsList.js +9 -1
- package/dist/features/reviews/components/index.d.ts +1 -0
- package/dist/features/reviews/hooks/useReviews.js +15 -1
- package/dist/features/reviews/types/index.d.ts +6 -1
- package/dist/features/seller/components/SellerSidebar.d.ts +8 -4
- package/dist/features/seller/components/SellerSidebar.js +6 -4
- package/dist/features/seller/components/index.d.ts +30 -0
- package/dist/features/seller/components/index.js +17 -0
- package/dist/features/seller/hooks/useSellerStore.d.ts +2 -0
- package/dist/features/seller/hooks/useSellerStore.js +2 -0
- package/dist/features/seller/permission-map.d.ts +4 -2
- package/dist/features/seller/permission-map.js +16 -14
- package/dist/features/seller/schemas/index.d.ts +2 -2
- package/dist/features/stores/api/[storeSlug]/reviews/route.d.ts +1 -1
- package/dist/features/stores/api/[storeSlug]/reviews/route.js +24 -19
- package/dist/features/stores/components/InteractiveStoreCard.d.ts +0 -5
- package/dist/features/stores/components/InteractiveStoreCard.js +9 -9
- package/dist/features/stores/components/StoreAuctionsListing.js +27 -9
- package/dist/features/stores/components/StoreDetailLayoutView.js +2 -0
- package/dist/features/stores/components/StoreFilters.d.ts +5 -0
- package/dist/features/stores/components/StoreFilters.js +20 -0
- package/dist/features/stores/components/StoreHeader.js +2 -2
- package/dist/features/stores/components/StorePreOrdersListing.d.ts +5 -0
- package/dist/features/stores/components/StorePreOrdersListing.js +40 -0
- package/dist/features/stores/components/StorePreOrdersPageView.d.ts +4 -0
- package/dist/features/stores/components/StorePreOrdersPageView.js +21 -0
- package/dist/features/stores/components/StoreProductsListing.js +21 -11
- package/dist/features/stores/components/StoreReviewsListing.js +2 -7
- package/dist/features/stores/components/StoresIndexListing.js +42 -8
- package/dist/features/stores/components/StoresIndexPageView.d.ts +6 -1
- package/dist/features/stores/components/StoresIndexPageView.js +9 -2
- package/dist/features/stores/components/index.d.ts +3 -0
- package/dist/features/stores/components/index.js +1 -0
- package/dist/features/stores/hooks/useStores.d.ts +7 -1
- package/dist/features/stores/hooks/useStores.js +16 -3
- package/dist/features/stores/schemas/index.d.ts +2 -2
- package/dist/features/stores/types/index.d.ts +3 -0
- package/dist/features/wishlist/hooks/useGuestWishlist.d.ts +20 -0
- package/dist/features/wishlist/hooks/useGuestWishlist.js +49 -0
- package/dist/features/wishlist/hooks/useWishlistCount.d.ts +7 -0
- package/dist/features/wishlist/hooks/useWishlistCount.js +31 -0
- package/dist/features/wishlist/hooks/useWishlistWithGuest.d.ts +56 -0
- package/dist/features/wishlist/hooks/useWishlistWithGuest.js +57 -0
- package/dist/features/wishlist/index.d.ts +3 -0
- package/dist/features/wishlist/index.js +3 -0
- package/dist/features/wishlist/utils/guest-wishlist.d.ts +22 -0
- package/dist/features/wishlist/utils/guest-wishlist.js +70 -0
- package/dist/index.d.ts +50 -1
- package/dist/index.js +63 -1
- package/dist/next/routing/route-map.d.ts +70 -36
- package/dist/next/routing/route-map.js +30 -22
- package/dist/seed/addresses-seed-data.js +62 -261
- package/dist/seed/beyblade-seed-data.d.ts +7 -0
- package/dist/seed/beyblade-seed-data.js +947 -0
- package/dist/seed/bids-seed-data.d.ts +10 -2
- package/dist/seed/bids-seed-data.js +220 -1071
- package/dist/seed/blog-posts-seed-data.d.ts +2 -2
- package/dist/seed/blog-posts-seed-data.js +455 -117
- package/dist/seed/cart-seed-data.d.ts +9 -9
- package/dist/seed/cart-seed-data.js +73 -74
- package/dist/seed/coupons-seed-data.d.ts +3 -4
- package/dist/seed/coupons-seed-data.js +3 -509
- package/dist/seed/events-seed-data.d.ts +2 -2
- package/dist/seed/events-seed-data.js +315 -476
- package/dist/seed/faq-seed-data.d.ts +18 -41
- package/dist/seed/faq-seed-data.js +1059 -1172
- package/dist/seed/hot-wheels-seed-data.d.ts +7 -0
- package/dist/seed/hot-wheels-seed-data.js +1365 -0
- package/dist/seed/index.d.ts +6 -1
- package/dist/seed/index.js +6 -1
- package/dist/seed/pokemon-carousel-slides-seed-data.d.ts +4 -2
- package/dist/seed/pokemon-carousel-slides-seed-data.js +152 -268
- package/dist/seed/pokemon-categories-seed-data.d.ts +18 -21
- package/dist/seed/pokemon-categories-seed-data.js +424 -1004
- package/dist/seed/pokemon-coupons-seed-data.d.ts +6 -0
- package/dist/seed/pokemon-coupons-seed-data.js +465 -0
- package/dist/seed/pokemon-homepage-sections-seed-data.d.ts +3 -2
- package/dist/seed/pokemon-homepage-sections-seed-data.js +67 -289
- package/dist/seed/pokemon-products-seed-data.js +662 -0
- package/dist/seed/pokemon-seed-bundle.d.ts +32 -11
- package/dist/seed/pokemon-seed-bundle.js +41 -11
- package/dist/seed/pokemon-stores-seed-data.d.ts +2 -3
- package/dist/seed/pokemon-stores-seed-data.js +56 -31
- package/dist/seed/pokemon-users-seed-data.d.ts +2 -2
- package/dist/seed/pokemon-users-seed-data.js +245 -261
- package/dist/seed/reviews-seed-data.d.ts +17 -2
- package/dist/seed/reviews-seed-data.js +519 -483
- package/dist/seed/site-settings-seed-data.js +14 -14
- package/dist/seed/store-addresses-seed-data.js +68 -50
- package/dist/seed/transformers-seed-data.d.ts +7 -0
- package/dist/seed/transformers-seed-data.js +510 -0
- package/dist/seed/wishlists-seed-data.d.ts +5 -1
- package/dist/seed/wishlists-seed-data.js +82 -4
- package/dist/server.d.ts +1 -0
- package/dist/server.js +2 -0
- package/dist/tokens/index.d.ts +6 -0
- package/dist/tokens/index.js +2 -0
- package/dist/ui/components/BaseListingCard.js +24 -26
- package/dist/ui/components/BaseListingCard.style.css +5 -5
- package/dist/ui/components/HorizontalScroller.d.ts +1 -1
- package/dist/ui/components/HorizontalScroller.js +19 -5
- package/dist/ui/components/SideDrawer.style.css +3 -11
- package/dist/ui/rich-text/RichText.js +19 -1
- package/package.json +1 -1
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Multi-Franchise Collectibles — Homepage Sections Seed Data (5 sections)
|
|
3
|
+
*
|
|
4
|
+
* Covers Pokémon TCG · Hot Wheels · Beyblade Burst · Transformers
|
|
4
5
|
*/
|
|
5
6
|
const NOW = new Date();
|
|
6
7
|
const daysAgo = (n) => new Date(NOW.getTime() - n * 86400000);
|
|
7
8
|
export const pokemonHomepageSectionsSeedData = [
|
|
8
|
-
// -- 1. Welcome
|
|
9
|
+
// -- 1. Welcome ---------------------------------------------------------------
|
|
9
10
|
{
|
|
10
|
-
id: "section-welcome-
|
|
11
|
+
id: "section-welcome-multifranchise-1",
|
|
11
12
|
type: "welcome",
|
|
12
13
|
order: 1,
|
|
13
14
|
enabled: true,
|
|
14
15
|
config: {
|
|
15
|
-
h1: "
|
|
16
|
-
subtitle: "
|
|
16
|
+
h1: "India's #1 Collectibles Marketplace",
|
|
17
|
+
subtitle: "Pokémon TCG · Hot Wheels · Beyblade Burst · Transformers",
|
|
17
18
|
description: JSON.stringify({
|
|
18
19
|
type: "doc",
|
|
19
20
|
content: [
|
|
@@ -22,102 +23,50 @@ export const pokemonHomepageSectionsSeedData = [
|
|
|
22
23
|
content: [
|
|
23
24
|
{
|
|
24
25
|
type: "text",
|
|
25
|
-
text: "Shop
|
|
26
|
-
"
|
|
26
|
+
text: "Shop authentic collectibles from verified sellers across India. " +
|
|
27
|
+
"Original Pokémon Base Set singles, Hot Wheels Treasure Hunts, Beyblade Burst tops, " +
|
|
28
|
+
"and vintage Transformers — all in one place.",
|
|
27
29
|
},
|
|
28
30
|
],
|
|
29
31
|
},
|
|
30
32
|
],
|
|
31
33
|
}),
|
|
32
34
|
showCTA: true,
|
|
33
|
-
ctaText: "
|
|
35
|
+
ctaText: "Explore All Collectibles",
|
|
34
36
|
ctaLink: "/products",
|
|
35
37
|
},
|
|
36
38
|
createdAt: daysAgo(30),
|
|
37
39
|
updatedAt: daysAgo(1),
|
|
38
40
|
},
|
|
39
|
-
// -- 2.
|
|
41
|
+
// -- 2. Featured Products (all franchises) ------------------------------------
|
|
40
42
|
{
|
|
41
|
-
id: "section-
|
|
42
|
-
type: "trust-indicators",
|
|
43
|
-
order: 2,
|
|
44
|
-
enabled: true,
|
|
45
|
-
config: {
|
|
46
|
-
title: "Why Trainers Trust LetItRip",
|
|
47
|
-
indicators: [
|
|
48
|
-
{
|
|
49
|
-
id: "trust_001",
|
|
50
|
-
icon: "🔍",
|
|
51
|
-
title: "Authenticity Verified",
|
|
52
|
-
description: "Every card inspected by our expert team",
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
id: "trust_002",
|
|
56
|
-
icon: "📦",
|
|
57
|
-
title: "Safe Shipping",
|
|
58
|
-
description: "Top-loaders, bubble mailers, and tracked dispatch",
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
id: "trust_003",
|
|
62
|
-
icon: "🏆",
|
|
63
|
-
title: "PSA / BGS Graded",
|
|
64
|
-
description: "Graded slabs authenticated and sealed",
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
id: "trust_004",
|
|
68
|
-
icon: "💳",
|
|
69
|
-
title: "Secure Payments",
|
|
70
|
-
description: "100% safe and encrypted checkout",
|
|
71
|
-
},
|
|
72
|
-
],
|
|
73
|
-
},
|
|
74
|
-
createdAt: daysAgo(30),
|
|
75
|
-
updatedAt: daysAgo(1),
|
|
76
|
-
},
|
|
77
|
-
// -- 3. Featured Categories ------------------------------------------------
|
|
78
|
-
{
|
|
79
|
-
id: "section-categories-pokemon-1707300000003",
|
|
80
|
-
type: "categories",
|
|
81
|
-
order: 3,
|
|
82
|
-
enabled: true,
|
|
83
|
-
config: {
|
|
84
|
-
title: "Shop by Type",
|
|
85
|
-
maxCategories: 4,
|
|
86
|
-
autoScroll: true,
|
|
87
|
-
scrollInterval: 3000,
|
|
88
|
-
},
|
|
89
|
-
createdAt: daysAgo(30),
|
|
90
|
-
updatedAt: daysAgo(1),
|
|
91
|
-
},
|
|
92
|
-
// -- 4. Featured Products — Holo Rares -------------------------------------
|
|
93
|
-
{
|
|
94
|
-
id: "section-products-pokemon-featured-1707300000004",
|
|
43
|
+
id: "section-products-featured-multifranchise-2",
|
|
95
44
|
type: "products",
|
|
96
|
-
order:
|
|
45
|
+
order: 2,
|
|
97
46
|
enabled: true,
|
|
98
47
|
config: {
|
|
99
|
-
title: "
|
|
100
|
-
subtitle: "
|
|
48
|
+
title: "Featured Collectibles",
|
|
49
|
+
subtitle: "Hand-picked top picks across all four franchises",
|
|
101
50
|
maxProducts: 18,
|
|
102
51
|
rows: 2,
|
|
103
52
|
itemsPerRow: 3,
|
|
104
53
|
mobileItemsPerRow: 1,
|
|
105
54
|
autoScroll: false,
|
|
106
|
-
scrollInterval:
|
|
55
|
+
scrollInterval: 4000,
|
|
107
56
|
},
|
|
108
57
|
createdAt: daysAgo(30),
|
|
109
58
|
updatedAt: daysAgo(1),
|
|
110
59
|
},
|
|
111
|
-
// --
|
|
60
|
+
// -- 3. Live Auctions ---------------------------------------------------------
|
|
112
61
|
{
|
|
113
|
-
id: "section-
|
|
114
|
-
type: "
|
|
115
|
-
order:
|
|
62
|
+
id: "section-auctions-live-multifranchise-3",
|
|
63
|
+
type: "auctions",
|
|
64
|
+
order: 3,
|
|
116
65
|
enabled: true,
|
|
117
66
|
config: {
|
|
118
|
-
title: "
|
|
119
|
-
subtitle: "
|
|
120
|
-
|
|
67
|
+
title: "🔥 Live Auctions",
|
|
68
|
+
subtitle: "Bid on graded slabs, rare singles, vintage toys, and exclusive collectibles",
|
|
69
|
+
maxAuctions: 18,
|
|
121
70
|
rows: 2,
|
|
122
71
|
itemsPerRow: 3,
|
|
123
72
|
mobileItemsPerRow: 1,
|
|
@@ -127,15 +76,15 @@ export const pokemonHomepageSectionsSeedData = [
|
|
|
127
76
|
createdAt: daysAgo(30),
|
|
128
77
|
updatedAt: daysAgo(1),
|
|
129
78
|
},
|
|
130
|
-
// --
|
|
79
|
+
// -- 4. Pre-Orders ------------------------------------------------------------
|
|
131
80
|
{
|
|
132
|
-
id: "section-
|
|
81
|
+
id: "section-preorders-multifranchise-4",
|
|
133
82
|
type: "pre-orders",
|
|
134
|
-
order:
|
|
83
|
+
order: 4,
|
|
135
84
|
enabled: true,
|
|
136
85
|
config: {
|
|
137
|
-
title: "🎴
|
|
138
|
-
subtitle: "
|
|
86
|
+
title: "🎴 Reserve Before They Ship",
|
|
87
|
+
subtitle: "Pre-order upcoming sets, sealed products, and new releases across all franchises",
|
|
139
88
|
maxItems: 18,
|
|
140
89
|
rows: 2,
|
|
141
90
|
itemsPerRow: 3,
|
|
@@ -146,225 +95,54 @@ export const pokemonHomepageSectionsSeedData = [
|
|
|
146
95
|
createdAt: daysAgo(14),
|
|
147
96
|
updatedAt: daysAgo(1),
|
|
148
97
|
},
|
|
149
|
-
// --
|
|
150
|
-
{
|
|
151
|
-
id: "section-auctions-pokemon-1707300000007",
|
|
152
|
-
type: "auctions",
|
|
153
|
-
order: 7,
|
|
154
|
-
enabled: true,
|
|
155
|
-
config: {
|
|
156
|
-
title: "🔥 Live Auctions",
|
|
157
|
-
subtitle: "Bid on graded slabs and ultra-rare Base Set cards",
|
|
158
|
-
maxAuctions: 18,
|
|
159
|
-
rows: 2,
|
|
160
|
-
itemsPerRow: 3,
|
|
161
|
-
mobileItemsPerRow: 1,
|
|
162
|
-
autoScroll: false,
|
|
163
|
-
scrollInterval: 4000,
|
|
164
|
-
},
|
|
165
|
-
createdAt: daysAgo(30),
|
|
166
|
-
updatedAt: daysAgo(1),
|
|
167
|
-
},
|
|
168
|
-
// -- 8. Promotional Banner — Charizard -------------------------------------
|
|
98
|
+
// -- 5. Trust Indicators + Stats ----------------------------------------------
|
|
169
99
|
{
|
|
170
|
-
id: "section-
|
|
171
|
-
type: "
|
|
172
|
-
order:
|
|
100
|
+
id: "section-trust-stats-multifranchise-5",
|
|
101
|
+
type: "trust-indicators",
|
|
102
|
+
order: 5,
|
|
173
103
|
enabled: true,
|
|
174
104
|
config: {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
content: {
|
|
178
|
-
title: "The Holy Grail is Here",
|
|
179
|
-
subtitle: "1st Edition Charizard — PSA 7 — Live Auction",
|
|
180
|
-
description: "Current bid ₹3,49,999 · 7 days remaining · Buy Now at ₹6,99,999",
|
|
181
|
-
},
|
|
182
|
-
buttons: [
|
|
105
|
+
title: "Why Collectors Choose LetItRip",
|
|
106
|
+
indicators: [
|
|
183
107
|
{
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
108
|
+
id: "trust_auth",
|
|
109
|
+
icon: "🔍",
|
|
110
|
+
title: "Authenticity Guaranteed",
|
|
111
|
+
description: "Every item inspected and verified before listing",
|
|
187
112
|
},
|
|
188
113
|
{
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
114
|
+
id: "trust_ship",
|
|
115
|
+
icon: "📦",
|
|
116
|
+
title: "Safe Packaging",
|
|
117
|
+
description: "Cards in top-loaders, toys in foam-lined boxes — fully tracked",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
id: "trust_grade",
|
|
121
|
+
icon: "🏆",
|
|
122
|
+
title: "PSA / BGS Graded",
|
|
123
|
+
description: "Certified graded slabs with authentic serial numbers",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
id: "trust_pay",
|
|
127
|
+
icon: "💳",
|
|
128
|
+
title: "Secure Payments",
|
|
129
|
+
description: "Razorpay-powered checkout — UPI, Cards, EMI available",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
id: "trust_sellers",
|
|
133
|
+
icon: "✅",
|
|
134
|
+
title: "Verified Sellers",
|
|
135
|
+
description: "All sellers KYC-verified with track record reviews",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
id: "trust_return",
|
|
139
|
+
icon: "↩️",
|
|
140
|
+
title: "Buyer Protection",
|
|
141
|
+
description: "7-day return policy on eligible items — no questions asked",
|
|
192
142
|
},
|
|
193
143
|
],
|
|
194
|
-
clickable: true,
|
|
195
|
-
clickLink: "/auctions",
|
|
196
|
-
},
|
|
197
|
-
createdAt: daysAgo(3),
|
|
198
|
-
updatedAt: daysAgo(0),
|
|
199
|
-
},
|
|
200
|
-
// -- 9. Features / Why Us --------------------------------------------------
|
|
201
|
-
{
|
|
202
|
-
id: "section-features-pokemon-1707300000009",
|
|
203
|
-
type: "features",
|
|
204
|
-
order: 9,
|
|
205
|
-
enabled: true,
|
|
206
|
-
config: {
|
|
207
|
-
title: "Everything a Pokémon Collector Needs",
|
|
208
|
-
features: ["feature_001", "feature_002", "feature_003", "feature_004"],
|
|
209
|
-
},
|
|
210
|
-
createdAt: daysAgo(30),
|
|
211
|
-
updatedAt: daysAgo(1),
|
|
212
|
-
},
|
|
213
|
-
// -- 10. Reviews ----------------------------------------------------------
|
|
214
|
-
{
|
|
215
|
-
id: "section-reviews-pokemon-1707300000010",
|
|
216
|
-
type: "reviews",
|
|
217
|
-
order: 10,
|
|
218
|
-
enabled: true,
|
|
219
|
-
config: {
|
|
220
|
-
title: "What Trainers Are Saying",
|
|
221
|
-
maxReviews: 18,
|
|
222
|
-
itemsPerView: 3,
|
|
223
|
-
mobileItemsPerView: 1,
|
|
224
|
-
autoScroll: true,
|
|
225
|
-
scrollInterval: 5000,
|
|
226
|
-
},
|
|
227
|
-
createdAt: daysAgo(30),
|
|
228
|
-
updatedAt: daysAgo(1),
|
|
229
|
-
},
|
|
230
|
-
// -- 11. WhatsApp Community -----------------------------------------------
|
|
231
|
-
{
|
|
232
|
-
id: "section-whatsapp-community-pokemon-1707300000011",
|
|
233
|
-
type: "whatsapp-community",
|
|
234
|
-
order: 11,
|
|
235
|
-
enabled: true,
|
|
236
|
-
config: {
|
|
237
|
-
title: "Join the Pokémon Collectors Community",
|
|
238
|
-
description: "Connect with 500+ Pokémon TCG collectors in India. Get price alerts, trading tips, and early access to new listings.",
|
|
239
|
-
groupLink: "https://chat.whatsapp.com/pokemon-collectors-india",
|
|
240
|
-
memberCount: 512,
|
|
241
|
-
benefits: [
|
|
242
|
-
"📢 New listing alerts",
|
|
243
|
-
"💰 Price tracking & trend reports",
|
|
244
|
-
"🎁 Exclusive early access to rare cards",
|
|
245
|
-
"🤝 Trusted trading among verified members",
|
|
246
|
-
],
|
|
247
|
-
buttonText: "Join Now (Free)",
|
|
248
|
-
},
|
|
249
|
-
createdAt: daysAgo(30),
|
|
250
|
-
updatedAt: daysAgo(1),
|
|
251
|
-
},
|
|
252
|
-
// -- 12. FAQ --------------------------------------------------------------
|
|
253
|
-
{
|
|
254
|
-
id: "section-faq-pokemon-1707300000012",
|
|
255
|
-
type: "faq",
|
|
256
|
-
order: 12,
|
|
257
|
-
enabled: true,
|
|
258
|
-
config: {
|
|
259
|
-
title: "Frequently Asked Questions",
|
|
260
|
-
subtitle: "Everything you need to know about buying and selling Pokémon cards on LetItRip",
|
|
261
|
-
showOnHomepage: true,
|
|
262
|
-
displayCount: 6,
|
|
263
|
-
expandedByDefault: false,
|
|
264
|
-
linkToFullPage: true,
|
|
265
|
-
categories: ["products", "sellers", "general", "shipping"],
|
|
266
|
-
},
|
|
267
|
-
createdAt: daysAgo(30),
|
|
268
|
-
updatedAt: daysAgo(1),
|
|
269
|
-
},
|
|
270
|
-
// -- 13. Blog Articles ----------------------------------------------------
|
|
271
|
-
{
|
|
272
|
-
id: "section-blog-articles-pokemon-1707300000013",
|
|
273
|
-
type: "blog-articles",
|
|
274
|
-
order: 13,
|
|
275
|
-
enabled: true,
|
|
276
|
-
config: {
|
|
277
|
-
title: "From the Collectors' Corner",
|
|
278
|
-
subtitle: "Card grading guides, market trends, and Base Set deep dives",
|
|
279
|
-
maxArticles: 4,
|
|
280
|
-
showReadTime: true,
|
|
281
|
-
showAuthor: true,
|
|
282
|
-
showThumbnails: true,
|
|
283
|
-
},
|
|
284
|
-
createdAt: daysAgo(30),
|
|
285
|
-
updatedAt: daysAgo(1),
|
|
286
|
-
},
|
|
287
|
-
// -- 14. Newsletter -------------------------------------------------------
|
|
288
|
-
{
|
|
289
|
-
id: "section-newsletter-pokemon-1707300000014",
|
|
290
|
-
type: "newsletter",
|
|
291
|
-
order: 14,
|
|
292
|
-
enabled: true,
|
|
293
|
-
config: {
|
|
294
|
-
title: "Stay Ahead of the Rares",
|
|
295
|
-
description: "Get weekly price updates, new listing alerts, and exclusive deals delivered straight to your inbox.",
|
|
296
|
-
placeholder: "Enter your email address",
|
|
297
|
-
buttonText: "Subscribe",
|
|
298
|
-
privacyText: "No spam. Unsubscribe anytime.",
|
|
299
|
-
privacyLink: "/privacy",
|
|
300
|
-
},
|
|
301
|
-
createdAt: daysAgo(30),
|
|
302
|
-
updatedAt: daysAgo(1),
|
|
303
|
-
},
|
|
304
|
-
// -- 15. Stores -----------------------------------------------------------
|
|
305
|
-
{
|
|
306
|
-
id: "section-stores-pokemon-1707300000015",
|
|
307
|
-
type: "stores",
|
|
308
|
-
order: 15,
|
|
309
|
-
enabled: true,
|
|
310
|
-
config: {
|
|
311
|
-
title: "Meet Our Top Sellers",
|
|
312
|
-
subtitle: "Verified Pokémon card specialists — Gym Leaders of the marketplace",
|
|
313
|
-
maxStores: 12,
|
|
314
|
-
autoScroll: true,
|
|
315
|
-
scrollInterval: 4000,
|
|
316
|
-
},
|
|
317
|
-
createdAt: daysAgo(30),
|
|
318
|
-
updatedAt: daysAgo(1),
|
|
319
|
-
},
|
|
320
|
-
// -- 16. Events (disabled) ------------------------------------------------
|
|
321
|
-
{
|
|
322
|
-
id: "section-events-pokemon-1707300000016",
|
|
323
|
-
type: "events",
|
|
324
|
-
order: 16,
|
|
325
|
-
enabled: false,
|
|
326
|
-
config: {
|
|
327
|
-
title: "Upcoming Pokémon Events",
|
|
328
|
-
subtitle: "Pre-releases, draft tournaments and collector meetups",
|
|
329
|
-
maxEvents: 12,
|
|
330
|
-
autoScroll: false,
|
|
331
|
-
scrollInterval: 4000,
|
|
332
144
|
},
|
|
333
145
|
createdAt: daysAgo(30),
|
|
334
146
|
updatedAt: daysAgo(1),
|
|
335
147
|
},
|
|
336
|
-
// -- 17. Brands (disabled) ------------------------------------------------
|
|
337
|
-
{
|
|
338
|
-
id: "section-brands-pokemon-1707300000017",
|
|
339
|
-
type: "brands",
|
|
340
|
-
order: 17,
|
|
341
|
-
enabled: false,
|
|
342
|
-
config: {
|
|
343
|
-
title: "Shop by Brand",
|
|
344
|
-
subtitle: "WOTC, Wizards of the Coast, The Pokémon Company — explore by publisher",
|
|
345
|
-
maxBrands: 8,
|
|
346
|
-
autoScroll: true,
|
|
347
|
-
scrollInterval: 4000,
|
|
348
|
-
},
|
|
349
|
-
createdAt: daysAgo(14),
|
|
350
|
-
updatedAt: daysAgo(1),
|
|
351
|
-
},
|
|
352
|
-
// -- 18. Stats counter -------------------------------------------------------
|
|
353
|
-
{
|
|
354
|
-
id: "section-stats-pokemon-1707300000018",
|
|
355
|
-
type: "stats",
|
|
356
|
-
order: 18,
|
|
357
|
-
enabled: true,
|
|
358
|
-
config: {
|
|
359
|
-
title: "Trusted by Collectors Across India",
|
|
360
|
-
stats: [
|
|
361
|
-
{ key: "products", label: "Products Listed", value: "10,000+" },
|
|
362
|
-
{ key: "sellers", label: "Verified Sellers", value: "2,000+" },
|
|
363
|
-
{ key: "buyers", label: "Happy Buyers", value: "50,000+" },
|
|
364
|
-
{ key: "rating", label: "Avg. Rating", value: "4.8/5" },
|
|
365
|
-
],
|
|
366
|
-
},
|
|
367
|
-
createdAt: daysAgo(14),
|
|
368
|
-
updatedAt: daysAgo(1),
|
|
369
|
-
},
|
|
370
148
|
];
|