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.
- package/dist/template/theme/config.json +45 -27
- package/dist/template/theme/home-sections/Tilted-Scrolling-Marque/config.json +107 -0
- package/dist/template/theme/home-sections/Tilted-Scrolling-Marque/template.liquid +171 -0
- package/dist/template/theme/home-sections/category-mosaic/config.json +125 -40
- package/dist/template/theme/home-sections/category-mosaic/template.liquid +170 -155
- package/dist/template/theme/home-sections/different-hero/config.json +199 -0
- package/dist/template/theme/home-sections/different-hero/template.liquid +219 -0
- package/dist/template/theme/home-sections/editorial-feature/config.json +93 -67
- package/dist/template/theme/home-sections/editorial-feature/template.liquid +154 -153
- package/dist/template/theme/home-sections/newsletter-luxe/config.json +86 -60
- package/dist/template/theme/home-sections/newsletter-luxe/template.liquid +150 -144
- package/dist/template/theme/home-sections/runway-hero/config.json +148 -91
- package/dist/template/theme/home-sections/runway-hero/template.liquid +189 -159
- package/dist/template/theme/home-sections/shop-the-look/config.json +167 -75
- package/dist/template/theme/home-sections/shop-the-look/template.liquid +326 -304
- package/dist/template/theme/home-sections/slider-before-after/config.json +213 -0
- package/dist/template/theme/home-sections/slider-before-after/template.liquid +336 -0
- package/dist/template/theme/home-sections/test-hero-allbird/config.json +130 -0
- package/dist/template/theme/home-sections/test-hero-allbird/template.liquid +149 -0
- package/dist/template/theme/home-sections/trust-promise/config.json +121 -47
- package/dist/template/theme/home-sections/trust-promise/template.liquid +34 -11
- package/dist/template/theme/home-sections/zoom-parallax/config.json +48 -0
- package/dist/template/theme/home-sections/zoom-parallax/template.liquid +135 -0
- package/dist/template/theme/product-data-schema.json +27 -0
- package/dist/template/theme/schema.json +114 -129
- package/dist/template/theme/script.js +694 -185
- package/dist/template/theme/sections/categories.liquid +20 -4
- package/dist/template/theme/sections/featured-products.liquid +65 -32
- package/dist/template/theme/sections/fixed-buy-button.liquid +6 -1
- package/dist/template/theme/sections/footer.liquid +90 -91
- package/dist/template/theme/sections/gallery.liquid +37 -33
- package/dist/template/theme/sections/header.liquid +105 -25
- package/dist/template/theme/sections/home-products-grid.liquid +68 -10
- package/dist/template/theme/sections/list-products.liquid +73 -30
- package/dist/template/theme/sections/order-invoice.liquid +39 -91
- package/dist/template/theme/sections/product-description.liquid +18 -8
- package/dist/template/theme/sections/product-details.liquid +9 -24
- package/dist/template/theme/sections/products-grid.liquid +102 -54
- package/dist/template/theme/sections/related-products.liquid +124 -60
- package/dist/template/theme/sections/reviews.liquid +43 -28
- package/dist/template/theme/style.css +2283 -589
- package/dist/template/theme/theme-data.json +25 -8
- package/package.json +1 -1
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
<section
|
|
2
|
+
class="rnw-hero rnw-hero--{{ section_data.alignment | default: 'center' }}"
|
|
3
|
+
{% if section_data.enable_animation != false %}data-section-anim="{{ section_data.animation_style | default: 'fade-up' }}"{% endif %}
|
|
4
|
+
style="
|
|
5
|
+
--rnw-h-dt: {{ section_data.height_dt | default: 70 }}svh;
|
|
6
|
+
--rnw-h-mb: {{ section_data.height_mb | default: 70 }}svh;
|
|
7
|
+
--rnw-gap-dt: {{ section_data.gap_dt | default: 24 }}px;
|
|
8
|
+
--rnw-gap-mb: {{ section_data.gap_mb | default: 16 }}px;
|
|
9
|
+
--rnw-accent: {{ section_data.accent_color | default: '#C9A962' }};
|
|
10
|
+
--rnw-overlay: {{ section_data.overlay_strength | default: 42 }};
|
|
11
|
+
|
|
12
|
+
--rnw-t-color: {{ section_data.title_color | default: '#FAF7F2' }};
|
|
13
|
+
--rnw-t-dt: {{ section_data.title_size_dt | default: 60 }}px;
|
|
14
|
+
--rnw-t-mb: {{ section_data.title_size_mb | default: 36 }}px;
|
|
15
|
+
|
|
16
|
+
--rnw-d-color: {{ section_data.desc_color | default: '#FAF7F2' }};
|
|
17
|
+
--rnw-d-dt: {{ section_data.desc_size_dt | default: 18 }}px;
|
|
18
|
+
--rnw-d-mb: {{ section_data.desc_size_mb | default: 15 }}px;
|
|
19
|
+
|
|
20
|
+
--rnw-b-txt: {{ section_data.btn_text_color | default: '#141218' }};
|
|
21
|
+
--rnw-b-dt: {{ section_data.btn_size_dt | default: 14 }}px;
|
|
22
|
+
--rnw-b-mb: {{ section_data.btn_size_mb | default: 13 }}px;
|
|
23
|
+
--rnw-b-border: {{ section_data.btn_show_border | default: 'none' }};
|
|
24
|
+
--rnw-b-rad: {{ section_data.btn_radius | default: 99 }}px;
|
|
25
|
+
"
|
|
26
|
+
>
|
|
27
|
+
<div class="rnw-hero__bg">
|
|
28
|
+
{% assign img_dt = section_data.image_desktop %}
|
|
29
|
+
{% assign img_mb = section_data.image_mobile | default: img_dt %}
|
|
30
|
+
{% if img_dt != blank %}
|
|
31
|
+
<picture>
|
|
32
|
+
<source media="(max-width: 768px)" srcset="{{ img_mb }}">
|
|
33
|
+
<img src="{{ img_dt }}" alt="{{ section_data.headline }}" loading="lazy">
|
|
34
|
+
</picture>
|
|
35
|
+
{% else %}
|
|
36
|
+
<div class="rnw-placeholder"></div>
|
|
37
|
+
{% endif %}
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
<div class="rnw-hero__overlay" aria-hidden="true"></div>
|
|
41
|
+
|
|
42
|
+
<div class="rnw-hero__inner">
|
|
43
|
+
{% if section_data.kicker != blank %}
|
|
44
|
+
<p class="rnw-hero__kicker ab-anim-el">{{ section_data.kicker }}</p>
|
|
45
|
+
{% endif %}
|
|
46
|
+
|
|
47
|
+
{% if section_data.headline != blank %}
|
|
48
|
+
<h1 class="rnw-hero__title ab-anim-el">{{ section_data.headline }}</h1>
|
|
49
|
+
{% endif %}
|
|
50
|
+
|
|
51
|
+
{% if section_data.subheadline != blank %}
|
|
52
|
+
<p class="rnw-hero__lede ab-anim-el">{{ section_data.subheadline }}</p>
|
|
53
|
+
{% endif %}
|
|
54
|
+
|
|
55
|
+
<div class="rnw-hero__actions ab-anim-el">
|
|
56
|
+
{% if section_data.primary_label != blank %}
|
|
57
|
+
{% assign cta_type = section_data.cta_link_type | default: 'category' %}
|
|
58
|
+
{% if cta_type == 'category' and section_data.cta_category_id != blank %}
|
|
59
|
+
<a class="rnw-btn" href="#"
|
|
60
|
+
data-eo-hs-cta="1"
|
|
61
|
+
data-eo-hs-cta-entity="categories"
|
|
62
|
+
data-eo-hs-cta-id="{{ section_data.cta_category_id }}"
|
|
63
|
+
>
|
|
64
|
+
{{ section_data.primary_label }}
|
|
65
|
+
</a>
|
|
66
|
+
{% elsif cta_type == 'product' and section_data.cta_product_id != blank %}
|
|
67
|
+
<a class="rnw-btn" href="#"
|
|
68
|
+
data-eo-hs-cta="1"
|
|
69
|
+
data-eo-hs-cta-entity="products"
|
|
70
|
+
data-eo-hs-cta-id="{{ section_data.cta_product_id }}"
|
|
71
|
+
>
|
|
72
|
+
{{ section_data.primary_label }}
|
|
73
|
+
</a>
|
|
74
|
+
{% else %}
|
|
75
|
+
<a class="rnw-btn" href="/products">
|
|
76
|
+
{{ section_data.primary_label }}
|
|
77
|
+
</a>
|
|
78
|
+
{% endif %}
|
|
79
|
+
{% endif %}
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
</section>
|
|
83
|
+
|
|
84
|
+
<style>
|
|
85
|
+
.rnw-hero {
|
|
86
|
+
position: relative;
|
|
87
|
+
isolation: isolate;
|
|
88
|
+
min-height: var(--rnw-h-mb);
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
justify-content: center; /* الوسط كوضع افتراضي */
|
|
92
|
+
padding: 3rem 1.5rem;
|
|
93
|
+
background-color: #141218;
|
|
94
|
+
overflow: hidden;
|
|
95
|
+
margin-left: -10px ;
|
|
96
|
+
margin-right: -10px ;
|
|
97
|
+
max-width: none ;
|
|
98
|
+
margin-bottom: 15px;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* التحكم في محاذاة الحاوية الداخلية بالنسبة للقسم الكبير */
|
|
102
|
+
.rnw-hero--left { justify-content: flex-start; }
|
|
103
|
+
.rnw-hero--right { justify-content: flex-end; }
|
|
104
|
+
|
|
105
|
+
.rnw-hero__bg { position: absolute; inset: 0; z-index: -2; }
|
|
106
|
+
.rnw-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
|
|
107
|
+
.rnw-placeholder { width: 100%; height: 100%; background-color: #141218; }
|
|
108
|
+
|
|
109
|
+
.rnw-hero__overlay {
|
|
110
|
+
position: absolute;
|
|
111
|
+
inset: 0;
|
|
112
|
+
z-index: -1;
|
|
113
|
+
background: linear-gradient(
|
|
114
|
+
105deg,
|
|
115
|
+
rgba(8, 6, 10, calc((var(--rnw-overlay) / 100) + 0.12)) 0%,
|
|
116
|
+
rgba(8, 6, 10, calc(var(--rnw-overlay) / 100)) 45%,
|
|
117
|
+
rgba(8, 6, 10, calc((var(--rnw-overlay) / 100) * 0.55)) 100%
|
|
118
|
+
);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.rnw-hero__inner {
|
|
122
|
+
position: relative;
|
|
123
|
+
z-index: 1;
|
|
124
|
+
max-width: 42rem;
|
|
125
|
+
display: flex;
|
|
126
|
+
flex-direction: column;
|
|
127
|
+
gap: var(--rnw-gap-mb);
|
|
128
|
+
/* السحر هنا: المحاذاة الداخلية للعناصر */
|
|
129
|
+
align-items: center;
|
|
130
|
+
text-align: center;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* تعديل المحاذاة الداخلية بناءً على اختيار اليوزر */
|
|
134
|
+
.rnw-hero--left .rnw-hero__inner { align-items: flex-start; text-align: left; }
|
|
135
|
+
.rnw-hero--right .rnw-hero__inner { align-items: flex-end; text-align: right; }
|
|
136
|
+
|
|
137
|
+
.rnw-hero__kicker {
|
|
138
|
+
margin: 0;
|
|
139
|
+
font-size: 0.75rem;
|
|
140
|
+
letter-spacing: 0.35em;
|
|
141
|
+
text-transform: uppercase;
|
|
142
|
+
color: var(--rnw-accent);
|
|
143
|
+
font-weight: 600;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.rnw-hero__title {
|
|
147
|
+
margin: 0;
|
|
148
|
+
color: var(--rnw-t-color);
|
|
149
|
+
font-family: Newsreader, serif !important;
|
|
150
|
+
font-weight: 300;
|
|
151
|
+
font-size: var(--rnw-t-mb);
|
|
152
|
+
line-height: 1.05;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.rnw-hero__lede {
|
|
156
|
+
margin: 0;
|
|
157
|
+
color: var(--rnw-d-color);
|
|
158
|
+
font-size: var(--rnw-d-mb);
|
|
159
|
+
line-height: 1.6;
|
|
160
|
+
opacity: 0.95;
|
|
161
|
+
font-family: Newsreader, serif !important;
|
|
162
|
+
font-weight: 200;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.rnw-hero__actions {
|
|
166
|
+
display: flex;
|
|
167
|
+
width: 100%;
|
|
168
|
+
justify-content: center;
|
|
169
|
+
margin-top: 0.5rem;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* في حالة اختيار المحاذاة لليسار */
|
|
173
|
+
.rnw-hero--left .rnw-hero__actions {
|
|
174
|
+
justify-content: flex-start;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* في حالة اختيار المحاذاة لليمين */
|
|
178
|
+
.rnw-hero--right .rnw-hero__actions {
|
|
179
|
+
justify-content: flex-end;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.rnw-btn {
|
|
183
|
+
display: inline-flex;
|
|
184
|
+
align-items: center;
|
|
185
|
+
justify-content: center;
|
|
186
|
+
text-decoration: none;
|
|
187
|
+
text-transform: uppercase;
|
|
188
|
+
font-weight: 600;
|
|
189
|
+
letter-spacing: 0.1em;
|
|
190
|
+
transition: all 0.3s ease;
|
|
191
|
+
|
|
192
|
+
background-color: var(--rnw-accent);
|
|
193
|
+
color: var(--rnw-b-txt);
|
|
194
|
+
font-size: var(--rnw-b-mb);
|
|
195
|
+
border-radius: var(--rnw-b-rad);
|
|
196
|
+
|
|
197
|
+
border: 1px var(--rnw-b-border) var(--rnw-b-txt);
|
|
198
|
+
padding: 12px 30px;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/* وضع "بدون حدود" للزرار */
|
|
202
|
+
.rnw-hero[style*="--rnw-b-border: none"] .rnw-btn {
|
|
203
|
+
background-color: transparent;
|
|
204
|
+
color: var(--rnw-accent);
|
|
205
|
+
padding: 5px 0;
|
|
206
|
+
border-radius: 0;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.rnw-btn:hover { opacity: 0.8; transform: translateY(-2px); }
|
|
210
|
+
|
|
211
|
+
@media (min-width: 768px) {
|
|
212
|
+
.rnw-hero { min-height: var(--rnw-h-dt); }
|
|
213
|
+
.rnw-hero__inner { gap: var(--rnw-gap-dt); }
|
|
214
|
+
.rnw-hero__title { font-size: var(--rnw-t-dt); }
|
|
215
|
+
.rnw-hero__lede { font-size: var(--rnw-d-dt); }
|
|
216
|
+
.rnw-btn { font-size: var(--rnw-b-dt); }
|
|
217
|
+
|
|
218
|
+
}
|
|
219
|
+
</style>
|
|
@@ -1,67 +1,93 @@
|
|
|
1
|
-
{
|
|
2
|
-
"icon": "https://
|
|
3
|
-
"label": "Editorial feature",
|
|
4
|
-
"section_schema": [
|
|
5
|
-
{
|
|
6
|
-
"name": "image",
|
|
7
|
-
"type": "image",
|
|
8
|
-
"default": "",
|
|
9
|
-
"description": "Feature image"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"name": "eyebrow",
|
|
13
|
-
"type": "string",
|
|
14
|
-
"default": "Inside the atelier",
|
|
15
|
-
"description": "Small label above the title"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"name": "title",
|
|
19
|
-
"type": "string",
|
|
20
|
-
"default": "Tailoring that moves with you",
|
|
21
|
-
"description": "Headline"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "body",
|
|
25
|
-
"type": "string",
|
|
26
|
-
"default": "Precision cuts and fluid fabrics—designed for city days and slow evenings. Discover the pieces our stylists reach for first.",
|
|
27
|
-
"description": "Body copy"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"name": "cta_label",
|
|
31
|
-
"type": "string",
|
|
32
|
-
"default": "Explore the story",
|
|
33
|
-
"description": "Link label"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "cta_page_id",
|
|
37
|
-
"type": "page_single_select",
|
|
38
|
-
"description": "Simple page the CTA opens (link URL is resolved on the storefront)"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"name": "image_position",
|
|
42
|
-
"type": "select",
|
|
43
|
-
"default": "left",
|
|
44
|
-
"description": "Image side on desktop",
|
|
45
|
-
"options": [
|
|
46
|
-
{ "label": "Image left", "value": "left" },
|
|
47
|
-
{ "label": "Image right", "value": "right" }
|
|
48
|
-
]
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"name": "surface",
|
|
52
|
-
"type": "select",
|
|
53
|
-
"default": "light",
|
|
54
|
-
"description": "Color mood",
|
|
55
|
-
"options": [
|
|
56
|
-
{ "label": "Light editorial", "value": "light" },
|
|
57
|
-
{ "label": "Dark editorial", "value": "dark" }
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"name": "
|
|
62
|
-
"type": "color",
|
|
63
|
-
"default": "
|
|
64
|
-
"description": "
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
1
|
+
{
|
|
2
|
+
"icon": "https://files.easy-orders.net/1778107613842485243.png",
|
|
3
|
+
"label": "Editorial feature",
|
|
4
|
+
"section_schema": [
|
|
5
|
+
{
|
|
6
|
+
"name": "image",
|
|
7
|
+
"type": "image",
|
|
8
|
+
"default": "",
|
|
9
|
+
"description": "Feature image"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "eyebrow",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"default": "Inside the atelier",
|
|
15
|
+
"description": "Small label above the title"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "title",
|
|
19
|
+
"type": "string",
|
|
20
|
+
"default": "Tailoring that moves with you",
|
|
21
|
+
"description": "Headline"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "body",
|
|
25
|
+
"type": "string",
|
|
26
|
+
"default": "Precision cuts and fluid fabrics—designed for city days and slow evenings. Discover the pieces our stylists reach for first.",
|
|
27
|
+
"description": "Body copy"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "cta_label",
|
|
31
|
+
"type": "string",
|
|
32
|
+
"default": "Explore the story",
|
|
33
|
+
"description": "Link label"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "cta_page_id",
|
|
37
|
+
"type": "page_single_select",
|
|
38
|
+
"description": "Simple page the CTA opens (link URL is resolved on the storefront)"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "image_position",
|
|
42
|
+
"type": "select",
|
|
43
|
+
"default": "left",
|
|
44
|
+
"description": "Image side on desktop",
|
|
45
|
+
"options": [
|
|
46
|
+
{ "label": "Image left", "value": "left" },
|
|
47
|
+
{ "label": "Image right", "value": "right" }
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "surface",
|
|
52
|
+
"type": "select",
|
|
53
|
+
"default": "light",
|
|
54
|
+
"description": "Color mood",
|
|
55
|
+
"options": [
|
|
56
|
+
{ "label": "Light editorial", "value": "light" },
|
|
57
|
+
{ "label": "Dark editorial", "value": "dark" }
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "section_background",
|
|
62
|
+
"type": "color",
|
|
63
|
+
"default": "",
|
|
64
|
+
"description": "Section background override (leave empty to use mood preset)"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "accent_color",
|
|
68
|
+
"type": "color",
|
|
69
|
+
"default": "#8B7355",
|
|
70
|
+
"description": "Eyebrow and link accent"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "enable_animation",
|
|
74
|
+
"type": "boolean",
|
|
75
|
+
"default": true,
|
|
76
|
+
"description": "Enable section animation"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "animation_style",
|
|
80
|
+
"type": "select",
|
|
81
|
+
"default": "fade-up",
|
|
82
|
+
"description": "Animation style",
|
|
83
|
+
"options": [
|
|
84
|
+
{ "label": "Fade Up", "value": "fade-up" },
|
|
85
|
+
{ "label": "Zoom In", "value": "zoom-in" },
|
|
86
|
+
{ "label": "Blur Reveal", "value": "blur-reveal" },
|
|
87
|
+
{ "label": "Slide Cascade", "value": "slide-cascade" },
|
|
88
|
+
{ "label": "Fade Right", "value": "fade-right" },
|
|
89
|
+
{ "label": "Flip Up", "value": "flip-up" }
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
}
|