easyorders 0.1.14 → 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/README.md +93 -93
- package/dist/bin/cli.js +12 -5
- package/dist/template/theme/config.json +113 -95
- 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 +89 -4
- package/dist/template/theme/home-sections/category-mosaic/template.liquid +84 -69
- 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 +27 -1
- package/dist/template/theme/home-sections/editorial-feature/template.liquid +11 -10
- package/dist/template/theme/home-sections/newsletter-luxe/config.json +28 -2
- package/dist/template/theme/home-sections/newsletter-luxe/template.liquid +19 -13
- package/dist/template/theme/home-sections/runway-hero/config.json +87 -30
- package/dist/template/theme/home-sections/runway-hero/template.liquid +59 -29
- package/dist/template/theme/home-sections/shop-the-look/config.json +93 -1
- package/dist/template/theme/home-sections/shop-the-look/template.liquid +41 -19
- 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 +76 -2
- package/dist/template/theme/home-sections/trust-promise/template.liquid +119 -96
- 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 +136 -151
- package/dist/template/theme/script.js +1095 -586
- package/dist/template/theme/sections/breadcrumbs.liquid +17 -17
- package/dist/template/theme/sections/categories.liquid +26 -10
- package/dist/template/theme/sections/fake-counter.liquid +27 -27
- package/dist/template/theme/sections/fake-stock.liquid +6 -6
- package/dist/template/theme/sections/fake-visitor.liquid +6 -6
- package/dist/template/theme/sections/featured-products.liquid +143 -110
- package/dist/template/theme/sections/fixed-buy-button.liquid +51 -46
- package/dist/template/theme/sections/footer.liquid +128 -129
- package/dist/template/theme/sections/gallery.liquid +65 -61
- package/dist/template/theme/sections/header.liquid +232 -152
- package/dist/template/theme/sections/home-products-grid.liquid +167 -109
- package/dist/template/theme/sections/list-products.liquid +136 -93
- package/dist/template/theme/sections/order-invoice.liquid +102 -154
- package/dist/template/theme/sections/product-description.liquid +40 -30
- package/dist/template/theme/sections/product-details.liquid +48 -63
- package/dist/template/theme/sections/products-grid.liquid +134 -86
- package/dist/template/theme/sections/related-products.liquid +152 -88
- package/dist/template/theme/sections/reviews.liquid +70 -55
- package/dist/template/theme/sections/slider.liquid +43 -43
- package/dist/template/theme/sections/thanks.liquid +33 -33
- package/dist/template/theme/style.css +5617 -3923
- package/dist/template/theme/theme-data.json +26 -9
- package/package.json +40 -40
|
@@ -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
|
+
}
|
|
@@ -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,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"icon": "https://
|
|
2
|
+
"icon": "https://files.easy-orders.net/1778107613842485243.png",
|
|
3
3
|
"label": "Editorial feature",
|
|
4
4
|
"section_schema": [
|
|
5
5
|
{
|
|
@@ -57,11 +57,37 @@
|
|
|
57
57
|
{ "label": "Dark editorial", "value": "dark" }
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
+
{
|
|
61
|
+
"name": "section_background",
|
|
62
|
+
"type": "color",
|
|
63
|
+
"default": "",
|
|
64
|
+
"description": "Section background override (leave empty to use mood preset)"
|
|
65
|
+
},
|
|
60
66
|
{
|
|
61
67
|
"name": "accent_color",
|
|
62
68
|
"type": "color",
|
|
63
69
|
"default": "#8B7355",
|
|
64
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
|
+
]
|
|
65
91
|
}
|
|
66
92
|
]
|
|
67
93
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
<section
|
|
2
|
-
class="editorial-feature editorial-feature--{{ section_data.surface | default: 'light' }} editorial-feature--img-{{ section_data.image_position | default: 'left' }}"
|
|
3
|
-
|
|
2
|
+
class="eo-home-section editorial-feature editorial-feature--{{ section_data.surface | default: 'light' }} editorial-feature--img-{{ section_data.image_position | default: 'left' }}"
|
|
3
|
+
{% if section_data.enable_animation != false %}data-section-anim="{{ section_data.animation_style | default: 'fade-up' }}"{% endif %}
|
|
4
|
+
style="--ed-accent: {{ section_data.accent_color | default: '#8B7355' }};{% if section_data.section_background != blank %}--ed-section-bg: {{ section_data.section_background }};{% endif %}"
|
|
4
5
|
>
|
|
5
6
|
<div class="editorial-feature__grid">
|
|
6
|
-
<div class="editorial-feature__media">
|
|
7
|
+
<div class="editorial-feature__media ab-anim-el">
|
|
7
8
|
{% if section_data.image != blank %}
|
|
8
9
|
<img
|
|
9
10
|
class="editorial-feature__img"
|
|
@@ -19,17 +20,17 @@
|
|
|
19
20
|
</div>
|
|
20
21
|
<div class="editorial-feature__copy">
|
|
21
22
|
{% if section_data.eyebrow != blank %}
|
|
22
|
-
<p class="editorial-feature__eyebrow">{{ section_data.eyebrow }}</p>
|
|
23
|
+
<p class="editorial-feature__eyebrow ab-anim-el">{{ section_data.eyebrow }}</p>
|
|
23
24
|
{% endif %}
|
|
24
25
|
{% if section_data.title != blank %}
|
|
25
|
-
<h2 class="editorial-feature__title">{{ section_data.title }}</h2>
|
|
26
|
+
<h2 class="editorial-feature__title ab-anim-el">{{ section_data.title }}</h2>
|
|
26
27
|
{% endif %}
|
|
27
28
|
{% if section_data.body != blank %}
|
|
28
|
-
<p class="editorial-feature__body">{{ section_data.body }}</p>
|
|
29
|
+
<p class="editorial-feature__body ab-anim-el">{{ section_data.body }}</p>
|
|
29
30
|
{% endif %}
|
|
30
31
|
{% if section_data.cta_label != blank %}
|
|
31
32
|
<a
|
|
32
|
-
class="editorial-feature__link"
|
|
33
|
+
class="editorial-feature__link ab-anim-el"
|
|
33
34
|
href="#"
|
|
34
35
|
{% if section_data.cta_page_id != blank %}
|
|
35
36
|
data-eo-hs-cta="1"
|
|
@@ -50,11 +51,11 @@
|
|
|
50
51
|
padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem;
|
|
51
52
|
}
|
|
52
53
|
.editorial-feature--light {
|
|
53
|
-
background: #f6f3ee;
|
|
54
|
-
color: #1c1a17;
|
|
54
|
+
background: var(--ed-section-bg, #f6f3ee);
|
|
55
|
+
color: #1c1a17;margin-block: 15px;
|
|
55
56
|
}
|
|
56
57
|
.editorial-feature--dark {
|
|
57
|
-
background: #121015;
|
|
58
|
+
background: var(--ed-section-bg, #121015);
|
|
58
59
|
color: #f4eee6;
|
|
59
60
|
}
|
|
60
61
|
.editorial-feature__grid {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"icon": "https://
|
|
3
|
-
"label": "Newsletter
|
|
2
|
+
"icon": "https://files.easy-orders.net/1778106683214369311.png",
|
|
3
|
+
"label": "Newsletter",
|
|
4
4
|
"section_schema": [
|
|
5
5
|
{
|
|
6
6
|
"name": "headline",
|
|
@@ -55,6 +55,32 @@
|
|
|
55
55
|
"type": "color",
|
|
56
56
|
"default": "#C9A962",
|
|
57
57
|
"description": "Button background"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "button_text_color",
|
|
61
|
+
"type": "color",
|
|
62
|
+
"default": "#141218",
|
|
63
|
+
"description": "color of the button text"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "enable_animation",
|
|
67
|
+
"type": "boolean",
|
|
68
|
+
"default": true,
|
|
69
|
+
"description": "Enable section animation"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "animation_style",
|
|
73
|
+
"type": "select",
|
|
74
|
+
"default": "fade-up",
|
|
75
|
+
"description": "Animation style",
|
|
76
|
+
"options": [
|
|
77
|
+
{ "label": "Fade Up", "value": "fade-up" },
|
|
78
|
+
{ "label": "Zoom In", "value": "zoom-in" },
|
|
79
|
+
{ "label": "Blur Reveal", "value": "blur-reveal" },
|
|
80
|
+
{ "label": "Slide Cascade", "value": "slide-cascade" },
|
|
81
|
+
{ "label": "Fade Right", "value": "fade-right" },
|
|
82
|
+
{ "label": "Flip Up", "value": "flip-up" }
|
|
83
|
+
]
|
|
58
84
|
}
|
|
59
85
|
]
|
|
60
86
|
}
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
<section
|
|
2
|
-
class="newsletter-luxe"
|
|
2
|
+
class="eo-home-section newsletter-luxe"
|
|
3
|
+
{% if section_data.enable_animation != false %}data-section-anim="{{ section_data.animation_style | default: 'fade-up' }}"{% endif %}
|
|
3
4
|
style="
|
|
4
5
|
background: {{ section_data.bg_color | default: '#1A1814' }};
|
|
5
6
|
color: {{ section_data.text_color | default: '#F4EEE6' }};
|
|
6
7
|
--nl-btn: {{ section_data.button_color | default: '#C9A962' }};
|
|
8
|
+
--nl-btn-text: {{ section_data.button_text_color | default: '#141218' }};
|
|
7
9
|
"
|
|
8
10
|
>
|
|
9
11
|
<div class="newsletter-luxe__inner">
|
|
10
12
|
{% if section_data.headline != blank %}
|
|
11
|
-
<h2 class="newsletter-luxe__title">{{ section_data.headline }}</h2>
|
|
13
|
+
<h2 class="newsletter-luxe__title ab-anim-el">{{ section_data.headline }}</h2>
|
|
12
14
|
{% endif %}
|
|
13
15
|
{% if section_data.body != blank %}
|
|
14
|
-
<p class="newsletter-luxe__body">{{ section_data.body }}</p>
|
|
16
|
+
<p class="newsletter-luxe__body ab-anim-el">{{ section_data.body }}</p>
|
|
15
17
|
{% endif %}
|
|
16
18
|
|
|
17
19
|
<form
|
|
18
|
-
class="newsletter-luxe__form"
|
|
20
|
+
class="newsletter-luxe__form ab-anim-el"
|
|
19
21
|
novalidate
|
|
20
22
|
onsubmit="
|
|
21
23
|
event.preventDefault();
|
|
@@ -54,14 +56,14 @@
|
|
|
54
56
|
</form>
|
|
55
57
|
|
|
56
58
|
{% if section_data.show_footnote and section_data.footnote != blank %}
|
|
57
|
-
<p class="newsletter-luxe__fine">{{ section_data.footnote }}</p>
|
|
59
|
+
<p class="newsletter-luxe__fine ab-anim-el">{{ section_data.footnote }}</p>
|
|
58
60
|
{% endif %}
|
|
59
61
|
</div>
|
|
60
62
|
</section>
|
|
61
63
|
|
|
62
64
|
<style>
|
|
63
65
|
.newsletter-luxe {
|
|
64
|
-
padding: clamp(2.75rem, 6vw, 4rem) 1.25rem;
|
|
66
|
+
padding: clamp(2.75rem, 6vw, 4rem) 1.25rem;margin-block: 15px;
|
|
65
67
|
}
|
|
66
68
|
.newsletter-luxe__inner {
|
|
67
69
|
max-width: 520px;
|
|
@@ -91,6 +93,10 @@
|
|
|
91
93
|
justify-content: center;
|
|
92
94
|
margin-top: 0.25rem;
|
|
93
95
|
}
|
|
96
|
+
input.newsletter-luxe__input::placeholder {
|
|
97
|
+
color: inherit;
|
|
98
|
+
opacity: 0.5;
|
|
99
|
+
}
|
|
94
100
|
@media (min-width: 520px) {
|
|
95
101
|
.newsletter-luxe__form {
|
|
96
102
|
flex-wrap: nowrap;
|
|
@@ -100,8 +106,8 @@
|
|
|
100
106
|
flex: 1 1 200px;
|
|
101
107
|
min-width: 0;
|
|
102
108
|
padding: 0.9rem 1.1rem;
|
|
103
|
-
|
|
104
|
-
border: 1px solid
|
|
109
|
+
|
|
110
|
+
border: 1px solid rgb(209 209 209 / 98%);
|
|
105
111
|
background: rgba(255, 255, 255, 0.06);
|
|
106
112
|
color: inherit;
|
|
107
113
|
font-size: 0.95rem;
|
|
@@ -112,26 +118,26 @@
|
|
|
112
118
|
color: rgba(244, 238, 230, 0.45);
|
|
113
119
|
}
|
|
114
120
|
.newsletter-luxe__input:focus {
|
|
115
|
-
border-color: var(--nl-btn, #
|
|
121
|
+
border-color: var(--nl-btn, #313e61);
|
|
116
122
|
background: rgba(255, 255, 255, 0.09);
|
|
117
123
|
}
|
|
118
124
|
.newsletter-luxe__submit {
|
|
119
125
|
flex-shrink: 0;
|
|
120
126
|
padding: 0.9rem 1.5rem;
|
|
121
|
-
|
|
127
|
+
|
|
122
128
|
border: none;
|
|
123
129
|
cursor: pointer;
|
|
124
130
|
font-size: 0.78rem;
|
|
125
131
|
font-weight: 700;
|
|
126
132
|
letter-spacing: 0.14em;
|
|
127
133
|
text-transform: uppercase;
|
|
128
|
-
background: var(--nl-btn, #
|
|
129
|
-
color: #141218;
|
|
134
|
+
background: var(--nl-btn, #313e61);
|
|
135
|
+
color: var(--nl-btn-text, #141218);
|
|
130
136
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
131
137
|
}
|
|
132
138
|
.newsletter-luxe__submit:hover {
|
|
133
139
|
transform: translateY(-1px);
|
|
134
|
-
|
|
140
|
+
|
|
135
141
|
}
|
|
136
142
|
.newsletter-luxe__fine {
|
|
137
143
|
margin: 0;
|