Skip to content

Commit c827b19

Browse files
committed
Fix: Fix seed data
1 parent 8f17239 commit c827b19

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

packages/evershop/src/bin/seed/data/pages.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141
"type": "image",
4242
"data": {
4343
"file": {
44-
"url": "https://raw.githubusercontent.com/evershopcommerce/evershop/refs/heads/dev/seed/images/banner-one.jpg"
44+
"url": "https://raw.githubusercontent.com/evershopcommerce/evershop/refs/heads/dev/seed/images/banner-one.jpg",
45+
"width": 2400,
46+
"height": 1200
4547
},
4648
"caption": "Our carefully curated collection",
4749
"withBorder": false,

packages/evershop/src/bin/seed/data/products.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,12 @@
107107
"collections": ["homepage", "best-sellers"],
108108
"category": "accessories",
109109
"variant_group": "ceramic-coffee-cup",
110-
"images": [],
110+
"images": [
111+
{
112+
"url": "https://raw.githubusercontent.com/evershopcommerce/evershop/refs/heads/dev/seed/images/cup-black.jpg",
113+
"isMain": true
114+
}
115+
],
111116
"attributes": [
112117
{
113118
"attribute_code": "color",

packages/evershop/src/bin/seed/data/widgets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"id": "slide-1",
5252
"image": "https://raw.githubusercontent.com/evershopcommerce/evershop/refs/heads/dev/seed/images/banner-one.jpg",
5353
"width": 2400,
54-
"height": 800,
54+
"height": 1200,
5555
"subText": "Discover our exquisite collection of ceramic and stainless steel products",
5656
"headline": "Premium Quality Products",
5757
"buttonLink": "/accessories",
@@ -62,7 +62,7 @@
6262
"id": "slide-2",
6363
"image": "https://raw.githubusercontent.com/evershopcommerce/evershop/refs/heads/dev/seed/images/banner-two.jpg",
6464
"width": 2400,
65-
"height": 800,
65+
"height": 1200,
6666
"subText": "Elegant designs that enhance your daily life, from morning coffee to home organization",
6767
"headline": "Crafted With Care",
6868
"buttonLink": "/accessories",

0 commit comments

Comments
 (0)