appscms-tools-theme 4.8.2 → 4.8.4
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.
- checksums.yaml +4 -4
- data/_data/.DS_Store +0 -0
- data/_data/about/en/about.json +16 -16
- data/_data/blog/nav.json +14 -14
- data/_data/blog/relatedblogs.json +2816 -2816
- data/_data/feature/en/batch-conversion.json +192 -192
- data/_data/feature/en/compress-pdf.json +223 -223
- data/_data/feature/en/devtools.json +321 -321
- data/_data/feature/en/face-detection.json +156 -156
- data/_data/feature/en/split-pdf.json +221 -221
- data/_data/feature/en/theframe.json +160 -160
- data/_data/footer/en/data.json +264 -264
- data/_data/header/en/data.json +672 -672
- data/_data/home/en/en.json +250 -250
- data/_data/home/en/posters.json +322 -322
- data/_data/home-1/en/en.json +236 -236
- data/_data/noindexURLs.json +23 -0
- data/_includes/.DS_Store +0 -0
- data/_includes/alternates/alternates.html +64 -89
- data/_includes/appscms/customblog/contenttool-recent-posts.html +94 -94
- data/_includes/appscms/customblog/pageRelatedPosts.html +68 -68
- data/_includes/appscms/customblog/recentposts.html +67 -67
- data/_includes/appscms/customblog/relatedBlogs.html +82 -82
- data/_includes/appscms/customblog/relatedposts.html +193 -193
- data/_includes/appscms/extras/appscms-postbox.html +57 -57
- data/_includes/appscms/featurePageAuthors/featurePageAuthors.html +85 -85
- data/_includes/appscms/head/bloghead.html +128 -128
- data/_includes/appscms/headings/contenttool-headings.html +33 -33
- data/_includes/appscms/headings/devtool-headings.html +38 -38
- data/_includes/appscms/home/contenttool-feature-boxes.html +19 -19
- data/_includes/appscms/home/devtool-feature-boxes.html +70 -70
- data/_includes/appscms/infographics/infographics.html +241 -32
- data/_includes/appscms/loaders/loader.html +4 -4
- data/_includes/appscms/navbars/devtool-navbar.html +50 -50
- data/_includes/appscms/navbars/devtool-toolbar.html +100 -100
- data/_includes/appscms/navbars/navbar.html +129 -75
- data/_includes/appscms/navbars/toolbar.html +326 -139
- data/_includes/appscms/recent-posts/recent_posts.html +90 -90
- data/_includes/appscms/recent-posts/related_categories_post.html +194 -194
- data/_includes/appscms/searchbar/devtool-searchbar.html +63 -63
- data/_includes/appscms/usp/usp.html +90 -90
- data/_includes/author_bio.html +41 -41
- data/_includes/authorpagehead/index.html +47 -47
- data/_includes/authors/authors.html +39 -39
- data/_includes/batch-conversion.html +141 -141
- data/_includes/bookmark.html +6 -6
- data/_includes/cssfile/links.html +54 -54
- data/_includes/custom-head.html +138 -138
- data/_includes/customCode.html +1 -1
- data/_includes/customScripts.html +1 -1
- data/_includes/customblog/pageRelatedPosts.html +87 -87
- data/_includes/customblog/recentposts.html +67 -67
- data/_includes/customblog/relatedBlogs.html +86 -86
- data/_includes/customblog/relatedposts.html +201 -201
- data/_includes/dropdown/langdropdown.html +32 -32
- data/_includes/feature.html +39 -39
- data/_includes/featurePageAuthors/featurePageAuthors.html +101 -101
- data/_includes/footer/index.html +537 -537
- data/_includes/google-analytics.html +32 -32
- data/_includes/head/index.html +627 -627
- data/_includes/header/blogHeader.html +34 -34
- data/_includes/header/index.html +152 -152
- data/_includes/infographics/infographics.html +244 -244
- data/_includes/internationalization-section.html +64 -47
- data/_includes/paginationBlogPage.html +70 -70
- data/_includes/postbox.html +65 -65
- data/_includes/script.html +493 -493
- data/_includes/section/count.html +32 -32
- data/_includes/section/recent_posts.html +94 -94
- data/_includes/section/related_categories_post.html +196 -196
- data/_includes/share/socialshare.html +21 -21
- data/_includes/userTracking.html +14 -14
- data/_layouts/aboutUs.html +175 -175
- data/_layouts/allAuthors.html +131 -131
- data/_layouts/appscms-about.html +163 -163
- data/_layouts/appscms-audio.html +33 -33
- data/_layouts/appscms-author.html +436 -436
- data/_layouts/appscms-authors.html +145 -145
- data/_layouts/appscms-batch.html +141 -141
- data/_layouts/appscms-calculator.html +93 -93
- data/_layouts/appscms-categories.html +26 -26
- data/_layouts/appscms-contact.html +132 -132
- data/_layouts/appscms-disclaimer.html +124 -124
- data/_layouts/appscms-download.html +289 -289
- data/_layouts/appscms-feature-result.html +96 -96
- data/_layouts/appscms-help.html +25 -25
- data/_layouts/appscms-imagekit.html +96 -96
- data/_layouts/appscms-post.html +243 -243
- data/_layouts/appscms-privacy-policy.html +781 -781
- data/_layouts/appscms-terms-and-conditions.html +646 -646
- data/_layouts/appscms-video.html +33 -33
- data/_layouts/audio.html +33 -33
- data/_layouts/author.html +409 -409
- data/_layouts/batch.html +177 -177
- data/_layouts/blog-1.html +116 -116
- data/_layouts/blog.html +131 -131
- data/_layouts/calculator.html +99 -99
- data/_layouts/contenttool-feature.html +42 -42
- data/_layouts/contenttool-home.html +53 -53
- data/_layouts/devtool-blog.html +132 -132
- data/_layouts/devtool-feature.html +54 -54
- data/_layouts/devtool-home.html +53 -53
- data/_layouts/devtools.html +57 -57
- data/_layouts/feature-1.html +285 -285
- data/_layouts/feature.html +351 -351
- data/_layouts/featureResultPage.html +82 -82
- data/_layouts/frame.html +222 -222
- data/_layouts/home-1.html +186 -186
- data/_layouts/home.html +375 -375
- data/_layouts/homeResultPage.html +32 -32
- data/_layouts/imagekit.html +308 -308
- data/_layouts/photo-effects-home.html +190 -190
- data/_layouts/post.html +233 -233
- data/assets/.DS_Store +0 -0
- data/assets/app.js +75 -75
- data/assets/css/appscms-blog.css +505 -505
- data/assets/css/appscms-contenttool.css +1384 -1384
- data/assets/css/appscms-home.css +5 -5
- data/assets/css/appscms-imagekit.css +855 -855
- data/assets/css/appscms-theme.css +11 -251
- data/assets/css/appscms-variables.css +24 -20
- data/assets/css/blog.css +510 -510
- data/assets/css/calculators.css +46 -46
- data/assets/css/common.css +944 -944
- data/assets/css/devtool-main.css +1350 -1350
- data/assets/css/devtools.css +105 -105
- data/assets/css/feature-1.css +293 -293
- data/assets/css/home-1.css +188 -188
- data/assets/css/imagekit copy.css +848 -848
- data/assets/css/imagekit.css +848 -848
- data/assets/css/tools.css +1846 -1846
- data/assets/images/close-button.svg +31 -31
- data/assets/images/digipaint.svg +6 -6
- data/assets/images/iconn.svg +12 -12
- data/assets/images/logo.svg +2 -2
- data/assets/images/manthink.svg +3552 -3552
- data/assets/images/search-icon.svg +2 -2
- data/assets/js/appscms-infographics.js +49 -49
- data/assets/js/batch.js +219 -219
- data/assets/js/devtools.js +81 -81
- data/assets/js/sharePage.js +65 -65
- data/assets/js/usageTracking.js +143 -143
- data/assets/js/usageTrackingEvents.js +6 -6
- data/assets/js/webvitals.js +4 -4
- metadata +5 -3
|
@@ -1,88 +1,157 @@
|
|
|
1
|
+
<style>
|
|
2
|
+
.mobile-search-bar {
|
|
3
|
+
position: relative;
|
|
4
|
+
height: 100px;
|
|
5
|
+
width: 100%;
|
|
6
|
+
display: none;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.mobile-search-container {
|
|
10
|
+
display: flex;
|
|
11
|
+
border: 1px solid #ccc;
|
|
12
|
+
border-radius: 5px;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
height: 38px;
|
|
15
|
+
margin: 20px 0px 20px 0px;
|
|
16
|
+
background-color: white;
|
|
17
|
+
position: relative;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.mobile-search-input {
|
|
21
|
+
flex: 1;
|
|
22
|
+
border: none;
|
|
23
|
+
padding: 12px 16px;
|
|
24
|
+
font-size: 16px;
|
|
25
|
+
outline: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.mobile-search-input::placeholder {
|
|
29
|
+
color: #888;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.mobile-search-button {
|
|
33
|
+
background-color: #000;
|
|
34
|
+
border: none;
|
|
35
|
+
padding: 0 16px;
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
outline: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.mobile-search-button svg {
|
|
44
|
+
/* fill: #fff; */
|
|
45
|
+
height: 20px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.mobile-search-button:active {
|
|
49
|
+
background-color: #555;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.mobile-nav-search {
|
|
53
|
+
position: relative;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.mobile-result-item {
|
|
57
|
+
padding: 9px 12px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.mobile-result-item a {
|
|
61
|
+
color: #222325;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.mobile-searchbarResults {
|
|
65
|
+
background-color: #fff;
|
|
66
|
+
border: 1px solid #e4e5e7;
|
|
67
|
+
border-radius: 6px;
|
|
68
|
+
-webkit-box-shadow: 0 17px 58px rgba(0, 0, 0, .08);
|
|
69
|
+
box-shadow: 0 17px 58px rgba(0, 0, 0, .08);
|
|
70
|
+
-webkit-box-sizing: border-box;
|
|
71
|
+
box-sizing: border-box;
|
|
72
|
+
color: #74767e;
|
|
73
|
+
cursor: default;
|
|
74
|
+
margin-top: 8px;
|
|
75
|
+
padding: 12px;
|
|
76
|
+
position: fixed;
|
|
77
|
+
margin-top: 42px;
|
|
78
|
+
width: 244px;
|
|
79
|
+
height: 400px;
|
|
80
|
+
overflow-y: scroll;
|
|
81
|
+
z-index: 101;
|
|
82
|
+
display: none;
|
|
83
|
+
}
|
|
84
|
+
</style>
|
|
85
|
+
|
|
1
86
|
{%- if site.newToolBar and page.lang == 'en' -%}
|
|
2
|
-
<div class="appscms-toolbar">
|
|
87
|
+
<div class="appscms-toolbar">
|
|
3
88
|
<div class="row">
|
|
4
89
|
<div class="col-11 mx-auto">
|
|
5
90
|
<div class="appscms-toolbar-list">
|
|
6
91
|
<button class="scroll-left">❮</button>
|
|
7
92
|
<div id="close-nav-ham" data-open="1" class="close-nav-ham">
|
|
8
|
-
<img
|
|
9
|
-
|
|
10
|
-
style="cursor: pointer"
|
|
11
|
-
height="30px"
|
|
12
|
-
width="30px"
|
|
13
|
-
src="/assets/images/close-button.svg"
|
|
14
|
-
alt="close-button"
|
|
15
|
-
/>
|
|
93
|
+
<img class="mt-3" style="cursor: pointer" height="30px" width="30px" src="/assets/images/close-button.svg"
|
|
94
|
+
alt="close-button" />
|
|
16
95
|
</div>
|
|
17
96
|
{%- if site.navigationSearch -%}
|
|
18
97
|
<div class="mobile-search-bar">
|
|
19
98
|
<div class="mobile-search-container">
|
|
20
|
-
<input
|
|
21
|
-
type="text"
|
|
22
|
-
class="mobile-search-input"
|
|
23
|
-
placeholder="Search Tools"
|
|
24
|
-
/>
|
|
99
|
+
<input type="text" class="mobile-search-input" placeholder="Search Tools">
|
|
25
100
|
<button class="mobile-search-button">
|
|
26
|
-
<svg
|
|
27
|
-
viewBox="0 0 24 24"
|
|
28
|
-
fill="none"
|
|
29
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
30
|
-
stroke="#ffffff"
|
|
31
|
-
>
|
|
101
|
+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff">
|
|
32
102
|
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
|
|
33
|
-
<g
|
|
34
|
-
id="SVGRepo_tracerCarrier"
|
|
35
|
-
stroke-linecap="round"
|
|
36
|
-
stroke-linejoin="round"
|
|
37
|
-
></g>
|
|
103
|
+
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
|
|
38
104
|
<g id="SVGRepo_iconCarrier">
|
|
39
105
|
<path
|
|
40
106
|
d="M16.6725 16.6412L21 21M19 11C19 15.4183 15.4183 19 11 19C6.58172 19 3 15.4183 3 11C3 6.58172 6.58172 3 11 3C15.4183 3 19 6.58172 19 11Z"
|
|
41
|
-
stroke="#ffffff"
|
|
42
|
-
stroke-width="2"
|
|
43
|
-
stroke-linecap="round"
|
|
44
|
-
stroke-linejoin="round"
|
|
45
|
-
></path>
|
|
107
|
+
stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
46
108
|
</g>
|
|
47
109
|
</svg>
|
|
48
110
|
</button>
|
|
49
111
|
<div id="mobile-results" class="mobile-searchbarResults"></div>
|
|
50
112
|
</div>
|
|
51
113
|
</div>
|
|
52
|
-
{%- endif -%}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
>
|
|
114
|
+
{%- endif -%}
|
|
115
|
+
|
|
116
|
+
{%- if Data.megaMenu -%}
|
|
117
|
+
{%- for item in Data.megaMenu.dropdown -%}
|
|
118
|
+
<li class="appscms-toolbar-list-item">
|
|
119
|
+
<span class="appscms-toolbar-list-item-span d-flex justify-content-between">
|
|
58
120
|
{{ item.categoryName }}
|
|
59
121
|
</span>
|
|
60
122
|
<div class="list-item-dropdown">
|
|
61
123
|
<div class="row">
|
|
62
124
|
{% if item.featuredLinks.size > 0 %}
|
|
63
|
-
<
|
|
64
|
-
<
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
<
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
125
|
+
<div class="col-lg-4 col-md-6">
|
|
126
|
+
<div class="appscms-featured-tools">
|
|
127
|
+
<div class="category-tools">
|
|
128
|
+
<h4 class="expand_menu-name-categiry">FEATURED TOOLS</h4>
|
|
129
|
+
{%- for i in item.featuredLinks -%}
|
|
130
|
+
<a href="{{i.url}}" class="category-tools__item">
|
|
131
|
+
<div class="icon_box v_2 v2">
|
|
132
|
+
<img src="{{i.iconSrc}}" alt="icon-img" />
|
|
133
|
+
</div>
|
|
134
|
+
<div class="category-tools__content">
|
|
135
|
+
<h4>{{i.name}}</h4>
|
|
136
|
+
<p class="category-tools__descr gray">{{i.text}}</p>
|
|
137
|
+
</div>
|
|
138
|
+
</a>
|
|
139
|
+
{%- endfor -%}
|
|
73
140
|
</div>
|
|
74
|
-
</
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
{%-
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
{%- endif -%}
|
|
144
|
+
{%- if item.links.size > 0 -%}
|
|
78
145
|
<div class="col-md-8">
|
|
79
146
|
<div class="appscms-other-tools">
|
|
80
147
|
<div class="expand_menu-name-categiry">OTHER TOOLS</div>
|
|
81
148
|
|
|
82
|
-
{% assign array_size = item.links | size %}
|
|
83
|
-
half_size = array_size | divided_by: 2 %}
|
|
84
|
-
|
|
85
|
-
item.links | slice:
|
|
149
|
+
{% assign array_size = item.links | size %}
|
|
150
|
+
{% assign half_size = array_size | divided_by: 2 %}
|
|
151
|
+
|
|
152
|
+
{% assign first_half = item.links | slice: 0, half_size %}
|
|
153
|
+
{% assign second_half = item.links | slice: half_size, array_size %}
|
|
154
|
+
|
|
86
155
|
|
|
87
156
|
<div class="row">
|
|
88
157
|
<div class="col-md-6">
|
|
@@ -90,8 +159,10 @@
|
|
|
90
159
|
{%- for i in first_half | slice: 0, half -%}
|
|
91
160
|
<li>
|
|
92
161
|
<a href="{{ i.url }}">{{ i.name }}</a>
|
|
162
|
+
|
|
93
163
|
</li>
|
|
94
164
|
{%- endfor -%}
|
|
165
|
+
|
|
95
166
|
</ul>
|
|
96
167
|
</div>
|
|
97
168
|
<div class="col-md-6">
|
|
@@ -99,78 +170,97 @@
|
|
|
99
170
|
{%- for i in second_half -%}
|
|
100
171
|
<li>
|
|
101
172
|
<a href="{{ i.url }}">{{ i.name }}</a>
|
|
173
|
+
|
|
102
174
|
</li>
|
|
103
175
|
{%- endfor -%}
|
|
104
176
|
</ul>
|
|
105
177
|
</div>
|
|
178
|
+
|
|
179
|
+
|
|
106
180
|
</div>
|
|
181
|
+
|
|
107
182
|
</div>
|
|
108
183
|
</div>
|
|
109
184
|
{%- endif -%}
|
|
110
185
|
</div>
|
|
111
186
|
</div>
|
|
112
|
-
</
|
|
113
|
-
{%- endfor -%}
|
|
114
|
-
-%}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
>
|
|
187
|
+
</li>
|
|
188
|
+
{%- endfor -%}
|
|
189
|
+
{%- endif -%}
|
|
190
|
+
|
|
191
|
+
{%- for item in siteData.megaMenu.dropdown -%}
|
|
192
|
+
<li class="appscms-toolbar-list-item">
|
|
193
|
+
<span class="appscms-toolbar-list-item-span d-flex justify-content-between">
|
|
119
194
|
{{ item.categoryName }}
|
|
120
195
|
</span>
|
|
121
196
|
<div class="list-item-dropdown">
|
|
122
197
|
<div class="row">
|
|
123
198
|
{%- if item.featuredLinks.size > 0 -%}
|
|
124
|
-
<
|
|
125
|
-
<
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
<
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
199
|
+
<div class="col-lg-4 col-md-6">
|
|
200
|
+
<div class="appscms-featured-tools">
|
|
201
|
+
<div class="category-tools">
|
|
202
|
+
<h4 class="expand_menu-name-categiry">FEATURED TOOLS</h4>
|
|
203
|
+
{%- for i in item.featuredLinks -%}
|
|
204
|
+
<a href="{{i.url}}" class="category-tools__item">
|
|
205
|
+
<div class="icon_box v_2 v2">
|
|
206
|
+
<img src="{{i.iconSrc}}" alt="icon-img" />
|
|
207
|
+
</div>
|
|
208
|
+
<div class="category-tools__content">
|
|
209
|
+
<h4>{{i.name}}</h4>
|
|
210
|
+
<p class="category-tools__descr gray">{{i.text}}</p>
|
|
211
|
+
</div>
|
|
212
|
+
</a>
|
|
213
|
+
{%- endfor -%}
|
|
214
|
+
</div>
|
|
215
|
+
</div>
|
|
216
|
+
</div>
|
|
217
|
+
{%- endif -%}
|
|
218
|
+
{%- if item.links.size > 0 -%}
|
|
219
|
+
<div class="col-lg-6">
|
|
220
|
+
<div class="appscms-other-tools">
|
|
221
|
+
<div class="expand_menu-name-categiry">OTHER TOOLS</div>
|
|
222
|
+
{% assign array_size = item.links | size %}
|
|
223
|
+
{% assign half_size = array_size | divided_by: 2 %}
|
|
224
|
+
|
|
225
|
+
{% assign first_half = item.links | slice: 0, half_size %}
|
|
226
|
+
{% assign second_half = item.links | slice: half_size, array_size %}
|
|
227
|
+
|
|
228
|
+
<div class="row">
|
|
229
|
+
<div class="col-md-6">
|
|
230
|
+
<ul class="mega_menu">
|
|
231
|
+
{%- for i in first_half | slice: 0, half -%}
|
|
232
|
+
<li>
|
|
233
|
+
<a href="{{ i.url }}">{{ i.name }}</a>
|
|
234
|
+
|
|
235
|
+
</li>
|
|
236
|
+
{%- endfor -%}
|
|
237
|
+
</ul>
|
|
238
|
+
</div>
|
|
239
|
+
<div class="col-md-6">
|
|
240
|
+
<ul class="mega_menu">
|
|
241
|
+
|
|
242
|
+
{%- for i in second_half -%}
|
|
243
|
+
<li>
|
|
244
|
+
<a href="{{ i.url }}">{{ i.name }}</a>
|
|
245
|
+
|
|
246
|
+
</li>
|
|
247
|
+
{%- endfor -%}
|
|
248
|
+
</ul>
|
|
249
|
+
</div>
|
|
250
|
+
|
|
251
|
+
|
|
134
252
|
</div>
|
|
135
|
-
</a>
|
|
136
|
-
{%- endfor -%}
|
|
137
|
-
</section>
|
|
138
|
-
{%- endif -%} {%- if item.links.size > 0 -%}
|
|
139
|
-
<section class="col-lg-6 col-md-8 appscms-other-tools">
|
|
140
|
-
<div class="expand_menu-name-categiry">OTHER TOOLS</div>
|
|
141
|
-
{% assign array_size = item.links | size %} {% assign half_size
|
|
142
|
-
= array_size | divided_by: 2 %} {% assign first_half =
|
|
143
|
-
item.links | slice: 0, half_size %} {% assign second_half =
|
|
144
|
-
item.links | slice: half_size, array_size %}
|
|
145
|
-
|
|
146
|
-
<div class="row">
|
|
147
|
-
<nav class="col-md-6">
|
|
148
|
-
<ul class="mega_menu">
|
|
149
|
-
{%- for i in first_half | slice: 0, half -%}
|
|
150
|
-
<li>
|
|
151
|
-
<a href="{{ i.url }}">{{ i.name }}</a>
|
|
152
|
-
</li>
|
|
153
|
-
{%- endfor -%}
|
|
154
|
-
</ul>
|
|
155
|
-
</nav>
|
|
156
|
-
<nav class="col-md-6">
|
|
157
|
-
<ul class="mega_menu">
|
|
158
|
-
{%- for i in second_half -%}
|
|
159
|
-
<li>
|
|
160
|
-
<a href="{{ i.url }}">{{ i.name }}</a>
|
|
161
|
-
</li>
|
|
162
|
-
{%- endfor -%}
|
|
163
|
-
</ul>
|
|
164
|
-
</nav>
|
|
165
253
|
</div>
|
|
166
|
-
</
|
|
254
|
+
</div>
|
|
167
255
|
{%- endif -%}
|
|
256
|
+
|
|
168
257
|
</div>
|
|
169
258
|
</div>
|
|
170
|
-
</
|
|
259
|
+
</li>
|
|
171
260
|
{%- endfor -%}
|
|
172
261
|
<button class="scroll-right">❯</button>
|
|
173
262
|
</div>
|
|
263
|
+
|
|
174
264
|
</div>
|
|
175
265
|
</div>
|
|
176
266
|
</div>
|
|
@@ -181,47 +271,47 @@
|
|
|
181
271
|
<div class="appscms-toolbar-list">
|
|
182
272
|
<button class="scroll-left">❮</button>
|
|
183
273
|
<div id="close-nav-ham" data-open="1" class="close-nav-ham">
|
|
184
|
-
<img
|
|
185
|
-
|
|
186
|
-
style="cursor: pointer"
|
|
187
|
-
height="30px"
|
|
188
|
-
width="30px"
|
|
189
|
-
src="/assets/images/close-button.svg"
|
|
190
|
-
alt="close-button"
|
|
191
|
-
/>
|
|
274
|
+
<img class="mt-3" style="cursor: pointer;" height="30px" width="30px" src="/assets/images/close-button.svg"
|
|
275
|
+
alt="close-button">
|
|
192
276
|
</div>
|
|
193
|
-
{%- if Data.megaMenu -%}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
>
|
|
277
|
+
{%- if Data.megaMenu -%}
|
|
278
|
+
{%- for item in Data.megaMenu.dropdown -%}
|
|
279
|
+
<li class="appscms-toolbar-list-item">
|
|
280
|
+
<span class="appscms-toolbar-list-item-span d-flex justify-content-between">
|
|
198
281
|
{{ item.categoryName }}
|
|
199
282
|
</span>
|
|
200
283
|
<div class="list-item-dropdown">
|
|
201
|
-
<h4 class="list-item-dropdown-heading">
|
|
284
|
+
<h4 class="list-item-dropdown-heading">
|
|
285
|
+
{{ Data.nav-link-name }}
|
|
286
|
+
</h4>
|
|
202
287
|
<div class="row">
|
|
203
|
-
{%- assign count = 0 -%}
|
|
204
|
-
|
|
205
|
-
|
|
288
|
+
{%- assign count = 0 -%}
|
|
289
|
+
{%- for i in item.links -%}
|
|
290
|
+
{%- assign count = count | plus: 1 -%}
|
|
291
|
+
{%- if count == 1 -%}
|
|
292
|
+
{%- if site.name == "olarandoms" -%}
|
|
206
293
|
<div class="col-xl-6">
|
|
207
294
|
{%- else -%}
|
|
208
295
|
<div class="col-md-6 col-lg-4">
|
|
209
|
-
{%- endif -%}
|
|
296
|
+
{%- endif -%}
|
|
297
|
+
{%- endif -%}
|
|
298
|
+
{%- if count == 6 -%}
|
|
210
299
|
<a class="toolbar-link" href="{{ i.url }}">{{ i.name }}</a>
|
|
211
300
|
</div>
|
|
212
|
-
{%- assign count = 0 -%}
|
|
301
|
+
{%- assign count = 0 -%}
|
|
302
|
+
{%- else -%}
|
|
213
303
|
<a class="toolbar-link" href="{{ i.url }}">{{ i.name }}</a>
|
|
214
|
-
{%- endif -%}
|
|
304
|
+
{%- endif -%}
|
|
305
|
+
{%- endfor -%}
|
|
215
306
|
</div>
|
|
216
307
|
</div>
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
{%-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
>
|
|
308
|
+
</li>
|
|
309
|
+
{%- endfor -%}
|
|
310
|
+
{%- endif -%}
|
|
311
|
+
|
|
312
|
+
{%- for item in siteData.megaMenu.dropdown -%}
|
|
313
|
+
<li class="appscms-toolbar-list-item">
|
|
314
|
+
<span class="appscms-toolbar-list-item-span d-flex justify-content-between">
|
|
225
315
|
{{ item.categoryName }}
|
|
226
316
|
</span>
|
|
227
317
|
<div class="list-item-dropdown">
|
|
@@ -229,22 +319,27 @@
|
|
|
229
319
|
{{ siteData.megaMenu.nav-link-name }}
|
|
230
320
|
</h4>
|
|
231
321
|
<div class="row">
|
|
232
|
-
{%- assign count = 0 -%}
|
|
233
|
-
|
|
234
|
-
|
|
322
|
+
{%- assign count = 0 -%}
|
|
323
|
+
{%- for i in item.links -%}
|
|
324
|
+
{%- assign count = count | plus: 1 -%}
|
|
325
|
+
{%- if count == 1 -%}
|
|
326
|
+
{%- if site.name == "olarandoms" -%}
|
|
235
327
|
<div class="col-xl-6">
|
|
236
328
|
{%- else -%}
|
|
237
329
|
<div class="col-md-6 col-lg-4">
|
|
238
|
-
{%- endif -%}
|
|
330
|
+
{%- endif -%}
|
|
331
|
+
{%- endif -%}
|
|
332
|
+
{%- if count == 6 -%}
|
|
239
333
|
<a class="toolbar-link" href="{{ i.url }}">{{ i.name }}</a>
|
|
240
334
|
</div>
|
|
241
|
-
{%- assign count = 0 -%}
|
|
335
|
+
{%- assign count = 0 -%}
|
|
336
|
+
{%- else -%}
|
|
242
337
|
<a class="toolbar-link" href="{{ i.url }}">{{ i.name }}</a>
|
|
243
|
-
{%- endif -%}
|
|
338
|
+
{%- endif -%}
|
|
339
|
+
{%- endfor -%}
|
|
244
340
|
</div>
|
|
245
341
|
</div>
|
|
246
|
-
|
|
247
|
-
</nav>
|
|
342
|
+
</li>
|
|
248
343
|
{%- endfor -%}
|
|
249
344
|
<button class="scroll-right">❯</button>
|
|
250
345
|
</div>
|
|
@@ -252,3 +347,95 @@
|
|
|
252
347
|
</div>
|
|
253
348
|
</div>
|
|
254
349
|
{%- endif -%}
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
<script>
|
|
355
|
+
document.addEventListener("DOMContentLoaded", function () {
|
|
356
|
+
const scrollContainer = document.querySelector(".appscms-toolbar-list");
|
|
357
|
+
const scrollLeft = document.querySelector(".scroll-left");
|
|
358
|
+
const scrollRight = document.querySelector(".scroll-right");
|
|
359
|
+
|
|
360
|
+
function updateScrollButtons() {
|
|
361
|
+
scrollLeft.style.display =
|
|
362
|
+
scrollContainer.scrollLeft > 0 ? "block" : "none";
|
|
363
|
+
scrollRight.style.display =
|
|
364
|
+
scrollContainer.scrollWidth >
|
|
365
|
+
scrollContainer.clientWidth + scrollContainer.scrollLeft
|
|
366
|
+
? "block"
|
|
367
|
+
: "none";
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
scrollLeft.addEventListener("click", function () {
|
|
371
|
+
scrollContainer.scrollLeft -= 120; // Adjust this value as needed
|
|
372
|
+
updateScrollButtons();
|
|
373
|
+
});
|
|
374
|
+
|
|
375
|
+
scrollRight.addEventListener("click", function () {
|
|
376
|
+
scrollContainer.scrollLeft += 120; // Adjust this value as needed
|
|
377
|
+
updateScrollButtons();
|
|
378
|
+
});
|
|
379
|
+
|
|
380
|
+
scrollContainer.addEventListener("scroll", updateScrollButtons);
|
|
381
|
+
|
|
382
|
+
// Initial check to hide buttons if necessary
|
|
383
|
+
updateScrollButtons();
|
|
384
|
+
});
|
|
385
|
+
|
|
386
|
+
</script>
|
|
387
|
+
|
|
388
|
+
<style>
|
|
389
|
+
.scroll-container {
|
|
390
|
+
display: flex;
|
|
391
|
+
align-items: center;
|
|
392
|
+
background-color: #333;
|
|
393
|
+
position: relative;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.scroll-left,
|
|
397
|
+
.scroll-right {
|
|
398
|
+
background-color: #4456f6f7;
|
|
399
|
+
color: white;
|
|
400
|
+
border: none;
|
|
401
|
+
height: 40px;
|
|
402
|
+
cursor: pointer;
|
|
403
|
+
position: absolute;
|
|
404
|
+
width: 40px;
|
|
405
|
+
top: 50%;
|
|
406
|
+
z-index: 100;
|
|
407
|
+
transform: translateY(-50%);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.scroll-left {
|
|
411
|
+
left: 0;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.scroll-right {
|
|
415
|
+
right: 0;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.scroll-left:hover,
|
|
419
|
+
.scroll-right:hover {
|
|
420
|
+
background-color: #8691f6f7;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.navbar {
|
|
424
|
+
/* overflow-x: auto; */
|
|
425
|
+
white-space: nowrap;
|
|
426
|
+
flex-grow: 1;
|
|
427
|
+
scroll-behavior: smooth;
|
|
428
|
+
display: flex;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.navbar ul {
|
|
432
|
+
padding: 0;
|
|
433
|
+
margin: 0;
|
|
434
|
+
display: flex;
|
|
435
|
+
list-style-type: none;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.navbar li {
|
|
439
|
+
display: inline;
|
|
440
|
+
}
|
|
441
|
+
</style>
|