appscms-tools-theme 0.4.5 → 0.5.0

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 -%}
@@ -4,10 +4,12 @@
4
4
  <footer class="footer">
5
5
  <div class="container">
6
6
  <div class="footer-wrapper">
7
+ {%- if dataToShow.logo -%}
7
8
  <div class="footer-logo-cont"><img src="{{dataToShow.logo}}" title="logo"
8
- class="footer-logo">
9
- <div class="footer-title">{{dataToShow.heading}}</div>
10
- </div>
9
+ class="footer-logo">
10
+ <div class="footer-title">{{dataToShow.heading}}</div>
11
+ </div>
12
+ {%- endif -%}
11
13
  <nav class="footer-nav">
12
14
  <ul class="footer-ul">
13
15
  <h2 class="footer-ul-title">Company</h2>
@@ -1,15 +1,19 @@
1
1
  <head>
2
- {% assign file = page.fileName %}
3
- {% assign lang = page.lang %}
4
- {% assign dataArr = site.data.[page.folderName][lang][file] %}
5
- {% assign dataToShow = dataArr %}
6
- {% assign title = dataToShow.TITLE | replace:"$variable", page.value %}
7
- {% assign description = dataToShow.META | replace:"$variable", page.value %}
8
- {% assign favicon = site.favicon %}
2
+ {% assign file = page.fileName %}
3
+ {% assign lang = page.lang %}
4
+ {% assign dataArr = site.data.[page.folderName][lang][file] %}
5
+ {% assign dataToShow = dataArr %}
6
+ {% assign title = dataToShow.TITLE | replace:"$variable", page.value | default: site.title %}
7
+ {% assign description = dataToShow.META | replace:"$variable", page.value | default: site.description %}
8
+ {% assign keywords = dataToShow.keywords %}
9
+ {% assign favicon = site.favicon %}
9
10
  <meta charset="utf-8">
10
- <link rel="shortcut icon" href="/assets/images/logo.png">
11
+ <link rel="shortcut icon" href="{{favicon}}">
11
12
  <meta name="viewport" content="width=device-width">
12
13
  <title>{{title}}</title>
14
+ {%- if dataToShow.keywords -%}
15
+ <meta name="keywords" content="{{keywords}}" />
16
+ {%- endif -%}
13
17
  <meta name="description" content="{{description}}">
14
18
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
15
19
  integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
@@ -18,14 +22,34 @@
18
22
  <meta property="og:title" content="{{title}}">
19
23
  <meta property="og:description" content="{{description}}">
20
24
  <meta property="og:type" content="website">
21
- <meta property="og:url" content="{{site.url | append: page.url}}">
22
- <meta property="og:site_name" content="{{site.name}}">
23
- <meta property="twitter:domain" content="{{site.url}}">
24
- <meta property="twitter:url" content="{{site.url | append: page.url}}">
25
- <meta name="twitter:title" content="{{title}}">
26
- <meta name="twitter:description" content="{{description}}">
27
- <meta name="twitter:image:src" content="{{site.url}}/{{favicon}}">
25
+ <meta data-rh="true" property="og:url" content="{{site.url | append: page.url}}">
26
+ <meta data-rh="true" property="og:site_name" content="{{site.name}}">
27
+ <meta data-rh="true" property="twitter:domain" content="{{site.url}}">
28
+ <meta data-rh="true" property="twitter:url" content="{{site.url | append: page.url}}">
29
+ <meta data-rh="true" name="twitter:title" content="{{title}}">
30
+ <meta data-rh="true" name="twitter:description" content="{{description}}">
31
+ <meta data-rh="true" name="twitter:image:src" content="{{site.url}}/{{favicon}}">
28
32
  <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700" rel="stylesheet">
29
33
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css" />
30
34
  <link rel="stylesheet" href="/assets/css/tools.css">
35
+ <script type="application/ld+json">
36
+ {"@context": "https://schema.org","@graph": [
37
+ {%- if dataToShow.StructuredDataFaq -%}
38
+ {{dataToShow.StructuredDataFaq | replace: "=>",":" | append: ',' }}
39
+ {%- endif -%}
40
+ {%- if dataToShow.StructuredDataHowTo -%}
41
+ {{dataToShow.StructuredDataHowTo | replace: "=>",":" | append: ',' }}
42
+ {%- endif -%}
43
+ {%- if dataToShow.StructuredDataBreadcrumb | replace: "=>",":" -%}
44
+ {{dataToShow.StructuredDataBreadcrumb | replace: "=>",":" | append: ',' }}
45
+ {%- endif -%}
46
+ {%- if dataToShow.StructuredDataorganization -%}
47
+ {{dataToShow.StructuredDataorganization | replace: "=>",":" | append: ',' }}
48
+ {%- endif -%}
49
+ {%- if dataToShow.StructuredDataWebsite -%}
50
+ {{dataToShow.StructuredDataWebsite | replace: "=>",":" }}
51
+ {%- endif -%}
52
+ ]
53
+ }
54
+ </script>
31
55
  </head>
@@ -19,8 +19,9 @@
19
19
  </button>
20
20
 
21
21
  <div class="collapse navbar-collapse" id="navbarSupportedContent">
22
+ {%- if dataToShow.megaMenu -%}
22
23
  <li class="nav-item nav__item">
23
- <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">
24
25
  {{dataToShow.megaMenu.nav-link-name}}
25
26
  </a>
26
27
  <ul class="dropmenu dropdown-menu" aria-labelledby="navbarDropdown">
@@ -38,6 +39,7 @@
38
39
  </div>
39
40
  </ul>
40
41
  </li>
42
+ {%- endif -%}
41
43
  <ul class="navbar-nav mr-auto ">
42
44
  {% for item in dataToShow.navItems %}
43
45
  <li class="nav-item nav__item">
@@ -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>
@@ -2,6 +2,7 @@
2
2
  {% assign folder = page.folderName %}
3
3
  {% assign lang = page.lang %}
4
4
  {% assign shareData=site.data[folder][lang][file] %}
5
+ {%- if site.data.blog.share.platforms -%}
5
6
  <div class="social-icons">
6
7
  {% assign url = page.url | relative_url | prepend: site.url %}
7
8
  {% for share in site.data.blog.share.platforms %}
@@ -17,3 +18,5 @@
17
18
  </ul>
18
19
  </ul>
19
20
  </div>
21
+ {%- endif -%}
22
+
@@ -3,15 +3,20 @@
3
3
  {% assign folder = page.folderName %}
4
4
  {% assign aboutData = site.data[folder][lang][file] %}
5
5
  <!DOCTYPE html>
6
- <html lang="en">
6
+ <html lang="{{aboutData.htmlLangAtt}}">
7
7
  {% include head/index.html %}
8
8
  <body>
9
9
  {% include header/index.html %}
10
- <div class="container py-4">
10
+ {%- include dropdown/langdropdown.html -%}
11
+ <div class="container py-4 about_layout">
11
12
  <h1 class="about-h1 py-2">{{aboutData.h1}}</h1>
12
13
  <h2 class="about-h2">{{aboutData.h2}}</h2>
13
- <p class="py-2">{{aboutData.paragraph}}</p>
14
+ <p class="about-para py-2">{{aboutData.paragraph}}</p>
15
+ <div>
16
+ {{content}}
17
+ </div>
14
18
  </div>
15
19
  {% include footer/index.html %}
20
+ {% include script.html %}
16
21
  </body>
17
22
  </html>
@@ -3,16 +3,48 @@
3
3
  {% assign lang = page.lang %}
4
4
  {% assign contactData = site.data[folder][lang][file] %}
5
5
  <!DOCTYPE html>
6
- <html lang="en" data-tool="landing">
6
+ <html lang="{{contactData.htmlLangAtt}}">
7
7
  {% include head/index.html %}
8
8
  <body>
9
9
  {% include header/index.html %}
10
- <div class="container py-4">
11
- <h1 class="about-h1 py-2">{{contactData.h1}}</h1>
12
- <h2 class="about-h2">{{contactData.h2}}</h2>
13
- <p class="py-2">{{contactData.paragraph}}</p>
10
+ {%- include dropdown/langdropdown.html -%}
11
+ <div class="container py-4 contact_layout">
12
+ <h1 class="contact-h1 py-2">{{contactData.h1}}</h1>
13
+ <h2 class="contact-h2">{{contactData.h2}}</h2>
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>
42
+ <div>
43
+ {{content}}
44
+ </div>
14
45
  </div>
15
46
  {% include footer/index.html %}
47
+ {% include script.html %}
16
48
  </body>
17
49
 
18
50
  </html>
@@ -0,0 +1,50 @@
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="{{disclaimerData.htmlLangAtt}}">
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
+ {{content}}
44
+ </div>
45
+ </div>
46
+ {% include footer/index.html %}
47
+ {% include script.html %}
48
+ </body>
49
+
50
+ </html>
@@ -1,27 +1,26 @@
1
+ {% assign file = page.fileName %}
2
+ {% assign lang = page.lang %}
3
+ {% assign folder = page.folderName %}
4
+ {% assign featureData= site.data[folder][lang][file] %}
1
5
  <!DOCTYPE html>
2
- <html lang="en">
6
+ <html lang="{{featureData.htmlLangAtt}}">
3
7
  {% include head/index.html %}
4
8
  <body>
5
9
  {% include header/index.html %}
6
- {% assign file = page.fileName %}
7
- {% assign lang = page.lang %}
8
- {% assign folder = page.folderName %}
9
- {% assign dataArr = site.data[folder][lang][file] %}
10
- {% assign dataToShow = dataArr %}
11
- {{page.title}}
12
- <div class="flex-container py-1">
13
- <div class="flex-class py-5 my-1">
10
+ {%- include dropdown/langdropdown.html -%}
11
+ <div class="flex-container">
12
+ <div class="flex-class py-4 mt-4 mt-md-0 ">
14
13
  <div class="d-flex justify-content-center align-items-center"><span class="fHhdVc">
15
- <div class="div-cont feature-img"><svg xmlns="http://www.w3.org/2000/svg"
14
+ <div class="div-cont feature-img mr-2"><svg xmlns="http://www.w3.org/2000/svg"
16
15
  xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 36 36" fill="#000">
17
16
  <path
18
17
  d="M6,6 L9,18 L6,30 L18,27 L30,30 L27,18 L30,6 L18,9 L6,6 Z M3,3 L18,6.75 L33,3 L29.25,18 L33,33 L18,29.25 L3,33 L6.75,18 L3,3 Z">
19
18
  </path>
20
19
  </svg></div>
21
20
  </span>
22
- <h1 class="feature-h1">{{dataToShow.H1 | replace: "$variable", page.value}}</h1>
21
+ <h1 class="feature-h1">{{featureData.H1 | replace: "$variable", page.value}}</h1>
23
22
  </div>
24
- <h2 class="feature-h2">{{dataToShow.H2 | replace: "$variable", page.value}}</h2>
23
+ <h2 class="feature-h2">{{featureData.H2 | replace: "$variable", page.value}}</h2>
25
24
  </div>
26
25
  </div>
27
26
  <div class="box-padding">
@@ -30,7 +29,7 @@
30
29
  <div class="flex-class">
31
30
  <div class="d-flex flex-column">
32
31
  <div class="box"
33
- style=background:{{dataToShow.bacgroundcolor}};min-height:{{dataToShow.height}};width:{{dataToShow.width}}>
32
+ style=background:{{featureData.color}};min-height:{{featureData.height}};width:{{featureData.width}}>
34
33
  <div class="box-border"></div>
35
34
  <div class="content-box">
36
35
  <!-- <input type="file" id="__picker-input" multiple="" accept="application/pdf,.pdf,application/vnd.openxmlformats-officedocument.wordprocessingml.document,.docx,application/msword,.doc,application/vnd.openxmlformats-officedocument.presentationml.presentation,.pptx,application/vnd.ms-powerpoint,.ppt,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,.xlsx,application/vnd.ms-excel,.xls,image/bmp,.bmp,image/jpeg,.jpg,.jpeg,image/png,.png,image/tiff,.tif,.tiff" class="sc-1oqtgb8-0 fqzcVW"> -->
@@ -49,7 +48,7 @@
49
48
  <!-- Feature/Texual content start -->
50
49
  <div class="container mt-4">
51
50
  <div class="row px-0">
52
- {% for data in dataToShow.TEXTUAL_CONTENT %}
51
+ {% for data in featureData.TEXTUAL_CONTENT %}
53
52
  <div class="col-lg-4 col-md-6 my-4">
54
53
  <div><img class="feature-card-img" src="{{data.logoUrl}}"
55
54
  alt={{data.header}}>
@@ -64,14 +63,16 @@
64
63
  <div class="flex-container pb-5">
65
64
  <div class="flex-class">
66
65
  <div class=" d-flex flex-wrap justify-content-center">
66
+ {%- if featureData.HOW_TO_CONTENT.logoImageUrl -%}
67
67
  <div class="how-to-img-wrapper "><img class="how-to-leftimg"
68
- src="{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}" alt="{{dataToShow.HOW_TO_CONTENT.logoImageAlt}}">
69
- </div>
68
+ src="{{featureData.HOW_TO_CONTENT.logoImageUrl}}" alt="{{featureData.HOW_TO_CONTENT.logoImageAlt}}">
69
+ </div>
70
+ {%- endif -%}
70
71
  <div class="how-to-right">
71
- <h3 class="how-to-title">{{dataToShow.HOW_TO_CONTENT.heading | replace: "$variable",
72
+ <h3 class="how-to-title">{{featureData.HOW_TO_CONTENT.heading | replace: "$variable",
72
73
  page.value}}</h3>
73
74
  <ol class="how-to-list">
74
- {% for data in dataToShow.HOW_TO_CONTENT.steps %}
75
+ {% for data in featureData.HOW_TO_CONTENT.steps %}
75
76
  <li class="how-to-list-item">{{data | replace: "$variable", page.value}}</li>
76
77
  {% endfor %}
77
78
  </ol>
@@ -90,7 +91,7 @@
90
91
  <div class="faq">
91
92
  <h2 class="feature-h1 text-center">Frequently Asked Questions</h2>
92
93
  <ul class="list-unstyled">
93
- {% for data in dataToShow.FAQ %}
94
+ {% for data in featureData.FAQ %}
94
95
  <li>
95
96
  <h3 class="faq-question" itemprop="name">{{data.question | replace: "$variable", page.value}}<em
96
97
  style="transform: rotate(-135deg);">
data/_layouts/help.html CHANGED
@@ -3,17 +3,21 @@
3
3
  {% assign lang = page.lang %}
4
4
  {% assign helpData = site.data[folder][lang][file] %}
5
5
  <!DOCTYPE html>
6
- <html lang="en" data-tool="landing">
6
+ <html lang="{{helpData.htmlLangAtt}}">
7
7
  {% include head/index.html %}
8
-
9
8
  <body>
10
9
  {% include header/index.html %}
10
+ {%- include dropdown/langdropdown.html -%}
11
11
  <div class="container py-4">
12
12
  <h1 class="about-h1 py-2">{{helpData.h1}}</h1>
13
13
  <h2 class="about-h2">{{helpData.h2}}</h2>
14
14
  <p class="py-2">{{helpData.paragraph}}</p>
15
+ <div>
16
+ {{content}}
17
+ </div>
15
18
  </div>
16
19
  {% include footer/index.html %}
20
+ {% include script.html %}
17
21
  </body>
18
22
 
19
23
  </html>
data/_layouts/home.html CHANGED
@@ -1,23 +1,26 @@
1
+ {% assign file = page.fileName %}
2
+ {% assign lang = page.lang %}
3
+ {% assign folder = page.folderName %}
4
+ {% assign homeData= site.data[folder][lang][file] %}
1
5
  <!DOCTYPE html>
2
- <html lang="en" data-tool="landing">
6
+ <html lang="{{homeData.htmlLangAtt}}">
3
7
  {% include head/index.html %}
4
8
  <body>
5
9
  {% include header/index.html %}
6
- {% assign file = page.fileName %}
7
- {% assign folderName = page.folderName %}
8
- {% assign dataArr = site.data[folderName][lang][file] %}
9
- {% assign dataToShow = dataArr %}
10
+ {%- include dropdown/langdropdown.html -%}
11
+ {%- if homeData.h1 or homeData.h2 -%}
10
12
  <div class="flex-container">
11
13
  <div class="flex-class py-5">
12
- <h1 class="home-top-h1">{{dataToShow.h1}}</h1>
13
- <h2 class="home-top-h2">{{dataToShow.h2}}</h2>
14
+ <h1 class="home-top-h1">{{homeData.h1}}</h1>
15
+ <h2 class="home-top-h2">{{homeData.h2}}</h2>
14
16
  </div>
15
17
  </div>
16
-
18
+ {%- endif -%}
19
+ {%- if homeData.features -%}
17
20
  <div class="flex-container">
18
21
  <div class="flex-class">
19
22
  <ul class="home-features">
20
- {% for product in dataToShow.features %}
23
+ {% for product in homeData.features %}
21
24
  <li style=background:{{product.color}} class="home-feature-box">
22
25
  <div class="home-inner-box">
23
26
  <div class="div-cont feature-img">
@@ -31,6 +34,81 @@
31
34
  </ul>
32
35
  </div>
33
36
  </div>
37
+ {%- endif -%}
38
+ <div>
39
+ {{content}}
40
+ </div>
41
+ {%- if homeData.TEXTUAL_CONTENT -%}
42
+ <div class="container mt-4">
43
+ <div class="row px-0">
44
+ {% for data in homeData.TEXTUAL_CONTENT %}
45
+ <div class="col-lg-4 col-md-6 my-4">
46
+ <div><img class="feature-card-img" src="{{data.logoUrl}}"
47
+ alt={{data.header}}>
48
+ <div class="feature-card-title">{{data.header | replace: "$variable", page.value}}</div>
49
+ <div class="feature-card-desc">{{data.content | replace: "$variable", page.value}}</div>
50
+ </div>
51
+ </div>
52
+ {% endfor %}
53
+ </div>
54
+ </div>
55
+ {%- endif -%}
56
+ {%- if homeData.HOW_TO_CONTENT -%}
57
+ <div class="d-flex justify-content-center mt-5 mb-5" id="__cond-1011327">
58
+ <div class="flex-container pb-5">
59
+ <div class="flex-class">
60
+ <div class=" d-flex flex-wrap justify-content-center">
61
+ {%- if homeData.HOW_TO_CONTENT.logoImageUrl -%}
62
+ <div class="how-to-img-wrapper "><img class="how-to-leftimg"
63
+ src="{{homeData.HOW_TO_CONTENT.logoImageUrl}}" alt="{{homeData.HOW_TO_CONTENT.logoImageAlt}}">
64
+ </div>
65
+ {%- endif -%}
66
+ <div class="how-to-right">
67
+ <h3 class="how-to-title">{{homeData.HOW_TO_CONTENT.heading | replace: "$variable",
68
+ page.value}}</h3>
69
+ <ol class="how-to-list">
70
+ {% for data in homeData.HOW_TO_CONTENT.steps %}
71
+ <li class="how-to-list-item">{{data | replace: "$variable", page.value}}</li>
72
+ {% endfor %}
73
+ </ol>
74
+ </div>
75
+ </div>
76
+ </div>
77
+ </div>
78
+ </div>
79
+
80
+ {%- endif -%}
81
+
82
+ <!-- </div> -->
83
+ <!-- How to section End -->
84
+ <!-- FAQ section start -->
85
+ {%- if homeData.FAQ -%}
86
+ <div class="container">
87
+ <div class="row">
88
+ <div class="col-md-8 mx-auto">
89
+ <div class="faq">
90
+ <h2 class="feature-h1 text-center">Frequently Asked Questions</h2>
91
+ <ul class="list-unstyled">
92
+ {% for data in homeData.FAQ %}
93
+ <li>
94
+ <h3 class="faq-question" itemprop="name">{{data.question | replace: "$variable", page.value}}<em
95
+ style="transform: rotate(-135deg);">
96
+ <i></i></em>
97
+ </h3>
98
+ <div style="display: block;">
99
+ <p class="faq-answer" itemprop="text">{{data.answer | replace: "$variable", page.value}}</p>
100
+ </div>
101
+ </li>
102
+ <hr>
103
+ {% endfor %}
104
+ </ul>
105
+ </div>
106
+ </div>
107
+ </div>
108
+
109
+ </div>
110
+ {%- endif -%}
111
+
34
112
  {%- include share/socialshare.html -%}
35
113
  <!-- Footer -->
36
114
  {% include footer/index.html %}