easyorders 0.1.15 → 0.1.16

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.
Files changed (43) hide show
  1. package/dist/template/theme/config.json +45 -27
  2. package/dist/template/theme/home-sections/Tilted-Scrolling-Marque/config.json +107 -0
  3. package/dist/template/theme/home-sections/Tilted-Scrolling-Marque/template.liquid +171 -0
  4. package/dist/template/theme/home-sections/category-mosaic/config.json +125 -40
  5. package/dist/template/theme/home-sections/category-mosaic/template.liquid +170 -155
  6. package/dist/template/theme/home-sections/different-hero/config.json +199 -0
  7. package/dist/template/theme/home-sections/different-hero/template.liquid +219 -0
  8. package/dist/template/theme/home-sections/editorial-feature/config.json +93 -67
  9. package/dist/template/theme/home-sections/editorial-feature/template.liquid +154 -153
  10. package/dist/template/theme/home-sections/newsletter-luxe/config.json +86 -60
  11. package/dist/template/theme/home-sections/newsletter-luxe/template.liquid +150 -144
  12. package/dist/template/theme/home-sections/runway-hero/config.json +148 -91
  13. package/dist/template/theme/home-sections/runway-hero/template.liquid +189 -159
  14. package/dist/template/theme/home-sections/shop-the-look/config.json +167 -75
  15. package/dist/template/theme/home-sections/shop-the-look/template.liquid +326 -304
  16. package/dist/template/theme/home-sections/slider-before-after/config.json +213 -0
  17. package/dist/template/theme/home-sections/slider-before-after/template.liquid +336 -0
  18. package/dist/template/theme/home-sections/test-hero-allbird/config.json +130 -0
  19. package/dist/template/theme/home-sections/test-hero-allbird/template.liquid +149 -0
  20. package/dist/template/theme/home-sections/trust-promise/config.json +121 -47
  21. package/dist/template/theme/home-sections/trust-promise/template.liquid +34 -11
  22. package/dist/template/theme/home-sections/zoom-parallax/config.json +48 -0
  23. package/dist/template/theme/home-sections/zoom-parallax/template.liquid +135 -0
  24. package/dist/template/theme/product-data-schema.json +27 -0
  25. package/dist/template/theme/schema.json +114 -129
  26. package/dist/template/theme/script.js +694 -185
  27. package/dist/template/theme/sections/categories.liquid +20 -4
  28. package/dist/template/theme/sections/featured-products.liquid +65 -32
  29. package/dist/template/theme/sections/fixed-buy-button.liquid +6 -1
  30. package/dist/template/theme/sections/footer.liquid +90 -91
  31. package/dist/template/theme/sections/gallery.liquid +37 -33
  32. package/dist/template/theme/sections/header.liquid +105 -25
  33. package/dist/template/theme/sections/home-products-grid.liquid +68 -10
  34. package/dist/template/theme/sections/list-products.liquid +73 -30
  35. package/dist/template/theme/sections/order-invoice.liquid +39 -91
  36. package/dist/template/theme/sections/product-description.liquid +18 -8
  37. package/dist/template/theme/sections/product-details.liquid +9 -24
  38. package/dist/template/theme/sections/products-grid.liquid +102 -54
  39. package/dist/template/theme/sections/related-products.liquid +124 -60
  40. package/dist/template/theme/sections/reviews.liquid +43 -28
  41. package/dist/template/theme/style.css +2283 -589
  42. package/dist/template/theme/theme-data.json +25 -8
  43. package/package.json +1 -1
@@ -1,155 +1,170 @@
1
- <section
2
- class="category-mosaic eo-hs{% if section_data.gap_tight %} category-mosaic--tight{% endif %}{% if section_data.mosaic_category_ids == blank or section_data.mosaic_category_ids.size == 0 %} eo-hs--empty{% endif %}"
3
- style="--mosaic-cols: {{ section_data.columns | default: '3' }};"
4
- data-eo-hs-entity="categories"
5
- data-eo-hs-ids="{{ section_data.mosaic_category_ids | join: ',' | strip }}"
6
- >
7
- <div class="category-mosaic__head">
8
- {% if section_data.title != blank %}
9
- <h2 class="category-mosaic__title">{{ section_data.title }}</h2>
10
- {% endif %}
11
- {% if section_data.subtitle != blank %}
12
- <p class="category-mosaic__subtitle">{{ section_data.subtitle }}</p>
13
- {% endif %}
14
- </div>
15
-
16
- <div class="category-mosaic__grid" data-eo-hs-mount>
17
- {% if section_data.mosaic_category_ids and section_data.mosaic_category_ids.size > 0 %}
18
- {% for id in section_data.mosaic_category_ids %}
19
- <div class="eo-hs-skeleton eo-hs-skeleton--category" aria-hidden="true"></div>
20
- {% endfor %}
21
- {% else %}
22
- <p class="category-mosaic__placeholder">Choose categories in the section settings to build this mosaic.</p>
23
- {% endif %}
24
- </div>
25
- </section>
26
-
27
- <style>
28
- .category-mosaic {
29
- padding: clamp(2.5rem, 5vw, 4rem) 1.25rem 3rem;
30
- background: #fff;
31
- color: #141218;
32
- }
33
- .category-mosaic--tight .category-mosaic__grid {
34
- gap: 0.75rem;
35
- }
36
- .category-mosaic__head {
37
- max-width: 720px;
38
- margin: 0 auto 2rem;
39
- text-align: center;
40
- }
41
- .category-mosaic__title {
42
- margin: 0 0 0.5rem;
43
- font-family: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
44
- font-weight: 500;
45
- font-size: clamp(1.75rem, 4vw, 2.35rem);
46
- }
47
- .category-mosaic__subtitle {
48
- margin: 0;
49
- font-size: 1rem;
50
- line-height: 1.6;
51
- color: #5c5852;
52
- }
53
- .category-mosaic__grid {
54
- max-width: 1200px;
55
- margin: 0 auto;
56
- display: grid;
57
- grid-template-columns: repeat(var(--mosaic-cols, 3), minmax(0, 1fr));
58
- gap: 1.25rem;
59
- }
60
- .category-mosaic__grid.eo-hs-loading {
61
- opacity: 0.85;
62
- }
63
- @media (max-width: 899px) {
64
- .category-mosaic__grid {
65
- grid-template-columns: repeat(2, minmax(0, 1fr));
66
- }
67
- }
68
- @media (max-width: 520px) {
69
- .category-mosaic__grid {
70
- grid-template-columns: 1fr;
71
- }
72
- }
73
- .category-mosaic .eo-hs-skeleton--category {
74
- aspect-ratio: 3 / 4;
75
- border-radius: 6px;
76
- background: linear-gradient(110deg, #ece8e2 8%, #f5f2ee 18%, #ece8e2 33%);
77
- background-size: 200% 100%;
78
- animation: category-mosaic-shimmer 1.2s ease-in-out infinite;
79
- }
80
- .category-mosaic__placeholder {
81
- grid-column: 1 / -1;
82
- margin: 0;
83
- padding: 1.25rem;
84
- text-align: center;
85
- color: #7a7368;
86
- font-size: 0.9rem;
87
- }
88
- .category-mosaic.eo-hs--empty .category-mosaic__grid {
89
- display: flex;
90
- justify-content: center;
91
- }
92
- .category-mosaic .eo-hs-card--category {
93
- position: relative;
94
- display: block;
95
- text-decoration: none;
96
- color: inherit;
97
- border-radius: 6px;
98
- overflow: hidden;
99
- background: #ece8e1;
100
- transition: transform 0.25s ease, box-shadow 0.25s ease;
101
- }
102
- .category-mosaic .eo-hs-card--category:hover {
103
- transform: translateY(-4px);
104
- box-shadow: 0 22px 50px rgba(20, 18, 24, 0.18);
105
- }
106
- .category-mosaic .eo-hs-card--category .eo-hs-card__media {
107
- display: block;
108
- aspect-ratio: 3 / 4;
109
- background: #ece8e2;
110
- overflow: hidden;
111
- }
112
- .category-mosaic .eo-hs-card--category .eo-hs-card__media--empty {
113
- min-height: 200px;
114
- }
115
- .category-mosaic .eo-hs-card--category .eo-hs-card__media img {
116
- width: 100%;
117
- height: 100%;
118
- object-fit: cover;
119
- display: block;
120
- transition: transform 0.45s ease;
121
- }
122
- .category-mosaic .eo-hs-card--category:hover .eo-hs-card__media img {
123
- transform: scale(1.04);
124
- }
125
- .category-mosaic .eo-hs-card--category .eo-hs-card__body {
126
- position: absolute;
127
- left: 0;
128
- right: 0;
129
- bottom: 0;
130
- padding: 1.25rem 1.1rem 1.1rem;
131
- background: linear-gradient(to top, rgba(12, 10, 14, 0.72), transparent 55%);
132
- }
133
- .category-mosaic .eo-hs-card--category .eo-hs-card__title {
134
- font-size: 1.05rem;
135
- font-weight: 600;
136
- letter-spacing: 0.02em;
137
- color: #fff;
138
- }
139
- .category-mosaic .eo-hs-error {
140
- grid-column: 1 / -1;
141
- margin: 0;
142
- padding: 1rem;
143
- text-align: center;
144
- font-size: 0.88rem;
145
- color: #8b3225;
146
- }
147
- @keyframes category-mosaic-shimmer {
148
- 0% {
149
- background-position: 100% 0;
150
- }
151
- 100% {
152
- background-position: -100% 0;
153
- }
154
- }
155
- </style>
1
+ <section
2
+ class="eo-home-section category-mosaic{% if section_data.gap_tight %} category-mosaic--tight{% endif %}"
3
+ style="
4
+ --mosaic-cols: {{ section_data.columns | default: '3' }};
5
+ {% if section_data.section_background != blank %}--mosaic-section-bg: {{ section_data.section_background }};{% endif %}
6
+ {% if section_data.heading_title_color != blank %}--mosaic-head-title-color: {{ section_data.heading_title_color }};{% endif %}
7
+ --mosaic-head-title-size: {{ section_data.heading_title_size | default: 38 }}px;
8
+ --mosaic-head-title-weight: {{ section_data.heading_title_weight | default: '500' }};
9
+ {% if section_data.heading_subtitle_color != blank %}--mosaic-head-subtitle-color: {{ section_data.heading_subtitle_color }};{% endif %}
10
+ --mosaic-head-subtitle-size: {{ section_data.heading_subtitle_size | default: 16 }}px;
11
+ --mosaic-head-subtitle-weight: {{ section_data.heading_subtitle_weight | default: '400' }};
12
+ "
13
+ >
14
+ <div class="category-mosaic__head">
15
+ {% if section_data.title != blank %}
16
+ <h2 class="category-mosaic__title">{{ section_data.title }}</h2>
17
+ {% endif %}
18
+ {% if section_data.subtitle != blank %}
19
+ <p class="category-mosaic__subtitle">{{ section_data.subtitle }}</p>
20
+ {% endif %}
21
+ </div>
22
+
23
+ {% if section_data.tiles and section_data.tiles.size > 0 %}
24
+ <div class="category-mosaic__grid">
25
+ {% for tile in section_data.tiles %}
26
+ <a
27
+ class="category-mosaic__tile"
28
+ href="#"
29
+ {% if tile.category_id != blank %}
30
+ data-eo-hs-cta="1"
31
+ data-eo-hs-cta-entity="categories"
32
+ data-eo-hs-cta-id="{{ tile.category_id }}"
33
+ {% endif %}
34
+ >
35
+ <div class="category-mosaic__visual">
36
+ {% if tile.image != blank %}
37
+ <img
38
+ class="category-mosaic__img"
39
+ src="{{ tile.image }}"
40
+ alt="{{ tile.label }}"
41
+ loading="lazy"
42
+ width="640"
43
+ height="800"
44
+ />
45
+ {% else %}
46
+ <div class="category-mosaic__img-fallback" aria-hidden="true"></div>
47
+ {% endif %}
48
+ <div class="category-mosaic__shade" aria-hidden="true"></div>
49
+ </div>
50
+ <div class="category-mosaic__meta">
51
+ {% if tile.label != blank %}
52
+ <span class="category-mosaic__label">{{ tile.label }}</span>
53
+ {% endif %}
54
+ {% if tile.tagline != blank %}
55
+ <span class="category-mosaic__tagline">{{ tile.tagline }}</span>
56
+ {% endif %}
57
+ </div>
58
+ </a>
59
+ {% endfor %}
60
+ </div>
61
+ {% endif %}
62
+ </section>
63
+
64
+ <style>
65
+ .category-mosaic {
66
+ padding: clamp(2.5rem, 5vw, 4rem) 1.25rem 3rem;
67
+ background: var(--mosaic-section-bg, #fff);
68
+ color: #141218;
69
+ }
70
+ .category-mosaic--tight .category-mosaic__grid {
71
+ gap: 0.75rem;
72
+ }
73
+ .category-mosaic__head {
74
+ max-width: 720px;
75
+ margin: 0 auto 2rem;
76
+ text-align: center;
77
+ }
78
+ .category-mosaic__title {
79
+ margin: 0 0 0.5rem;
80
+ font-family: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
81
+ font-weight: var(--mosaic-head-title-weight, 500);
82
+ font-size: clamp(1.25rem, 3vw, var(--mosaic-head-title-size, 38px));
83
+ color: var(--mosaic-head-title-color, #141218);
84
+ }
85
+ .category-mosaic__subtitle {
86
+ margin: 0;
87
+ font-size: var(--mosaic-head-subtitle-size, 16px);
88
+ line-height: 1.6;
89
+ font-weight: var(--mosaic-head-subtitle-weight, 400);
90
+ color: var(--mosaic-head-subtitle-color, #5c5852);
91
+ }
92
+ .category-mosaic__grid {
93
+ max-width: 1200px;
94
+ margin: 0 auto;
95
+ display: grid;
96
+ grid-template-columns: repeat(var(--mosaic-cols, 3), minmax(0, 1fr));
97
+ gap: 1.25rem;
98
+ }
99
+ @media (max-width: 899px) {
100
+ .category-mosaic__grid {
101
+ grid-template-columns: repeat(2, minmax(0, 1fr));
102
+ }
103
+ }
104
+ @media (max-width: 520px) {
105
+ .category-mosaic__grid {
106
+ grid-template-columns: 1fr;
107
+ }
108
+ }
109
+ .category-mosaic__tile {
110
+ position: relative;
111
+ display: block;
112
+ text-decoration: none;
113
+ color: inherit;
114
+ border-radius: 6px;
115
+ overflow: hidden;
116
+ background: #ece8e1;
117
+ transition: transform 0.25s ease, box-shadow 0.25s ease;
118
+ }
119
+ .category-mosaic__tile:hover {
120
+ transform: translateY(-4px);
121
+ box-shadow: 0 22px 50px rgba(20, 18, 24, 0.18);
122
+ }
123
+ .category-mosaic__visual {
124
+ position: relative;
125
+ aspect-ratio: 1 / 1;
126
+ overflow: hidden;
127
+ }
128
+ .category-mosaic__img,
129
+ .category-mosaic__img-fallback {
130
+ width: 100%;
131
+ height: 100%;
132
+ object-fit: cover;
133
+ display: block;
134
+ transition: transform 0.45s ease;
135
+ }
136
+ .category-mosaic__img-fallback {
137
+ background: linear-gradient(160deg, #d4cec4, #a39a8f);
138
+ }
139
+ .category-mosaic__tile:hover .category-mosaic__img {
140
+ transform: scale(1.04);
141
+ }
142
+ .category-mosaic__shade {
143
+ position: absolute;
144
+ inset: 0;
145
+ background: linear-gradient(to top, rgba(12, 10, 14, 0.72), transparent 55%);
146
+ pointer-events: none;
147
+ }
148
+ .category-mosaic__meta {
149
+ position: absolute;
150
+ left: 0;
151
+ right: 0;
152
+ bottom: 0;
153
+ padding: 1.25rem 1.1rem 1.1rem;
154
+ display: flex;
155
+ flex-direction: column;
156
+ gap: 0.2rem;
157
+ color: #fff;
158
+ }
159
+ .category-mosaic__label {
160
+ font-size: 1.05rem;
161
+ font-weight: 600;
162
+ letter-spacing: 0.02em;
163
+ }
164
+ .category-mosaic__tagline {
165
+ font-size: 0.82rem;
166
+ opacity: 0.88;
167
+ letter-spacing: 0.04em;
168
+ text-transform: uppercase;
169
+ }
170
+ </style>
@@ -0,0 +1,199 @@
1
+ {
2
+ "icon": "https://files.easy-orders.net/1778106603822306532.png",
3
+ "label": "Hero (Full width)",
4
+ "section_schema": [
5
+ {
6
+ "name": "image_desktop",
7
+ "type": "image",
8
+ "default": "",
9
+ "description": "صورة الخلفية (ديسكتوب)"
10
+ },
11
+ {
12
+ "name": "image_mobile",
13
+ "type": "image",
14
+ "default": "",
15
+ "description": "صورة الخلفية (موبايل)"
16
+ },
17
+ {
18
+ "name": "overlay_strength",
19
+ "type": "number",
20
+ "default": 42,
21
+ "description": "قوة التعتيم (0 - 100)"
22
+ },
23
+ {
24
+ "name": "height_dt",
25
+ "type": "number",
26
+ "default": 70,
27
+ "description": "طول القسم للديسكتوب (svh) max:100 svh"
28
+ },
29
+ {
30
+ "name": "height_mb",
31
+ "type": "number",
32
+ "default": 70,
33
+ "description": "طول القسم للموبايل (svh) max:100 svh"
34
+ },
35
+ {
36
+ "name": "alignment",
37
+ "type": "select",
38
+ "default": "center",
39
+ "description": "محاذاة المحتوى",
40
+ "options": [
41
+ { "label": "في المنتصف", "value": "center" },
42
+ { "label": "لليسار", "value": "left" },
43
+ { "label": "لليمين", "value": "right" }
44
+ ]
45
+ },
46
+ {
47
+ "name": "gap_dt",
48
+ "type": "number",
49
+ "default": 24,
50
+ "description": "المسافة بين العناصر - ديسكتوب (px)"
51
+ },
52
+ {
53
+ "name": "gap_mb",
54
+ "type": "number",
55
+ "default": 16,
56
+ "description": "المسافة بين العناصر - موبايل (px)"
57
+ },
58
+ {
59
+ "name": "kicker",
60
+ "type": "string",
61
+ "default": "New season",
62
+ "description": "الكلمة الصغيرة فوق العنوان"
63
+ },
64
+ {
65
+ "name": "accent_color",
66
+ "type": "color",
67
+ "default": "#C9A962",
68
+ "description": "اللون المميز (للكلمة الصغيرة وخلفية الزرار)"
69
+ },
70
+ {
71
+ "name": "headline",
72
+ "type": "string",
73
+ "default": "The spring edit",
74
+ "description": "العنوان الرئيسي"
75
+ },
76
+ {
77
+ "name": "title_color",
78
+ "type": "color",
79
+ "default": "#FAF7F2",
80
+ "description": "لون العنوان"
81
+ },
82
+ {
83
+ "name": "title_size_dt",
84
+ "type": "number",
85
+ "default": 60,
86
+ "description": "حجم العنوان - ديسكتوب (px)"
87
+ },
88
+ {
89
+ "name": "title_size_mb",
90
+ "type": "number",
91
+ "default": 36,
92
+ "description": "حجم العنوان - موبايل (px)"
93
+ },
94
+ {
95
+ "name": "subheadline",
96
+ "type": "string",
97
+ "default": "Silhouettes, textures, and tones curated for everyday luxury.",
98
+ "description": "الوصف"
99
+ },
100
+ {
101
+ "name": "desc_color",
102
+ "type": "color",
103
+ "default": "#FAF7F2",
104
+ "description": "لون الوصف"
105
+ },
106
+ {
107
+ "name": "desc_size_dt",
108
+ "type": "number",
109
+ "default": 18,
110
+ "description": "حجم الوصف - ديسكتوب (px)"
111
+ },
112
+ {
113
+ "name": "desc_size_mb",
114
+ "type": "number",
115
+ "default": 15,
116
+ "description": "حجم الوصف - موبايل (px)"
117
+ },
118
+ {
119
+ "name": "primary_label",
120
+ "type": "string",
121
+ "default": "Shop collection",
122
+ "description": "نص الزرار"
123
+ },
124
+ {
125
+ "name": "cta_link_type",
126
+ "type": "select",
127
+ "default": "category",
128
+ "description": "نوع لينك الزرار مهم اختار اولا",
129
+ "options": [
130
+ { "label": "قسم (Category)", "value": "category" },
131
+ { "label": "منتج (Product)", "value": "product" }
132
+ ]
133
+ },
134
+ {
135
+ "name": "cta_category_id",
136
+ "type": "category_single_select",
137
+ "description": "اختيار القسم (لو نوع اللينك = قسم)"
138
+ },
139
+ {
140
+ "name": "cta_product_id",
141
+ "type": "product_single_select",
142
+ "description": "اختيار المنتج (لو نوع اللينك = منتج)"
143
+ },
144
+ {
145
+ "name": "btn_text_color",
146
+ "type": "color",
147
+ "default": "#141218",
148
+ "description": "لون نص الزرار"
149
+ },
150
+ {
151
+ "name": "btn_size_dt",
152
+ "type": "number",
153
+ "default": 14,
154
+ "description": "حجم خط الزرار - ديسكتوب (px)"
155
+ },
156
+ {
157
+ "name": "btn_size_mb",
158
+ "type": "number",
159
+ "default": 13,
160
+ "description": "حجم خط الزرار - موبايل (px)"
161
+ },
162
+ {
163
+ "name": "btn_show_border",
164
+ "type": "select",
165
+ "default": "none",
166
+ "description": "إظهار حدود للزرار؟",
167
+ "options": [
168
+ { "label": "بدون حدود (نص فقط)", "value": "none" },
169
+ { "label": "بحدود (Solid)", "value": "solid" }
170
+ ]
171
+ },
172
+ {
173
+ "name": "btn_radius",
174
+ "type": "number",
175
+ "default": 99,
176
+ "description": "استدارة حواف الزرار (px)"
177
+ },
178
+ {
179
+ "name": "enable_animation",
180
+ "type": "boolean",
181
+ "default": true,
182
+ "description": "تشغيل أنيميشن السكشن"
183
+ },
184
+ {
185
+ "name": "animation_style",
186
+ "type": "select",
187
+ "default": "fade-up",
188
+ "description": "شكل الأنيميشن",
189
+ "options": [
190
+ { "label": "Fade Up", "value": "fade-up" },
191
+ { "label": "Zoom In", "value": "zoom-in" },
192
+ { "label": "Blur Reveal", "value": "blur-reveal" },
193
+ { "label": "Slide Cascade", "value": "slide-cascade" },
194
+ { "label": "Fade Right", "value": "fade-right" },
195
+ { "label": "Flip Up", "value": "flip-up" }
196
+ ]
197
+ }
198
+ ]
199
+ }