appscms-tools-theme 4.8.3 → 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.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. data/_data/.DS_Store +0 -0
  3. data/_data/about/en/about.json +16 -16
  4. data/_data/blog/nav.json +14 -14
  5. data/_data/blog/relatedblogs.json +2816 -2816
  6. data/_data/feature/en/batch-conversion.json +192 -192
  7. data/_data/feature/en/compress-pdf.json +223 -223
  8. data/_data/feature/en/devtools.json +321 -321
  9. data/_data/feature/en/face-detection.json +156 -156
  10. data/_data/feature/en/split-pdf.json +221 -221
  11. data/_data/feature/en/theframe.json +160 -160
  12. data/_data/footer/en/data.json +264 -264
  13. data/_data/header/en/data.json +672 -672
  14. data/_data/home/en/en.json +250 -250
  15. data/_data/home/en/posters.json +322 -322
  16. data/_data/home-1/en/en.json +236 -236
  17. data/_data/noindexURLs.json +23 -0
  18. data/_includes/.DS_Store +0 -0
  19. data/_includes/alternates/alternates.html +64 -89
  20. data/_includes/appscms/customblog/contenttool-recent-posts.html +94 -94
  21. data/_includes/appscms/customblog/pageRelatedPosts.html +68 -68
  22. data/_includes/appscms/customblog/recentposts.html +67 -67
  23. data/_includes/appscms/customblog/relatedBlogs.html +82 -82
  24. data/_includes/appscms/customblog/relatedposts.html +193 -193
  25. data/_includes/appscms/extras/appscms-postbox.html +57 -57
  26. data/_includes/appscms/featurePageAuthors/featurePageAuthors.html +85 -85
  27. data/_includes/appscms/head/bloghead.html +128 -128
  28. data/_includes/appscms/headings/contenttool-headings.html +33 -33
  29. data/_includes/appscms/headings/devtool-headings.html +38 -38
  30. data/_includes/appscms/home/contenttool-feature-boxes.html +19 -19
  31. data/_includes/appscms/home/devtool-feature-boxes.html +70 -70
  32. data/_includes/appscms/infographics/infographics.html +241 -32
  33. data/_includes/appscms/loaders/loader.html +4 -4
  34. data/_includes/appscms/navbars/devtool-navbar.html +50 -50
  35. data/_includes/appscms/navbars/devtool-toolbar.html +100 -100
  36. data/_includes/appscms/navbars/navbar.html +129 -75
  37. data/_includes/appscms/navbars/toolbar.html +326 -139
  38. data/_includes/appscms/recent-posts/recent_posts.html +90 -90
  39. data/_includes/appscms/recent-posts/related_categories_post.html +194 -194
  40. data/_includes/appscms/searchbar/devtool-searchbar.html +63 -63
  41. data/_includes/appscms/usp/usp.html +90 -90
  42. data/_includes/author_bio.html +41 -41
  43. data/_includes/authorpagehead/index.html +47 -47
  44. data/_includes/authors/authors.html +39 -39
  45. data/_includes/batch-conversion.html +141 -141
  46. data/_includes/bookmark.html +6 -6
  47. data/_includes/cssfile/links.html +54 -54
  48. data/_includes/custom-head.html +138 -138
  49. data/_includes/customCode.html +1 -1
  50. data/_includes/customScripts.html +1 -1
  51. data/_includes/customblog/pageRelatedPosts.html +87 -87
  52. data/_includes/customblog/recentposts.html +67 -67
  53. data/_includes/customblog/relatedBlogs.html +86 -86
  54. data/_includes/customblog/relatedposts.html +201 -201
  55. data/_includes/dropdown/langdropdown.html +32 -32
  56. data/_includes/feature.html +39 -39
  57. data/_includes/featurePageAuthors/featurePageAuthors.html +101 -101
  58. data/_includes/footer/index.html +537 -537
  59. data/_includes/google-analytics.html +32 -32
  60. data/_includes/head/index.html +627 -627
  61. data/_includes/header/blogHeader.html +34 -34
  62. data/_includes/header/index.html +152 -152
  63. data/_includes/infographics/infographics.html +244 -244
  64. data/_includes/internationalization-section.html +64 -47
  65. data/_includes/paginationBlogPage.html +70 -70
  66. data/_includes/postbox.html +65 -65
  67. data/_includes/script.html +493 -493
  68. data/_includes/section/count.html +32 -32
  69. data/_includes/section/recent_posts.html +94 -94
  70. data/_includes/section/related_categories_post.html +196 -196
  71. data/_includes/share/socialshare.html +21 -21
  72. data/_includes/userTracking.html +14 -14
  73. data/_layouts/aboutUs.html +175 -175
  74. data/_layouts/allAuthors.html +131 -131
  75. data/_layouts/appscms-about.html +163 -163
  76. data/_layouts/appscms-audio.html +33 -33
  77. data/_layouts/appscms-author.html +436 -436
  78. data/_layouts/appscms-authors.html +145 -145
  79. data/_layouts/appscms-batch.html +141 -141
  80. data/_layouts/appscms-calculator.html +93 -93
  81. data/_layouts/appscms-categories.html +26 -26
  82. data/_layouts/appscms-contact.html +132 -132
  83. data/_layouts/appscms-disclaimer.html +124 -124
  84. data/_layouts/appscms-download.html +289 -289
  85. data/_layouts/appscms-feature-result.html +96 -96
  86. data/_layouts/appscms-help.html +25 -25
  87. data/_layouts/appscms-imagekit.html +96 -96
  88. data/_layouts/appscms-post.html +243 -243
  89. data/_layouts/appscms-privacy-policy.html +781 -781
  90. data/_layouts/appscms-terms-and-conditions.html +646 -646
  91. data/_layouts/appscms-video.html +33 -33
  92. data/_layouts/audio.html +33 -33
  93. data/_layouts/author.html +409 -409
  94. data/_layouts/batch.html +177 -177
  95. data/_layouts/blog-1.html +116 -116
  96. data/_layouts/blog.html +131 -131
  97. data/_layouts/calculator.html +99 -99
  98. data/_layouts/contenttool-feature.html +42 -42
  99. data/_layouts/contenttool-home.html +53 -53
  100. data/_layouts/devtool-blog.html +132 -132
  101. data/_layouts/devtool-feature.html +54 -54
  102. data/_layouts/devtool-home.html +53 -53
  103. data/_layouts/devtools.html +57 -57
  104. data/_layouts/feature-1.html +285 -285
  105. data/_layouts/feature.html +351 -351
  106. data/_layouts/featureResultPage.html +82 -82
  107. data/_layouts/frame.html +222 -222
  108. data/_layouts/home-1.html +186 -186
  109. data/_layouts/home.html +375 -375
  110. data/_layouts/homeResultPage.html +32 -32
  111. data/_layouts/imagekit.html +308 -308
  112. data/_layouts/photo-effects-home.html +190 -190
  113. data/_layouts/post.html +233 -233
  114. data/assets/.DS_Store +0 -0
  115. data/assets/app.js +75 -75
  116. data/assets/css/appscms-blog.css +505 -505
  117. data/assets/css/appscms-contenttool.css +1384 -1384
  118. data/assets/css/appscms-home.css +5 -5
  119. data/assets/css/appscms-imagekit.css +855 -855
  120. data/assets/css/appscms-theme.css +11 -251
  121. data/assets/css/appscms-variables.css +24 -24
  122. data/assets/css/blog.css +510 -510
  123. data/assets/css/calculators.css +46 -46
  124. data/assets/css/common.css +944 -944
  125. data/assets/css/devtool-main.css +1350 -1350
  126. data/assets/css/devtools.css +105 -105
  127. data/assets/css/feature-1.css +293 -293
  128. data/assets/css/home-1.css +188 -188
  129. data/assets/css/imagekit copy.css +848 -848
  130. data/assets/css/imagekit.css +848 -848
  131. data/assets/css/tools.css +1846 -1846
  132. data/assets/images/close-button.svg +31 -31
  133. data/assets/images/digipaint.svg +6 -6
  134. data/assets/images/iconn.svg +12 -12
  135. data/assets/images/logo.svg +2 -2
  136. data/assets/images/manthink.svg +3552 -3552
  137. data/assets/images/search-icon.svg +2 -2
  138. data/assets/js/appscms-infographics.js +49 -49
  139. data/assets/js/batch.js +219 -219
  140. data/assets/js/devtools.js +81 -81
  141. data/assets/js/sharePage.js +65 -65
  142. data/assets/js/usageTracking.js +143 -143
  143. data/assets/js/usageTrackingEvents.js +6 -6
  144. data/assets/js/webvitals.js +4 -4
  145. metadata +5 -3
@@ -1,38 +1,38 @@
1
- {%- if page.layout == "appscms-audio" or page.layout == "appscms-video" -%} {%-
2
- else -%}
3
- <div class="container heading" style="height: 40vh;">
4
- <div class="contenttool-bg-lite" style="margin-top: 20vh;"></div>
5
- <div class="row">
6
- <div
7
- class="container mt-3 grid-contentttool-h1"
8
- >
9
- {%- if pageData.H1 -%} {%- assign h1 = pageData.H1 -%} {%- elsif
10
- pageData.h1 -%} {%- assign h1 = pageData.h1 -%} {%- endif -%} {%- if
11
- pageData.H2 -%} {%- assign h2 = pageData.H2 -%} {%- elsif pageData.h2 -%}
12
- {%- assign h2 = pageData.h2 -%} {%- endif -%}
13
- <div class="heading-landing-text">
14
- <h1 class="text-center appscms-h1 contenttool-landing-h1 text-white">
15
- {%- for word in h1 -%} {%- if forloop.first == true -%} {{word |
16
- capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor -%}
17
- </h1>
18
- <h2 class="text-center appscms-h2 contenttool-landing-h2 text-white">
19
- {%- for word in h2 -%} {%- if forloop.first == true -%} {{word |
20
- capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor -%}
21
- </h2>
22
- <div class="random-spans">
23
- <span class="span1" style="position: absolute; transform: rotate(10deg); left: 20vw; top: 20vh; font-size: 38px; color: white;">+</span>
24
- <span class="span2" style="position: absolute; transform: rotate(-20deg); left: 40vw; top: 30vh; font-size: 24px; color: white;">+</span>
25
- <span class="span3" style="position: absolute; transform: rotate(5deg); right: 20vw; top: 40vh; font-size: 28px; color: white;">+</span>
26
- <span class="span4" style="position: absolute; transform: rotate(-15deg); left: 77vw; bottom: 60vh; font-size: 22px; color: white;">+</span>
27
- <span class="span5" style="position: absolute; transform: rotate(25deg); left: 10vw; bottom: 30vh; font-size: 24px; color: white;">+</span>
28
- <span class="span6" style="position: absolute; transform: rotate(0deg); right: 10vw; bottom: 20vh; font-size: 14px; color: white;">+</span>
29
- <span class="span7" style="position: absolute; transform: rotate(-10deg); left: 50vw; top: 10vh; font-size: 26px; color: white;">+</span>
30
- <span class="span8" style="position: absolute; transform: rotate(15deg); right: 10vw; bottom: 30vh; font-size: 35px; color: white;">+</span>
31
- <span class="span9" style="position: absolute; transform: rotate(-5deg); right: 5vw; top: 20vh; font-size: 30px; color: white;">+</span>
32
- <span class="span10" style="position: absolute; transform: rotate(8deg); left: 15vw; bottom: 15vh; font-size: 32px; color: white;">+</span>
33
- </div>
34
- </div>
35
- </div>
36
- </div>
37
- </div>
38
- {%- endif -%}
1
+ {%- if page.layout == "appscms-audio" or page.layout == "appscms-video" -%} {%-
2
+ else -%}
3
+ <div class="container heading" style="height: 40vh;">
4
+ <div class="contenttool-bg-lite" style="margin-top: 20vh;"></div>
5
+ <div class="row">
6
+ <div
7
+ class="container mt-3 grid-contentttool-h1"
8
+ >
9
+ {%- if pageData.H1 -%} {%- assign h1 = pageData.H1 -%} {%- elsif
10
+ pageData.h1 -%} {%- assign h1 = pageData.h1 -%} {%- endif -%} {%- if
11
+ pageData.H2 -%} {%- assign h2 = pageData.H2 -%} {%- elsif pageData.h2 -%}
12
+ {%- assign h2 = pageData.h2 -%} {%- endif -%}
13
+ <div class="heading-landing-text">
14
+ <h1 class="text-center appscms-h1 contenttool-landing-h1 text-white">
15
+ {%- for word in h1 -%} {%- if forloop.first == true -%} {{word |
16
+ capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor -%}
17
+ </h1>
18
+ <h2 class="text-center appscms-h2 contenttool-landing-h2 text-white">
19
+ {%- for word in h2 -%} {%- if forloop.first == true -%} {{word |
20
+ capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor -%}
21
+ </h2>
22
+ <div class="random-spans">
23
+ <span class="span1" style="position: absolute; transform: rotate(10deg); left: 20vw; top: 20vh; font-size: 38px; color: white;">+</span>
24
+ <span class="span2" style="position: absolute; transform: rotate(-20deg); left: 40vw; top: 30vh; font-size: 24px; color: white;">+</span>
25
+ <span class="span3" style="position: absolute; transform: rotate(5deg); right: 20vw; top: 40vh; font-size: 28px; color: white;">+</span>
26
+ <span class="span4" style="position: absolute; transform: rotate(-15deg); left: 77vw; bottom: 60vh; font-size: 22px; color: white;">+</span>
27
+ <span class="span5" style="position: absolute; transform: rotate(25deg); left: 10vw; bottom: 30vh; font-size: 24px; color: white;">+</span>
28
+ <span class="span6" style="position: absolute; transform: rotate(0deg); right: 10vw; bottom: 20vh; font-size: 14px; color: white;">+</span>
29
+ <span class="span7" style="position: absolute; transform: rotate(-10deg); left: 50vw; top: 10vh; font-size: 26px; color: white;">+</span>
30
+ <span class="span8" style="position: absolute; transform: rotate(15deg); right: 10vw; bottom: 30vh; font-size: 35px; color: white;">+</span>
31
+ <span class="span9" style="position: absolute; transform: rotate(-5deg); right: 5vw; top: 20vh; font-size: 30px; color: white;">+</span>
32
+ <span class="span10" style="position: absolute; transform: rotate(8deg); left: 15vw; bottom: 15vh; font-size: 32px; color: white;">+</span>
33
+ </div>
34
+ </div>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ {%- endif -%}
@@ -1,20 +1,20 @@
1
- <div class="container" id="appscms-tools-section">
2
- <div class="appscms-contenttool-container" id="appscms-tools-section-row">
3
- {% for item in pageData.features %}
4
- <a href="{{item.url}}">
5
- <div class="appscms-contenttool-tool">
6
- <div class="contentool-tool-image-background" style="background: {{item.color}};">
7
- <img id="contenttool-icon-img" crossorigin="anonymous" src="{{item.icon}}" alt="img" />
8
- </div>
9
- <div class="contenttool-card-info">
10
- <p class="contenttool-tool-heading">{{item.name}}</p>
11
- <p class="contenttool-tool-text">{{item.description}}</p>
12
- </div>
13
- </div>
14
- </a>
15
- {% endfor %}
16
- </div>
17
- </div>
18
- </div>
19
- </div>
1
+ <div class="container" id="appscms-tools-section">
2
+ <div class="appscms-contenttool-container" id="appscms-tools-section-row">
3
+ {% for item in pageData.features %}
4
+ <a href="{{item.url}}">
5
+ <div class="appscms-contenttool-tool">
6
+ <div class="contentool-tool-image-background" style="background: {{item.color}};">
7
+ <img id="contenttool-icon-img" crossorigin="anonymous" src="{{item.icon}}" alt="img" />
8
+ </div>
9
+ <div class="contenttool-card-info">
10
+ <p class="contenttool-tool-heading">{{item.name}}</p>
11
+ <p class="contenttool-tool-text">{{item.description}}</p>
12
+ </div>
13
+ </div>
14
+ </a>
15
+ {% endfor %}
16
+ </div>
17
+ </div>
18
+ </div>
19
+ </div>
20
20
 
@@ -1,71 +1,71 @@
1
- <style>
2
- .appscms-contenttool-container {
3
- display: grid;
4
- grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
5
- gap: 16px;
6
- }
7
- .appscms-contenttool-tool {
8
- background-color: white;
9
- padding: 21px;
10
- border-radius: 13px;
11
- transition: all 0.2s ease-in-out;
12
- }
13
- .appscms-contenttool-tool:hover {
14
- transform: scale(1.03);
15
- filter: saturate(1.3);
16
- }
17
- .contentool-tool-image-background {
18
- background-color: rgba(255, 255, 255, 0.87);
19
- width: 58px;
20
- height: 58px;
21
- display: flex;
22
- align-items: center;
23
- justify-content: center;
24
- border-radius: 12px;
25
- }
26
-
27
- #contenttool-icon-img{
28
- width: 45px;
29
- }
30
- .background img {
31
- width: 100%;
32
- height: auto;
33
- border-radius: 10px;
34
- }
35
- .contenttool-tool-heading {
36
- font-weight: 600;
37
- font-size: 16px;
38
- color: #0c0c0c !important;
39
- margin-top: 10px;
40
- }
41
- .contenttool-tool-text{
42
- font-weight: 500;
43
- font-size: 13px;
44
- color: rgb(29, 29, 29) !important;
45
- margin-top: -5px;
46
- }
47
- #text-black{
48
- color: rgb(39, 39, 39) !important;
49
- font-weight: 450;
50
- }
51
- </style>
52
- <div class="container" id="appscms-tools-section">
53
- <div class="appscms-contenttool-container">
54
- {% for item in pageData.features %}
55
- <a href="{{item.url}}">
56
- <div class="appscms-contenttool-tool" style="background: {{item.color}};">
57
- <div class="contentool-tool-image-background">
58
- <img id="contenttool-icon-img" crossorigin="anonymous" src="{{item.icon}}" alt="img" />
59
- </div>
60
- <div class="contenttool-card-info">
61
- <p class="contenttool-tool-heading">{{item.name}}</p>
62
- <p class="contenttool-tool-textk" id="text-black">{{item.description}}</p>
63
- </div>
64
- </div>
65
- </a>
66
- {% endfor %}
67
- </div>
68
- </div>
69
- </div>
70
- </div>
1
+ <style>
2
+ .appscms-contenttool-container {
3
+ display: grid;
4
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
5
+ gap: 16px;
6
+ }
7
+ .appscms-contenttool-tool {
8
+ background-color: white;
9
+ padding: 21px;
10
+ border-radius: 13px;
11
+ transition: all 0.2s ease-in-out;
12
+ }
13
+ .appscms-contenttool-tool:hover {
14
+ transform: scale(1.03);
15
+ filter: saturate(1.3);
16
+ }
17
+ .contentool-tool-image-background {
18
+ background-color: rgba(255, 255, 255, 0.87);
19
+ width: 58px;
20
+ height: 58px;
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: center;
24
+ border-radius: 12px;
25
+ }
26
+
27
+ #contenttool-icon-img{
28
+ width: 45px;
29
+ }
30
+ .background img {
31
+ width: 100%;
32
+ height: auto;
33
+ border-radius: 10px;
34
+ }
35
+ .contenttool-tool-heading {
36
+ font-weight: 600;
37
+ font-size: 16px;
38
+ color: #0c0c0c !important;
39
+ margin-top: 10px;
40
+ }
41
+ .contenttool-tool-text{
42
+ font-weight: 500;
43
+ font-size: 13px;
44
+ color: rgb(29, 29, 29) !important;
45
+ margin-top: -5px;
46
+ }
47
+ #text-black{
48
+ color: rgb(39, 39, 39) !important;
49
+ font-weight: 450;
50
+ }
51
+ </style>
52
+ <div class="container" id="appscms-tools-section">
53
+ <div class="appscms-contenttool-container">
54
+ {% for item in pageData.features %}
55
+ <a href="{{item.url}}">
56
+ <div class="appscms-contenttool-tool" style="background: {{item.color}};">
57
+ <div class="contentool-tool-image-background">
58
+ <img id="contenttool-icon-img" crossorigin="anonymous" src="{{item.icon}}" alt="img" />
59
+ </div>
60
+ <div class="contenttool-card-info">
61
+ <p class="contenttool-tool-heading">{{item.name}}</p>
62
+ <p class="contenttool-tool-textk" id="text-black">{{item.description}}</p>
63
+ </div>
64
+ </div>
65
+ </a>
66
+ {% endfor %}
67
+ </div>
68
+ </div>
69
+ </div>
70
+ </div>
71
71
 
@@ -1,32 +1,241 @@
1
- <div class="inforgraphics_section">
2
- <h3 class="text-center w-100 mb-5"><b>Other useful information</b></h3>
3
- <div class="wrapper">
4
- <i id="left" class="fas fa-angle-left"></i>
5
- <div class="carousel">
6
- <div class="carousel-inner">
7
- {%- if pageData.infographics -%} {% for item in pageData.infographics %}
8
- <div class="slide">
9
- <img
10
- loading="lazy"
11
- src="{{ item.image }}"
12
- alt="infographics image"
13
- draggable="false"
14
- class="infographic-img"
15
- onclick="openModal1('{{ item.image }}')"
16
- />
17
- <p class="infographic-desc">{{ item.description | capitalize }}</p>
18
- </div>
19
- {% endfor %} {%- endif -%}
20
- </div>
21
- </div>
22
- <i id="right" class="fas fa-angle-right"></i>
23
- </div>
24
- </div>
25
- <div id="imageModal1" class="modal1" onclick="closeModal1()">
26
- <span class="close1" onclick="closeModal1()">&times;</span>
27
- <div class="modal1-content1">
28
- <div class="modal1-body">
29
- <img id="modal1Image" src="" alt="full size infographics image" />
30
- </div>
31
- </div>
32
- </div>
1
+ <style>
2
+ .inforgraphics_section {
3
+ width: 100%;
4
+ padding: 50px 0px 50px 0px;
5
+ border-top: 1px solid rgb(224, 224, 224);
6
+ display: flex;
7
+ flex-direction: column;
8
+ align-items: center;
9
+ }
10
+
11
+ .inforgraphics_section .wrapper {
12
+ display: flex;
13
+ max-width: 700px;
14
+ position: relative;
15
+ }
16
+
17
+ .inforgraphics_section .wrapper i {
18
+ top: 50%;
19
+ height: 44px;
20
+ width: 44px;
21
+ color: #343f4f;
22
+ cursor: pointer;
23
+ font-size: 1.15rem;
24
+ position: absolute;
25
+ text-align: center;
26
+ line-height: 44px;
27
+ background: #eee;
28
+ border-radius: 50%;
29
+ transform: translateY(-50%);
30
+ transition: transform 0.1s linear;
31
+ }
32
+
33
+ .inforgraphics_section .wrapper i:active {
34
+ transform: translateY(-50%) scale(0.9);
35
+ }
36
+
37
+ .inforgraphics_section .wrapper i:hover {
38
+ background: #f2f2f2;
39
+ }
40
+
41
+ .inforgraphics_section .wrapper i:first-child {
42
+ left: 0px;
43
+ display: none;
44
+ z-index: 999;
45
+ }
46
+
47
+ .inforgraphics_section .wrapper i:last-child {
48
+ right: 0px;
49
+ }
50
+
51
+ .carousel {
52
+ display: flex;
53
+ max-width: 700px;
54
+ overflow-x: scroll;
55
+ scroll-snap-type: x mandatory;
56
+ scroll-behavior: smooth;
57
+ }
58
+
59
+ .carousel-inner {
60
+ display: flex;
61
+ flex-wrap: nowrap;
62
+ }
63
+
64
+ .slide {
65
+ flex: 0 0 calc(100% / 3);
66
+ scroll-snap-align: start;
67
+ padding: 20px;
68
+ }
69
+
70
+ .carousel img {
71
+ width: 100%;
72
+ object-fit: contain;
73
+ max-width: 100%;
74
+ height: auto;
75
+ border-radius: 8px;
76
+ }
77
+
78
+ .carousel-inner p {
79
+ text-align: center;
80
+ margin: 10px 0;
81
+ font-size: 14px;
82
+ white-space: normal;
83
+ word-wrap: break-word;
84
+ }
85
+
86
+ @media screen and (max-width: 768px) {
87
+ .inforgraphics_section .wrapper {
88
+ max-width: 100%;
89
+ }
90
+
91
+ .carousel-inner p {
92
+ font-size: 20px;
93
+ }
94
+
95
+ .inforgraphics_section .wrapper i:first-child {
96
+ left: 0;
97
+ /* margin-left: 14px; */
98
+ z-index: 99;
99
+ }
100
+
101
+ .inforgraphics_section .wrapper i:last-child {
102
+ right: 0;
103
+ z-index: 99;
104
+ display: block !important;
105
+ }
106
+
107
+ .carousel {
108
+ overflow-x: hidden;
109
+ }
110
+
111
+ .slide {
112
+ flex: 0 0 100%;
113
+ margin-right: 0;
114
+ }
115
+ }
116
+ </style>
117
+
118
+ <div class="inforgraphics_section">
119
+ <h3 class="text-center w-100 mb-5"><b>Other useful information</b></h3>
120
+ <div class="wrapper">
121
+ <i id="left" class="fas fa-angle-left"></i>
122
+ <div class="carousel">
123
+ <div class="carousel-inner">
124
+ {%- if homeData.infographics -%} {% for item in homeData.infographics %}
125
+ <div class="slide">
126
+ <img
127
+ loading="lazy"
128
+ src="{{ item.image }}"
129
+ alt="img"
130
+ draggable="false"
131
+ />
132
+ <p class="infographic-desc">{{ item.description | capitalize }}</p>
133
+ </div>
134
+ {% endfor %} {%- else -%} {% for item in featureData.infographics %}
135
+ <div class="slide">
136
+ <img
137
+ loading="lazy"
138
+ src="{{ item.image }}"
139
+ alt="img"
140
+ draggable="false"
141
+ />
142
+ <p class="infographic-desc">{{ item.description | capitalize }}</p>
143
+ </div>
144
+ {% endfor %} {%- endif -%}
145
+ </div>
146
+ </div>
147
+ <i id="right" class="fas fa-angle-right"></i>
148
+ </div>
149
+ </div>
150
+
151
+ <script>
152
+ const carousel = document.querySelector(".carousel-inner"),
153
+ firstImg = carousel.querySelectorAll("img")[0],
154
+ arrowIcons = document.querySelectorAll(".wrapper i");
155
+
156
+ const numImages = carousel.querySelectorAll("img").length;
157
+ const isMobile = window.matchMedia("(max-width: 767px)").matches; // Check if screen width is less than or equal to 767px
158
+
159
+ if (numImages > 3) {
160
+ arrowIcons[1].style.display = "block";
161
+ } else {
162
+ arrowIcons[0].style.display = "none";
163
+ arrowIcons[1].style.display = "none";
164
+ }
165
+
166
+ let isDragStart = false,
167
+ isDragging = false,
168
+ prevPageX,
169
+ prevScrollLeft,
170
+ positionDiff;
171
+ const showHideIcons = () => {
172
+ let scrollWidth = carousel.scrollWidth - carousel.clientWidth; // getting max scrollable width
173
+ arrowIcons[0].style.display = carousel.scrollLeft == 0 ? "none" : "block";
174
+ arrowIcons[1].style.display =
175
+ carousel.scrollLeft == scrollWidth ? "none" : "block";
176
+ };
177
+
178
+ arrowIcons.forEach((icon) => {
179
+ icon.addEventListener("click", () => {
180
+ let firstImgWidth = firstImg.clientWidth + 40;
181
+ const scrollAmount = icon.id === "left" ? -firstImgWidth : firstImgWidth;
182
+ carousel.scrollBy({
183
+ left: scrollAmount,
184
+ behavior: "smooth",
185
+ });
186
+ setTimeout(() => showHideIcons(), 60); // calling showHideIcons after 60ms
187
+ });
188
+ });
189
+
190
+ // const autoSlide = () => {
191
+ // // if there is no image left to scroll then return from here
192
+ // if (carousel.scrollLeft - (carousel.scrollWidth - carousel.clientWidth) > -1 || carousel.scrollLeft <= 0) return;
193
+
194
+ // positionDiff = Math.abs(positionDiff); // making positionDiff value to positive
195
+ // let firstImgWidth = firstImg.clientWidth + 14;
196
+ // // getting difference value that needs to add or reduce from carousel left to take middle img center
197
+ // let valDifference = firstImgWidth - positionDiff;
198
+
199
+ // if (carousel.scrollLeft > prevScrollLeft) { // if user is scrolling to the right
200
+ // return carousel.scrollLeft += positionDiff > firstImgWidth / 3 ? valDifference : -positionDiff;
201
+ // }
202
+ // // if user is scrolling to the left
203
+ // carousel.scrollLeft -= positionDiff > firstImgWidth / 3 ? valDifference : -positionDiff;
204
+ // }
205
+
206
+ // const dragStart = (e) => {
207
+ // // updatating global variables value on mouse down event
208
+ // isDragStart = true;
209
+ // prevPageX = e.pageX || e.touches[0].pageX;
210
+ // prevScrollLeft = carousel.scrollLeft;
211
+ // }
212
+
213
+ // const dragging = (e) => {
214
+ // // scrolling images/carousel to left according to mouse pointer
215
+ // if (!isDragStart) return;
216
+ // e.preventDefault();
217
+ // isDragging = true;
218
+ // carousel.classList.add("dragging");
219
+ // positionDiff = (e.pageX || e.touches[0].pageX) - prevPageX;
220
+ // carousel.scrollLeft = prevScrollLeft - positionDiff;
221
+ // showHideIcons();
222
+ // }
223
+
224
+ // const dragStop = () => {
225
+ // isDragStart = false;
226
+ // carousel.classList.remove("dragging");
227
+
228
+ // if (!isDragging) return;
229
+ // isDragging = false;
230
+ // autoSlide();
231
+ // }
232
+
233
+ // carousel.addEventListener("mousedown", dragStart);
234
+ // carousel.addEventListener("touchstart", dragStart);
235
+
236
+ // document.addEventListener("mousemove", dragging);
237
+ // carousel.addEventListener("touchmove", dragging);
238
+
239
+ // document.addEventListener("mouseup", dragStop);
240
+ // carousel.addEventListener("touchend", dragStop);
241
+ </script>
@@ -1,4 +1,4 @@
1
-
2
- <div class="appscms-loader">
3
- <div class="lds-roller"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>
4
- </div>
1
+
2
+ <div class="appscms-loader">
3
+ <div class="lds-roller"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>
4
+ </div>
@@ -1,50 +1,50 @@
1
- <!-- nav bar code -->
2
-
3
- {% assign lang = page.lang | default: "en" %} {% assign siteData = site.data.header[lang].data
4
- %} {% assign featureData = page.fileName %} {% assign folder = page.folderName
5
- %} {% assign Data= site.data[folder][lang][file] %}
6
- <nav class="appscms-navbar">
7
- <div class="row w-100 h-100">
8
- <div class="col-11 mx-auto">
9
- <div class="appscms-navbar-nav">
10
- {%- if siteData.navbarBrandLogoSvg -%}
11
- <a href="/"> {{siteData.navbarBrandLogoSvg}} </a>
12
- {%- elsif siteData.navbarBrandText -%}
13
- <span> {{siteData.navbarBrandText}}
14
- {%- else -%}
15
- {%- endif -%}
16
- {%- if siteData.navItems -%}
17
- <div class="appscms-navbar-nav-links">
18
- {%- for item in siteData.navItems -%}
19
- <a class="appscms-nav-link" style="color: rgb(244, 244, 244);" href="{{item.url}}">{{item.name}}</a>
20
- {%- endfor -%}
21
- </div>
22
- {%- endif -%}
23
- <div id="hamburger" data-open="false" class="hamburger">
24
- <svg
25
- style="font-size:25px"
26
- stroke="currentColor"
27
- fill="currentColor"
28
- stroke-width="0"
29
- viewBox="0 0 512 512"
30
- aria-hidden="true"
31
- focusable="false"
32
- height="50px"
33
- width="1em"
34
- xmlns="http://www.w3.org/2000/svg"
35
- >
36
- <path
37
- fill="none"
38
- stroke-linecap="round"
39
- stroke-miterlimit="10"
40
- stroke-width="48"
41
- d="M88 152h336M88 256h336M88 360h336"
42
- ></path>
43
- </svg>
44
- </div>
45
- </div>
46
- </div>
47
- </div>
48
- </nav>
49
-
50
-
1
+ <!-- nav bar code -->
2
+
3
+ {% assign lang = page.lang | default: "en" %} {% assign siteData = site.data.header[lang].data
4
+ %} {% assign featureData = page.fileName %} {% assign folder = page.folderName
5
+ %} {% assign Data= site.data[folder][lang][file] %}
6
+ <nav class="appscms-navbar">
7
+ <div class="row w-100 h-100">
8
+ <div class="col-11 mx-auto">
9
+ <div class="appscms-navbar-nav">
10
+ {%- if siteData.navbarBrandLogoSvg -%}
11
+ <a href="/"> {{siteData.navbarBrandLogoSvg}} </a>
12
+ {%- elsif siteData.navbarBrandText -%}
13
+ <span> {{siteData.navbarBrandText}}
14
+ {%- else -%}
15
+ {%- endif -%}
16
+ {%- if siteData.navItems -%}
17
+ <div class="appscms-navbar-nav-links">
18
+ {%- for item in siteData.navItems -%}
19
+ <a class="appscms-nav-link" style="color: rgb(244, 244, 244);" href="{{item.url}}">{{item.name}}</a>
20
+ {%- endfor -%}
21
+ </div>
22
+ {%- endif -%}
23
+ <div id="hamburger" data-open="false" class="hamburger">
24
+ <svg
25
+ style="font-size:25px"
26
+ stroke="currentColor"
27
+ fill="currentColor"
28
+ stroke-width="0"
29
+ viewBox="0 0 512 512"
30
+ aria-hidden="true"
31
+ focusable="false"
32
+ height="50px"
33
+ width="1em"
34
+ xmlns="http://www.w3.org/2000/svg"
35
+ >
36
+ <path
37
+ fill="none"
38
+ stroke-linecap="round"
39
+ stroke-miterlimit="10"
40
+ stroke-width="48"
41
+ d="M88 152h336M88 256h336M88 360h336"
42
+ ></path>
43
+ </svg>
44
+ </div>
45
+ </div>
46
+ </div>
47
+ </div>
48
+ </nav>
49
+
50
+