appscms-tools-theme 3.4.3 → 3.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/feature/en/compress-pdf.json +5 -49
- data/_includes/infographics/infographics.html +65 -16
- data/_layouts/feature.html +18 -4
- data/assets/css/tools.css +86 -0
- data/assets/js/theme.js +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f99e66f517bc2717c6943c3b166fa99949b01915761fe40e550ddef9d8679faf
|
4
|
+
data.tar.gz: d328e1bc1c33e3c3946c5af2728ef62d17bda144280ec081d84d9a1104a14d26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20340595d61fa6f33f8e0567b767f040b2907937c05eba2ce01e2acf0148554a812c48024690f79029351a47c7d8a164d52d9aa7b0cebdd61984292e2f3b6283
|
7
|
+
data.tar.gz: 537f966d39d0200e098b6840e06807c25141e7c08fb3376b2a066a4ae13a5a9c2bc7e27070ce19ffde9cb2e5ac3f3ce5ac2c20b9f8775a7aa8f1cd20d6d28fee
|
@@ -35,63 +35,19 @@
|
|
35
35
|
],
|
36
36
|
"infographics": [
|
37
37
|
{
|
38
|
-
"image": "https://
|
39
|
-
"description": "this is image description"
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"image": "https://cdn-infographic.pressidium.com/wp-content/uploads/2022/11/The-Changing-Ages-Of-The-Workforce-480x460.png",
|
43
|
-
"description": "this is image description"
|
44
|
-
},
|
45
|
-
{
|
46
|
-
"image": "https://cdn-infographic.pressidium.com/wp-content/uploads/2022/11/The-Changing-Ages-Of-The-Workforce-480x460.png",
|
47
|
-
"description": "this is image description"
|
48
|
-
},
|
49
|
-
{
|
50
|
-
"image": "https://cdn-infographic.pressidium.com/wp-content/uploads/2022/11/The-Changing-Ages-Of-The-Workforce-480x460.png",
|
51
|
-
"description": "this is image description"
|
52
|
-
},
|
53
|
-
{
|
54
|
-
"image": "https://cdn-infographic.pressidium.com/wp-content/uploads/2022/11/The-Changing-Ages-Of-The-Workforce-480x460.png",
|
55
|
-
"description": "this is image description"
|
56
|
-
},
|
57
|
-
{
|
58
|
-
"image": "https://cdn-infographic.pressidium.com/wp-content/uploads/2022/11/The-Changing-Ages-Of-The-Workforce-480x460.png",
|
59
|
-
"description": "this is image description"
|
60
|
-
},
|
61
|
-
{
|
62
|
-
"image": "https://cdn-infographic.pressidium.com/wp-content/uploads/2022/11/The-Changing-Ages-Of-The-Workforce-480x460.png",
|
63
|
-
"description": "this is image description"
|
64
|
-
},
|
65
|
-
{
|
66
|
-
"image": "https://cdn-infographic.pressidium.com/wp-content/uploads/2022/11/The-Changing-Ages-Of-The-Workforce-480x460.png",
|
67
|
-
"description": "this is image description"
|
68
|
-
},
|
69
|
-
{
|
70
|
-
"image": "https://cdn-infographic.pressidium.com/wp-content/uploads/2022/11/The-Changing-Ages-Of-The-Workforce-480x460.png",
|
71
|
-
"description": "this is image description"
|
72
|
-
},
|
73
|
-
{
|
74
|
-
"image": "https://cdn-infographic.pressidium.com/wp-content/uploads/2022/11/The-Changing-Ages-Of-The-Workforce-480x460.png",
|
75
|
-
"description": "this is image description"
|
76
|
-
},
|
77
|
-
{
|
78
|
-
"image": "https://cdn-infographic.pressidium.com/wp-content/uploads/2022/11/The-Changing-Ages-Of-The-Workforce-480x460.png",
|
79
|
-
"description": "this is image description"
|
80
|
-
},
|
81
|
-
{
|
82
|
-
"image": "https://cdn-infographic.pressidium.com/wp-content/uploads/2022/11/The-Changing-Ages-Of-The-Workforce-480x460.png",
|
38
|
+
"image": "https://images.unsplash.com/photo-1454496522488-7a8e488e8606?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=876&q=80",
|
83
39
|
"description": "this is image description"
|
84
40
|
},
|
85
41
|
{
|
86
|
-
"image": "https://
|
42
|
+
"image": "https://images.unsplash.com/photo-1619266465172-02a857c3556d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1031&q=80",
|
87
43
|
"description": "this is image description"
|
88
44
|
},
|
89
45
|
{
|
90
|
-
"image": "https://
|
46
|
+
"image": "https://images.unsplash.com/photo-1454496522488-7a8e488e8606?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=876&q=80",
|
91
47
|
"description": "this is image description"
|
92
48
|
},
|
93
49
|
{
|
94
|
-
"image": "https://
|
50
|
+
"image": "https://images.unsplash.com/photo-1454496522488-7a8e488e8606?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=876&q=80",
|
95
51
|
"description": "this is image description"
|
96
52
|
},
|
97
53
|
{
|
@@ -139,7 +95,7 @@
|
|
139
95
|
],
|
140
96
|
"HOW_TO_CONTENT": {
|
141
97
|
"logoImageUrl": "/assets/idea.svg",
|
142
|
-
"YoutubeVideoUrl": "
|
98
|
+
"YoutubeVideoUrl": "https://www.youtube.com/watch?v=Fh3H50OGE_c&ab_channel=safeimagekit",
|
143
99
|
"heading": "How to generate the ASCII art from our image.",
|
144
100
|
"steps": [
|
145
101
|
"Upload the image or Click on the drop down arrow and select Dropbox/Google Drive",
|
@@ -1,22 +1,71 @@
|
|
1
|
-
<style>
|
2
|
-
.infographics_section {
|
3
|
-
width: 100%;
|
4
|
-
padding: 50px 0px 50px 0px;
|
5
|
-
border-top: 1px solid rgb(224, 224, 224);
|
6
|
-
}
|
7
|
-
</style>
|
8
1
|
<div class="infographics_section">
|
9
|
-
<
|
10
|
-
|
11
|
-
|
12
|
-
|
2
|
+
<h3 class="text-center w-100 mb-3"><b>Infographics Section</b></h3>
|
3
|
+
<div class="slider">
|
4
|
+
<div class="row">
|
5
|
+
<div class="col-md-12 mx-auto">
|
6
|
+
<div id="carousel">
|
13
7
|
{%- for item in featureData.infographics -%}
|
14
|
-
<
|
15
|
-
<img
|
16
|
-
|
8
|
+
<div class="slide">
|
9
|
+
<img src="{{item.image}}" alt="Photo1" />
|
10
|
+
<p class="infographics-desc">{{item.description | capitalize }}</p>
|
11
|
+
</div>
|
17
12
|
{%- endfor -%}
|
18
|
-
</
|
13
|
+
</div>
|
19
14
|
</div>
|
20
15
|
</div>
|
16
|
+
<button class="btn-slide prev"><i class="fas fa-3x fa-chevron-circle-left"></i></button>
|
17
|
+
<button class="btn-slide next"><i class="fas fa-3x fa-chevron-circle-right"></i></button>
|
21
18
|
</div>
|
22
|
-
|
19
|
+
<div class=" dots-container">
|
20
|
+
{%- for item in featureData.infographics -%}
|
21
|
+
<span class="dot active" data-slide="{{ forloop.index0 }}"></span>
|
22
|
+
{%- endfor -%}
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
|
26
|
+
<script>
|
27
|
+
function Slider() {
|
28
|
+
const carouselSlides = document.querySelectorAll('.slide');
|
29
|
+
const btnPrev = document.querySelector('.prev');
|
30
|
+
const btnNext = document.querySelector('.next');
|
31
|
+
const dotsSlide = document.querySelector('.dots-container');
|
32
|
+
let currentSlide = 0;
|
33
|
+
|
34
|
+
const activeDot = function (slide) {
|
35
|
+
document.querySelectorAll('.dot').forEach(dot => dot.classList.remove('active'));
|
36
|
+
document.querySelector(`.dot[data-slide="${slide}"]`).classList.add('active');
|
37
|
+
};
|
38
|
+
activeDot(currentSlide);
|
39
|
+
|
40
|
+
const changeSlide = function (slides) {
|
41
|
+
carouselSlides.forEach((slide, index) => (slide.style.transform = `translateX(${100 * (index - slides)}%)`));
|
42
|
+
};
|
43
|
+
changeSlide(currentSlide);
|
44
|
+
|
45
|
+
btnNext.addEventListener('click', function () {
|
46
|
+
currentSlide++;
|
47
|
+
if (carouselSlides.length - 1 < currentSlide) {
|
48
|
+
currentSlide = 0;
|
49
|
+
};
|
50
|
+
changeSlide(currentSlide);
|
51
|
+
activeDot(currentSlide);
|
52
|
+
});
|
53
|
+
btnPrev.addEventListener('click', function () {
|
54
|
+
currentSlide--;
|
55
|
+
if (0 >= currentSlide) {
|
56
|
+
currentSlide = 0;
|
57
|
+
};
|
58
|
+
changeSlide(currentSlide);
|
59
|
+
activeDot(currentSlide);
|
60
|
+
});
|
61
|
+
|
62
|
+
dotsSlide.addEventListener('click', function (e) {
|
63
|
+
if (e.target.classList.contains('dot')) {
|
64
|
+
const slide = e.target.dataset.slide;
|
65
|
+
changeSlide(slide);
|
66
|
+
activeDot(slide);
|
67
|
+
}
|
68
|
+
});
|
69
|
+
};
|
70
|
+
Slider();
|
71
|
+
</script>
|
data/_layouts/feature.html
CHANGED
@@ -257,10 +257,24 @@
|
|
257
257
|
<div class="row">
|
258
258
|
{%- endif -%}
|
259
259
|
<div class="col-md-6 order-0">
|
260
|
-
{%- if featureData.HOW_TO_CONTENT.YoutubeVideoUrl -%}
|
260
|
+
{%- if featureData.HOW_TO_CONTENT.YoutubeVideoUrl.size > 0 -%}
|
261
261
|
<div class="how-to-video-wrapper">
|
262
|
-
|
262
|
+
{% assign video_url = featureData.HOW_TO_CONTENT.YoutubeVideoUrl %}
|
263
|
+
{% assign params = video_url | split: "?" | last | split: "&" %}
|
264
|
+
{% for param in params %}
|
265
|
+
{% if param contains "v=" %}
|
266
|
+
{% assign video_id = param | split: "=" | last %}
|
267
|
+
{% endif %}
|
268
|
+
{% endfor %}
|
269
|
+
|
270
|
+
{%- if site.monumetricId -%}
|
271
|
+
<iframe class="mb-5" width="400" height="315" src="https://www.youtube.com/embed/{{video_id}}?autoplay=1&mute=1" allowfullscreen>
|
272
|
+
</iframe>
|
273
|
+
{%- else -%}
|
274
|
+
<iframe class="mb-5" width="500" height="315" src="https://www.youtube.com/embed/{{video_id}}?autoplay=1&mute=1" allowfullscreen>
|
263
275
|
</iframe>
|
276
|
+
{%- endif -%}
|
277
|
+
|
264
278
|
</div>
|
265
279
|
{%- else -%}
|
266
280
|
<div class="how-to-img-wrapper">
|
@@ -331,8 +345,8 @@
|
|
331
345
|
</div>
|
332
346
|
</div>
|
333
347
|
</section>
|
334
|
-
{%- endif -%} {%- endif -%} {%- include share/socialshare.html -%}
|
335
|
-
{%- include Rating/rating.html -%}
|
348
|
+
{%- endif -%} {%- endif -%} {%- include share/socialshare.html -%}
|
349
|
+
{%- include Rating/rating.html -%}
|
336
350
|
{%- if featureData.infographics.size > 0 -%}
|
337
351
|
{%- include infographics/infographics.html -%}
|
338
352
|
{%- endif -%}
|
data/assets/css/tools.css
CHANGED
@@ -1594,3 +1594,89 @@ ol li::marker {
|
|
1594
1594
|
transition: all 0.3s ease;
|
1595
1595
|
border-radius: 5px;
|
1596
1596
|
}
|
1597
|
+
/* infographics csss */
|
1598
|
+
.infographics_section {
|
1599
|
+
width: 100%;
|
1600
|
+
padding: 50px 0px 50px 0px;
|
1601
|
+
border-top: 1px solid rgb(224, 224, 224);
|
1602
|
+
}
|
1603
|
+
|
1604
|
+
.infographics_section .infographics-desc {
|
1605
|
+
position: absolute;
|
1606
|
+
color: #fff;
|
1607
|
+
bottom: 30px;
|
1608
|
+
}
|
1609
|
+
|
1610
|
+
.infographics_section .slider {
|
1611
|
+
position: relative;
|
1612
|
+
max-width: 40rem;
|
1613
|
+
height: 26.625rem;
|
1614
|
+
margin: 0 auto;
|
1615
|
+
overflow: hidden;
|
1616
|
+
}
|
1617
|
+
|
1618
|
+
.infographics_section .slide {
|
1619
|
+
position: absolute;
|
1620
|
+
top: 0;
|
1621
|
+
width: 100%;
|
1622
|
+
height: 26.625rem;
|
1623
|
+
display: flex;
|
1624
|
+
align-items: center;
|
1625
|
+
justify-content: center;
|
1626
|
+
transition: transform 1s;
|
1627
|
+
}
|
1628
|
+
|
1629
|
+
.infographics_section .slide img {
|
1630
|
+
width: 100%;
|
1631
|
+
height: 100%;
|
1632
|
+
object-fit: cover;
|
1633
|
+
}
|
1634
|
+
|
1635
|
+
.infographics_section button {
|
1636
|
+
background: none;
|
1637
|
+
border: none;
|
1638
|
+
}
|
1639
|
+
|
1640
|
+
.infographics_section button .fas {
|
1641
|
+
color:#fff;
|
1642
|
+
}
|
1643
|
+
|
1644
|
+
.infographics_section .btn-slide {
|
1645
|
+
position: absolute;
|
1646
|
+
top: 50%;
|
1647
|
+
z-index: 10;
|
1648
|
+
|
1649
|
+
height: 5.5rem;
|
1650
|
+
width: 5.5rem;
|
1651
|
+
cursor: pointer;
|
1652
|
+
}
|
1653
|
+
|
1654
|
+
.infographics_section .prev {
|
1655
|
+
left: 3rem;
|
1656
|
+
transform: translate(-50%, -50%);
|
1657
|
+
}
|
1658
|
+
|
1659
|
+
.infographics_section .next {
|
1660
|
+
right: 3rem;
|
1661
|
+
transform: translate(50%, -50%);
|
1662
|
+
}
|
1663
|
+
|
1664
|
+
.infographics_section .dots-container {
|
1665
|
+
display: flex;
|
1666
|
+
justify-content: center;
|
1667
|
+
align-items: center;
|
1668
|
+
position: relative;
|
1669
|
+
}
|
1670
|
+
|
1671
|
+
.infographics_section .dot {
|
1672
|
+
width: 25px;
|
1673
|
+
height: 5px;
|
1674
|
+
margin: 15px 5px;
|
1675
|
+
border-radius: .5rem;
|
1676
|
+
background: rgba(39, 39, 39, .5);
|
1677
|
+
cursor: pointer;
|
1678
|
+
}
|
1679
|
+
|
1680
|
+
.infographics_section .dot.active {
|
1681
|
+
background: #272727;
|
1682
|
+
}
|
data/assets/js/theme.js
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appscms-tools-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vivek-appscms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|