appscms-tools-theme 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,22 @@
1
+ {% assign file = page.fileName %}
2
+ {% assign lang = page.lang %}
3
+ {% assign folder = page.folderName %}
4
+ {% assign langData = site.data[folder][lang][file] %}
5
+ {%- assign langsupport = page.langsupport -%}
6
+ {%- assign variable = site.data.languagesupport[langsupport]-%}
7
+ {%- if variable.langsupport -%}
8
+ <div class="lang-dropdown">
9
+ <button class="btn btn-light dropdown-toggle lang-dropdown-btn" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-expanded="false">
10
+ {{langData.Language}}
11
+ </button>
12
+ <ul class="dropdown-menu drop-down-wrapper" aria-labelledby="dropdownMenu2">
13
+ {%- for item in variable.langsupport -%}
14
+ {%- if langData.Language == item.lang -%}
15
+ <a class="lang-dropdown-item py-1" style="background-color:rgba(149, 148, 151, 0.397);" class=".lang-dropdown-item" href="{{item.permalink}}">{{item.lang}}</a>
16
+ {%- else -%}
17
+ <a class="lang-dropdown-item py-1" href="{{item.permalink}}">{{item.lang}}</a>
18
+ {%- endif -%}
19
+ {%- endfor -%}
20
+ </ul>
21
+ </div>
22
+ {%- endif -%}
@@ -28,4 +28,18 @@
28
28
  <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700" rel="stylesheet">
29
29
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css" />
30
30
  <link rel="stylesheet" href="/assets/css/tools.css">
31
+ <script type="application/ld+json">
32
+ {"@context": "https://schema.org","@graph": [{{dataToShow.StructuredDataorganization | replace: "=>",":" }},
33
+ {%- if dataToShow.StructuredDataBreadcrumb | replace: "=>",":" -%}
34
+ {{dataToShow.StructuredDataBreadcrumb | replace: "=>",":" | append: ',' }}
35
+ {%- endif -%}
36
+ {%- if dataToShow.StructuredDataFaq -%}
37
+ {{dataToShow.StructuredDataFaq | replace: "=>",":" | append: ',' }}
38
+ {%- endif -%}
39
+ {%- if dataToShow.StructuredDataHowTo -%}
40
+ {{dataToShow.StructuredDataHowTo | replace: "=>",":" }}
41
+ {%- endif -%}
42
+ ]
43
+ }
44
+ </script>
31
45
  </head>
@@ -21,7 +21,7 @@
21
21
  <div class="collapse navbar-collapse" id="navbarSupportedContent">
22
22
  {%- if dataToShow.megaMenu -%}
23
23
  <li class="nav-item nav__item">
24
- <a class="dropdown-toggle ml-lg-5" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
24
+ <a class="dropdown-toggle ml-lg-5" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
25
25
  {{dataToShow.megaMenu.nav-link-name}}
26
26
  </a>
27
27
  <ul class="dropmenu dropdown-menu" aria-labelledby="navbarDropdown">
@@ -1,4 +1,11 @@
1
- <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
2
- <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js"></script>
3
- <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js" integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0" crossorigin="anonymous"></script>
4
- <!-- <script id="dsq-count-scr" src="//wordswithletter.disqus.com/count.js" async></script> -->
1
+ <!-- <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js" integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0" crossorigin="anonymous"></script> -->
2
+ <!-- <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script> -->
3
+ <!-- <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous"></script> -->
4
+ <!-- <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script> -->
5
+ <!-- <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script> -->
6
+ <!-- <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.min.js" integrity="sha384-+YQ4JLhjyBLPDQt//I+STsc9iw4uQqACwlvpslubQzn4u2UU2UFM80nGisd026JF" crossorigin="anonymous"></script> -->
7
+ <!-- <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script> -->
8
+ <!-- <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script> -->
9
+ <!-- <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.min.js" integrity="sha384-+YQ4JLhjyBLPDQt//I+STsc9iw4uQqACwlvpslubQzn4u2UU2UFM80nGisd026JF" crossorigin="anonymous"></script> -->
10
+ <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
11
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous"></script>
@@ -5,6 +5,7 @@
5
5
  <!DOCTYPE html>
6
6
  <html lang="en">
7
7
  {% include head/index.html %}
8
+ {%- include dropdown/langdropdown.html -%}
8
9
  <body>
9
10
  {% include header/index.html %}
10
11
  <div class="container py-4 about_layout">
@@ -13,5 +14,6 @@
13
14
  <p class="about-para py-2">{{aboutData.paragraph}}</p>
14
15
  </div>
15
16
  {% include footer/index.html %}
17
+ {% include script.html %}
16
18
  </body>
17
19
  </html>
@@ -7,12 +7,41 @@
7
7
  {% include head/index.html %}
8
8
  <body>
9
9
  {% include header/index.html %}
10
+ {%- include dropdown/langdropdown.html -%}
10
11
  <div class="container py-4 contact_layout">
11
12
  <h1 class="contact-h1 py-2">{{contactData.h1}}</h1>
12
13
  <h2 class="contact-h2">{{contactData.h2}}</h2>
13
- <p class="py-2">{{contactData.paragraph}}</p>
14
+ <div class="py-3">
15
+ {%- for item in contactData.contactUs -%}
16
+ {%- if item.li -%}
17
+ <li> {{item.li}} </li>
18
+ {%- endif -%}
19
+ {%- if item.h1 -%}
20
+ <h1> {{item.h1}} </h1>
21
+ {%- endif -%}
22
+ {%- if item.h2 -%}
23
+ <h2 class="common-h2"> {{item.h2}} </h2>
24
+ {%- endif -%}
25
+ {%- if item.p -%}
26
+ <p>{{item.p | replace:"$companyName", page.companyName | replace:"$domain", page.domain }}</p>
27
+ {%- endif -%}
28
+ {%- if item.h3 -%}
29
+ <h3> {{item.h3}} </h3>
30
+ {%- endif -%}
31
+ {%- if item.h4 -%}
32
+ <h4> {{item.h4}} </h4>
33
+ {%- endif -%}
34
+ {%- if item.h5 -%}
35
+ <h5> {{item.h5}} </h5>
36
+ {%- endif -%}
37
+ {%- if item.h6 -%}
38
+ <h6> {{item.h6}} </h6>
39
+ {%- endif -%}
40
+ {%- endfor -%}
41
+ </div>
14
42
  </div>
15
43
  {% include footer/index.html %}
44
+ {% include script.html %}
16
45
  </body>
17
46
 
18
47
  </html>
@@ -0,0 +1,47 @@
1
+ {% assign file = page.fileName %}
2
+ {% assign folder = page.folderName %}
3
+ {% assign lang = page.lang %}
4
+ {% assign disclaimerData = site.data[folder][lang][file] %}
5
+ <!DOCTYPE html>
6
+ <html lang="en" data-tool="landing">
7
+ {% include head/index.html %}
8
+ <body>
9
+ {% include header/index.html %}
10
+ {%- include dropdown/langdropdown.html -%}
11
+ <div class="container py-4">
12
+ <h1 class="about-h1 py-4">{{disclaimerData.h1}}</h1>
13
+ <h2 class="about-h2">{{disclaimerData.h2}}</h2>
14
+ <div class="py-3">
15
+ {%- for item in disclaimerData.disclaimer -%}
16
+ {%- if item.li -%}
17
+ <li> {{item.li}} </li>
18
+ {%- endif -%}
19
+ {%- if item.h1 -%}
20
+ <h1> {{item.h1}} </h1>
21
+ {%- endif -%}
22
+ {%- if item.h2 -%}
23
+ <h2 class="common-h2"> {{item.h2}} </h2>
24
+ {%- endif -%}
25
+ {%- if item.p -%}
26
+ <p>{{item.p | replace:"$companyName", page.companyName | replace:"$domain", page.domain }}</p>
27
+ {%- endif -%}
28
+ {%- if item.h3 -%}
29
+ <h3> {{item.h3}} </h3>
30
+ {%- endif -%}
31
+ {%- if item.h4 -%}
32
+ <h4> {{item.h4}} </h4>
33
+ {%- endif -%}
34
+ {%- if item.h5 -%}
35
+ <h5> {{item.h5}} </h5>
36
+ {%- endif -%}
37
+ {%- if item.h6 -%}
38
+ <h6> {{item.h6}} </h6>
39
+ {%- endif -%}
40
+ {%- endfor -%}
41
+ </div>
42
+ </div>
43
+ {% include footer/index.html %}
44
+ {% include script.html %}
45
+ </body>
46
+
47
+ </html>
@@ -8,9 +8,9 @@
8
8
  {% assign folder = page.folderName %}
9
9
  {% assign dataArr = site.data[folder][lang][file] %}
10
10
  {% assign dataToShow = dataArr %}
11
- {{page.title}}
11
+ {%- include dropdown/langdropdown.html -%}
12
12
  <div class="flex-container">
13
- <div class="flex-class py-4">
13
+ <div class="flex-class py-4 mt-4 mt-md-0 ">
14
14
  <div class="d-flex justify-content-center align-items-center"><span class="fHhdVc">
15
15
  <div class="div-cont feature-img mr-2"><svg xmlns="http://www.w3.org/2000/svg"
16
16
  xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 36 36" fill="#000">
data/_layouts/help.html CHANGED
@@ -8,12 +8,14 @@
8
8
 
9
9
  <body>
10
10
  {% include header/index.html %}
11
+ {%- include dropdown/langdropdown.html -%}
11
12
  <div class="container py-4">
12
13
  <h1 class="about-h1 py-2">{{helpData.h1}}</h1>
13
14
  <h2 class="about-h2">{{helpData.h2}}</h2>
14
15
  <p class="py-2">{{helpData.paragraph}}</p>
15
16
  </div>
16
17
  {% include footer/index.html %}
18
+ {% include script.html %}
17
19
  </body>
18
20
 
19
21
  </html>
data/_layouts/home.html CHANGED
@@ -7,6 +7,7 @@
7
7
  {% assign folderName = page.folderName %}
8
8
  {% assign dataArr = site.data[folderName][lang][file] %}
9
9
  {% assign dataToShow = dataArr %}
10
+ {%- include dropdown/langdropdown.html -%}
10
11
  <div class="flex-container">
11
12
  <div class="flex-class py-5">
12
13
  <h1 class="home-top-h1">{{dataToShow.h1}}</h1>
@@ -0,0 +1,48 @@
1
+ {% assign file = page.fileName %}
2
+ {% assign folder = page.folderName %}
3
+ {% assign lang = page.lang %}
4
+ {% assign privacyData = site.data[folder][lang][file] %}
5
+ <!DOCTYPE html>
6
+ <html lang="en" data-tool="landing">
7
+ {% include head/index.html %}
8
+ <body>
9
+ {% include header/index.html %}
10
+ {%- include dropdown/langdropdown.html -%}
11
+ <div class="container py-4">
12
+ <!-- <p>{{site.pages}}</p> -->
13
+ <h1 class="about-h1 py-4">{{privacyData.h1}}</h1>
14
+ <h2 class="about-h2">{{privacyData.h2}}</h2>
15
+ <div class="py-3">
16
+ {%- for item in privacyData.privacyPolicy -%}
17
+ {%- if item.li -%}
18
+ <li> {{item.li}} </li>
19
+ {%- endif -%}
20
+ {%- if item.h1 -%}
21
+ <h1> {{item.h1}} </h1>
22
+ {%- endif -%}
23
+ {%- if item.h2 -%}
24
+ <h2 class="common-h2"> {{item.h2}} </h2>
25
+ {%- endif -%}
26
+ {%- if item.p -%}
27
+ <p>{{item.p | replace:"$companyName", page.companyName | replace:"$domain", page.domain }}</p>
28
+ {%- endif -%}
29
+ {%- if item.h3 -%}
30
+ <h3> {{item.h3}} </h3>
31
+ {%- endif -%}
32
+ {%- if item.h4 -%}
33
+ <h4> {{item.h4}} </h4>
34
+ {%- endif -%}
35
+ {%- if item.h5 -%}
36
+ <h5> {{item.h5}} </h5>
37
+ {%- endif -%}
38
+ {%- if item.h6 -%}
39
+ <h6> {{item.h6}} </h6>
40
+ {%- endif -%}
41
+ {%- endfor -%}
42
+ </div>
43
+ </div>
44
+ {% include footer/index.html %}
45
+ {% include script.html %}
46
+ </body>
47
+
48
+ </html>
@@ -7,12 +7,41 @@
7
7
  {% include head/index.html %}
8
8
  <body>
9
9
  {% include header/index.html %}
10
+ {%- include dropdown/langdropdown.html -%}
10
11
  <div class="container py-4">
11
- <h1 class="about-h1 py-2">{{termsData.h1}}</h1>
12
- <h2 class="about-h2">{{termsData.h2}}</h2>
13
- <p class="py-2">{{termsData.paragraph}}</p>
12
+ <!-- <p>{{site.pages}}</p> -->
13
+ <h1 class="about-h1 py-4">{{termsData.h1}}</h1>
14
+ <div class="py-3">
15
+ {%- for item in termsData.termsAndConditions -%}
16
+ {%- if item.li -%}
17
+ <li> {{item.li}} </li>
18
+ {%- endif -%}
19
+ {%- if item.h1 -%}
20
+ <h1> {{item.h1}} </h1>
21
+ {%- endif -%}
22
+ {%- if item.h2 -%}
23
+ <h2> {{item.h2}} </h2>
24
+ {%- endif -%}
25
+ {%- if item.p -%}
26
+ <p>{{item.p | replace:"$companyName", page.companyName | replace:"$domain", page.domain }}</p>
27
+ {%- endif -%}
28
+ {%- if item.h3 -%}
29
+ <h3> {{item.h3}} </h3>
30
+ {%- endif -%}
31
+ {%- if item.h4 -%}
32
+ <h4> {{item.h4}} </h4>
33
+ {%- endif -%}
34
+ {%- if item.h5 -%}
35
+ <h5> {{item.h5}} </h5>
36
+ {%- endif -%}
37
+ {%- if item.h6 -%}
38
+ <h6> {{item.h6}} </h6>
39
+ {%- endif -%}
40
+ {%- endfor -%}
41
+ </div>
14
42
  </div>
15
43
  {% include footer/index.html %}
44
+ {% include script.html %}
16
45
  </body>
17
46
 
18
47
  </html>
data/assets/css/tools.css CHANGED
@@ -49,7 +49,7 @@ header {
49
49
  .dropdown-menu {
50
50
  position: fixed;
51
51
  left: 0;
52
- top: 72px;
52
+ top: 71px;
53
53
  width: 100%;
54
54
  }
55
55
  .inner-dropdown {
@@ -1227,11 +1227,19 @@ ul li {
1227
1227
  text-align: center;
1228
1228
  margin: 0;
1229
1229
  }
1230
+ .common-h2 {
1231
+ font-stretch: 400;
1232
+ font-size: 20px;
1233
+ color: rgba(33, 33, 33, 1);
1234
+ }
1230
1235
  @media (min-width: 768px) {
1231
1236
  .about-h2 {
1232
1237
  line-height: 30px;
1233
1238
  font-size: 22px;
1234
1239
  }
1240
+ .common-h2 {
1241
+ font-size: 22px;
1242
+ }
1235
1243
  }
1236
1244
  /*closed*/
1237
1245
  .feature-img {
@@ -1273,7 +1281,7 @@ ul li {
1273
1281
  top: auto;
1274
1282
  font-size: 25px;
1275
1283
  width: 100%;
1276
- height: 80px;
1284
+ height: 60px;
1277
1285
  display: flex;
1278
1286
  margin: 0 !important;
1279
1287
  flex-direction: row;
@@ -1386,3 +1394,33 @@ ul li {
1386
1394
  color: gray !important;
1387
1395
  font-weight: 600;
1388
1396
  }
1397
+ .lang-dropdown {
1398
+ position: fixed;
1399
+ right: 30px;
1400
+ top: 20px;
1401
+ z-index: 999;
1402
+ }
1403
+ @media (max-width: 994px) {
1404
+ .lang-dropdown {
1405
+ top: 75px;
1406
+ z-index: 5;
1407
+ right: 4px;
1408
+ position: absolute;
1409
+ }
1410
+ .lang-dropdown .lang-dropdown-btn {
1411
+ position: absolute;
1412
+ right: 0;
1413
+ }
1414
+ .drop-down-wrapper {
1415
+ overflow-y: unset !important;
1416
+ }
1417
+ }
1418
+ .drop-down-wrapper {
1419
+ height: fit-content !important;
1420
+ }
1421
+ .lang-dropdown-item {
1422
+ width: 100%;
1423
+ display: block;
1424
+ text-align: center;
1425
+ text-decoration: none !important;
1426
+ }
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: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-06 00:00:00.000000000 Z
11
+ date: 2021-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -68,6 +68,7 @@ files:
68
68
  - _data/blog/nav.json
69
69
  - _data/blog/share.yml
70
70
  - _data/contact/en/contact.json
71
+ - _data/disclaimer/en/disclaimer.json
71
72
  - _data/feature/en/compress-pdf.json
72
73
  - _data/feature/en/split-pdf.json
73
74
  - _data/feature/hi/compress-pdf.json
@@ -78,10 +79,14 @@ files:
78
79
  - _data/help/en/help.json
79
80
  - _data/home/en/en.json
80
81
  - _data/home/hi/hi.json
82
+ - _data/languagesupport/compress-pdf-langs.json
83
+ - _data/languagesupport/index-langs.json
84
+ - _data/privacy/en/privacyPolicy.json
81
85
  - _data/termAndCondition/en/termAndCondition.json
82
86
  - _includes/author_bio.html
83
87
  - _includes/custom-head.html
84
88
  - _includes/disqus_comments.html
89
+ - _includes/dropdown/langdropdown.html
85
90
  - _includes/footer/index.html
86
91
  - _includes/head/index.html
87
92
  - _includes/header/blogHeader.html
@@ -98,11 +103,13 @@ files:
98
103
  - _layouts/categories.html
99
104
  - _layouts/contactUs.html
100
105
  - _layouts/default.html
106
+ - _layouts/disclaimer.html
101
107
  - _layouts/feature.html
102
108
  - _layouts/help.html
103
109
  - _layouts/home.html
104
110
  - _layouts/page.html
105
111
  - _layouts/post.html
112
+ - _layouts/privacyPolicy.html
106
113
  - _layouts/termAndCondition.html
107
114
  - assets/bulb.svg
108
115
  - assets/cloud.svg