appscms-tools-theme 2.3.4 → 2.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/_data/blog/blog.yml +1 -0
  3. data/_data/blog/nav.json +1 -1
  4. data/_data/feature/en/allele-frequency.json +242 -242
  5. data/_data/feature/en/compress-pdf.json +7 -12
  6. data/_data/feature/en/theframe.json +23 -23
  7. data/_data/home/en/en.json +11 -11
  8. data/_data/home/en/photoeffects.json +23 -23
  9. data/_data/home-1/en/en.json +178 -6
  10. data/_data/photo-categories.json +334 -334
  11. data/_data/photoeffects.json +116 -116
  12. data/_includes/footer/index.html +6 -12
  13. data/_includes/head/index.html +2 -2
  14. data/_includes/header/blogHeader.html +29 -24
  15. data/_includes/header/index.html +130 -34
  16. data/_includes/monumetric/ads.html +57 -57
  17. data/_includes/monumetric/profitablecpmgate.html +51 -51
  18. data/_includes/paginationBlogPage.html +38 -1
  19. data/_layouts/blog-1.html +8 -22
  20. data/_layouts/calculator.html +69 -69
  21. data/_layouts/feature-1.html +93 -60
  22. data/_layouts/frame.html +205 -205
  23. data/_layouts/home-1.html +48 -85
  24. data/_layouts/imagekit.html +115 -111
  25. data/_layouts/photo-effects-home.html +83 -83
  26. data/assets/css/batch.css +1 -1
  27. data/assets/css/calculators.css +40 -40
  28. data/assets/css/common.css +548 -0
  29. data/assets/css/feature-1.css +82 -294
  30. data/assets/css/frame.css +695 -695
  31. data/assets/css/home-1.css +5 -12
  32. data/assets/css/imagekit.css +748 -736
  33. data/assets/css/tools.css +1 -1
  34. data/assets/images/addimg.svg +2 -2
  35. data/assets/images/bulb.svg +1 -1
  36. data/assets/images/cloud_new.svg +1 -0
  37. data/assets/images/cross.svg +1 -0
  38. data/assets/images/fast.svg +1 -0
  39. data/assets/images/lightbulb.svg +1 -0
  40. data/assets/images/shield.svg +1 -0
  41. data/assets/images/target.svg +1 -0
  42. data/assets/js/ads.js +8 -8
  43. data/assets/js/append-div.js +10 -10
  44. data/assets/js/batch.js +30 -8
  45. data/assets/js/photo-effects.json +32 -32
  46. data/assets/js/theme.js +11 -11
  47. metadata +14 -9
  48. data/_data/blog/blog.json +0 -1
  49. data/assets/css/common-page.css +0 -180
@@ -1,117 +1,117 @@
1
- [
2
- {
3
- "featureName": "Hot Air Balloon",
4
- "url": "/",
5
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
6
- },
7
- {
8
- "featureName": "Hot Air Balloon",
9
- "url": "/",
10
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
11
- },
12
- {
13
- "featureName": "Hot Air Balloon",
14
- "url": "/",
15
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
16
- },
17
- {
18
- "featureName": "Hot Air Balloon",
19
- "url": "/",
20
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
21
- },
22
- {
23
- "featureName": "Hot Air Balloon",
24
- "url": "/",
25
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
26
- },
27
- {
28
- "featureName": "Hot Air Balloon",
29
- "url": "/",
30
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
31
- },
32
- {
33
- "featureName": "Hot Air Balloon",
34
- "url": "/",
35
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
36
- },
37
- {
38
- "featureName": "Hot Air Balloon",
39
- "url": "/",
40
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
41
- },
42
- {
43
- "featureName": "Hot Air Balloon",
44
- "url": "/",
45
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
46
- },
47
- {
48
- "featureName": "Hot Air Balloon",
49
- "url": "/",
50
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
51
- },
52
- {
53
- "featureName": "Hot Air Balloon",
54
- "url": "/",
55
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
56
- },
57
- {
58
- "featureName": "Hot Air Balloon",
59
- "url": "/",
60
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
61
- },
62
- {
63
- "featureName": "Hot Air Balloon",
64
- "url": "/",
65
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
66
- },
67
- {
68
- "featureName": "Hot Air Balloon",
69
- "url": "/",
70
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
71
- },
72
- {
73
- "featureName": "Hot Air Balloon",
74
- "url": "/",
75
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
76
- },
77
- {
78
- "featureName": "Hot Air Balloon",
79
- "url": "/",
80
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
81
- },
82
- {
83
- "featureName": "Hot Air Balloon",
84
- "url": "/",
85
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
86
- },
87
- {
88
- "featureName": "Hot Air Balloon",
89
- "url": "/",
90
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
91
- },
92
- {
93
- "featureName": "Hot Air Balloon",
94
- "url": "/",
95
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
96
- },
97
- {
98
- "featureName": "Hot Air Balloon",
99
- "url": "/",
100
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
101
- },
102
- {
103
- "featureName": "Hot Air Balloon",
104
- "url": "/",
105
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
106
- },
107
- {
108
- "featureName": "Hot Air Balloon",
109
- "url": "/",
110
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
111
- },
112
- {
113
- "featureName": "Hot Air Balloon",
114
- "url": "/",
115
- "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
116
- }
1
+ [
2
+ {
3
+ "featureName": "Hot Air Balloon",
4
+ "url": "/",
5
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
6
+ },
7
+ {
8
+ "featureName": "Hot Air Balloon",
9
+ "url": "/",
10
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
11
+ },
12
+ {
13
+ "featureName": "Hot Air Balloon",
14
+ "url": "/",
15
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
16
+ },
17
+ {
18
+ "featureName": "Hot Air Balloon",
19
+ "url": "/",
20
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
21
+ },
22
+ {
23
+ "featureName": "Hot Air Balloon",
24
+ "url": "/",
25
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
26
+ },
27
+ {
28
+ "featureName": "Hot Air Balloon",
29
+ "url": "/",
30
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
31
+ },
32
+ {
33
+ "featureName": "Hot Air Balloon",
34
+ "url": "/",
35
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
36
+ },
37
+ {
38
+ "featureName": "Hot Air Balloon",
39
+ "url": "/",
40
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
41
+ },
42
+ {
43
+ "featureName": "Hot Air Balloon",
44
+ "url": "/",
45
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
46
+ },
47
+ {
48
+ "featureName": "Hot Air Balloon",
49
+ "url": "/",
50
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
51
+ },
52
+ {
53
+ "featureName": "Hot Air Balloon",
54
+ "url": "/",
55
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
56
+ },
57
+ {
58
+ "featureName": "Hot Air Balloon",
59
+ "url": "/",
60
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
61
+ },
62
+ {
63
+ "featureName": "Hot Air Balloon",
64
+ "url": "/",
65
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
66
+ },
67
+ {
68
+ "featureName": "Hot Air Balloon",
69
+ "url": "/",
70
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
71
+ },
72
+ {
73
+ "featureName": "Hot Air Balloon",
74
+ "url": "/",
75
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
76
+ },
77
+ {
78
+ "featureName": "Hot Air Balloon",
79
+ "url": "/",
80
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
81
+ },
82
+ {
83
+ "featureName": "Hot Air Balloon",
84
+ "url": "/",
85
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
86
+ },
87
+ {
88
+ "featureName": "Hot Air Balloon",
89
+ "url": "/",
90
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
91
+ },
92
+ {
93
+ "featureName": "Hot Air Balloon",
94
+ "url": "/",
95
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
96
+ },
97
+ {
98
+ "featureName": "Hot Air Balloon",
99
+ "url": "/",
100
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
101
+ },
102
+ {
103
+ "featureName": "Hot Air Balloon",
104
+ "url": "/",
105
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
106
+ },
107
+ {
108
+ "featureName": "Hot Air Balloon",
109
+ "url": "/",
110
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
111
+ },
112
+ {
113
+ "featureName": "Hot Air Balloon",
114
+ "url": "/",
115
+ "image": "https://cdn.photofunia.com/effects/balloon/icons/regular.jpg"
116
+ }
117
117
  ]
@@ -7,24 +7,21 @@
7
7
  {%- if page.layout == 'home-1' or page.layout == "feature-1" -%}
8
8
  <footer class="footer-1">
9
9
  <div class="container-fluid p-0 m-0">
10
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
11
- <div class="row">
12
- <div class="col-md-9 mx-auto">
13
- {%- endif -%}
10
+ <div class="row m-0 p-0">
11
+ <div class="col-md-12 mx-auto">
14
12
  <div class="footer-wrapper">
15
13
  <nav class="footer-nav">
16
14
  <ul class="footer-ul">
17
15
  {% for data in dataToShow.footer1 %}
18
- <div class="d-flex align-items-center footer_hvr px-3" style="gap: 10px">
16
+ <div class="footer1-options d-flex align-items-center footer_hvr px-3" style="gap: 10px">
19
17
  <img src="{{data.logo}}" alt="footer-feature-logo" width="20px" height="20px">
20
18
  <a class="footer-link" href="{{data.url}}">{{data.name}}</a>
21
19
  </div>
22
-
23
20
  {% endfor %}
24
21
  </ul>
25
22
  <ul class="footer-ul">
26
23
  {% for data in dataToShow.footer2 %}
27
- <div class="d-flex align-items-center footer_hvr px-3" style="gap: 10px">
24
+ <div class="footer1-options d-flex align-items-center footer_hvr px-3" style="gap: 10px">
28
25
  <img src="{{data.logo}}" alt="footer-feature-logo" width="20px" height="20px">
29
26
  <a class="footer-link" href="{{data.url}}">{{data.name}}</a>
30
27
  </div>
@@ -32,7 +29,7 @@
32
29
  </ul>
33
30
  <ul class="footer-ul">
34
31
  {% for data in dataToShow.footer3 %}
35
- <div class="d-flex align-items-center footer_hvr px-3" style="gap: 10px">
32
+ <div class="footer1-options d-flex align-items-center footer_hvr px-3" style="gap: 10px">
36
33
  <img src="{{data.logo}}" alt="footer-feature-logo" width="20px" height="20px">
37
34
  <a class="footer-link" href="{{data.url}}">{{data.name}}</a>
38
35
  </div>
@@ -40,7 +37,7 @@
40
37
  </ul>
41
38
  <ul class="footer-ul">
42
39
  {% for data in dataToShow.footer4 %}
43
- <div class="d-flex align-items-center footer_hvr px-3" style="gap: 10px">
40
+ <div class="footer1-options d-flex align-items-center footer_hvr px-3" style="gap: 10px">
44
41
  <img src="{{data.logo}}" alt="footer-feature-logo" width="20px" height="20px">
45
42
  <a class="footer-link" href="{{data.url}}">{{data.name}}</a>
46
43
  </div>
@@ -52,7 +49,6 @@
52
49
  <div class="privacy-footer">
53
50
  <div class="footer1-msg">{{dataToShow.messege}}
54
51
  </div>
55
-
56
52
  <div class="privacy-links">
57
53
  {% for data in dataToShow.legal %}
58
54
  <div class="privacy-links-item"><a href="{{data.url}}">{{data.name}}</a></div>
@@ -258,10 +254,8 @@
258
254
 
259
255
  </div>
260
256
  </div>
261
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
262
257
  </div>
263
258
  </div>
264
- {%- endif -%}
265
259
  </footer>
266
260
  {%- else -%}
267
261
  <footer class="footer">
@@ -105,8 +105,8 @@
105
105
  {%- endif -%}
106
106
 
107
107
  {%- if page.layout == 'home-1' or page.layout == "feature-1" -%}
108
- <link rel="stylesheet" href="/assets/css/common-page.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous"
109
- {%- endif -%} />
108
+ <link rel="stylesheet" href="/assets/css/common.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
109
+ endif -%} />
110
110
  {%- endif -%}
111
111
  {%- if page.layout == 'imagekit' -%}
112
112
  <link rel="stylesheet" href="/assets/css/imagekit.css" {%- if site.crossorigin -%} {{ }} crossorigin="anonymous" {%-
@@ -1,30 +1,35 @@
1
1
  <header id="header">
2
- <nav class="navbar navbar-expand-lg navbar-dark bg-light py-3">
3
- {%- assign navbar = site.data.blog.nav -%}
4
- {% if navbar.navbarBrandText != "" %}
5
- <a class="navbar-brand" href="/" title="{{navbar.navbarBrandText}}">{{navbar.navbarBrandText}}</a>
2
+ {%- if page.layout == 'blog-1' or page.layout == "post" -%}
3
+ <nav class="navbar navbar-expand-lg navbar-dark py-3"
4
+ style="box-shadow: 0 1px 0 0 rgb(38 38 40 / 9%); background-color: white;">
5
+ {%- else -%}
6
+ <nav class="navbar navbar-expand-lg navbar-dark py-3" style="background-color: white">
7
+ {%- endif -%}
8
+ {%- assign navbar = site.data.blog.nav -%}
9
+ {% if navbar.navbarBrandText != "" %}
10
+ <a class="navbar-brand" href="/" title="{{navbar.navbarBrandText}}">{{navbar.navbarBrandText}}</a>
6
11
 
7
- {% else %}
8
- <a href="/">
9
- <img class="logo-height" loading="lazy" src="{{navbar.navbarBrandLogo}}" alt="{{navbar.navbarBrandLogo}}"
10
- style="height: 40px; width: 40px;" class="navbar-brand-image" {%- if site.crossorigin -%} crossorigin
11
- {%- endif -%}>
12
+ {% else %}
13
+ <a href="/">
14
+ <img class="logo-height" loading="lazy" src="{{navbar.navbarBrandLogo}}"
15
+ alt="{{navbar.navbarBrandLogo}}" style="height: 40px; width: 40px;" class="navbar-brand-image" {%-
16
+ if site.crossorigin -%} crossorigin {%- endif -%}>
12
17
 
13
- </a>
14
- {% endif %}
18
+ </a>
19
+ {% endif %}
15
20
 
16
- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent">
17
- <i class="fas fa-bars fa-2x" style="color:#000"></i>
18
- </button>
21
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent">
22
+ <i class="fas fa-bars fa-2x" style="color:#000"></i>
23
+ </button>
19
24
 
20
- <div class="collapse navbar-collapse" id="navbarSupportedContent">
21
- <ul class="navbar-nav ml-auto">
22
- {%- for item in site.data.blog.nav.navItems -%}
23
- <li class="nav-item">
24
- <a class="nav-link" href="/{{item.url}}">{{item.name}}</a>
25
- </li>
26
- {% endfor %}
27
- </ul>
28
- </div>
29
- </nav>
25
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
26
+ <ul class="navbar-nav ml-auto">
27
+ {%- for item in site.data.blog.nav.navItems -%}
28
+ <li class="nav-item">
29
+ <a class="nav-link" href="/{{item.url}}">{{item.name}}</a>
30
+ </li>
31
+ {% endfor %}
32
+ </ul>
33
+ </div>
34
+ </nav>
30
35
  </header>
@@ -4,6 +4,98 @@
4
4
  {% assign folder = page.folderName %}
5
5
  {% assign Data= site.data[folder][lang][file] %}
6
6
 
7
+ {%- if page.layout == 'home-1' or page.layout == "feature-1" -%}
8
+ <header class="home1-nav-header">
9
+ <nav class="header-navbar navbar navbar-expand-lg">
10
+ <div class="container px-0">
11
+ {% if dataToShow.navbarBrandText != "" %}
12
+ <a class="navbar-brand" href="/" title="{{dataToShow.navbarBrandText}}">{{dataToShow.navbarBrandText}}</a>
13
+ {% else %}
14
+ <a href="/">
15
+ <img class="header-logo-height" src="{{ dataToShow.navbarBrandLogo }}" alt="{{ dataToShow.navbarBrandLogo }}"
16
+ {%- if site.crossorigin -%} crossorigin {%- endif -%}>
17
+ </a>
18
+ {% endif %}
19
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
20
+ aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
21
+ <div class="header_bars"></div>
22
+ <div class="header_bars"></div>
23
+ <div class="header_bars"></div>
24
+ </button>
25
+
26
+ <div class="collapse navbar-collapse justify-content-end" id="navbarSupportedContent">
27
+ {%- if Data.megaMenu -%}
28
+ <div class="nav-item header_nav__item">
29
+ <a class="dropdown-toggle ml-lg-5" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
30
+ aria-haspopup="true" aria-expanded="false">
31
+ {{Data.megaMenu.nav-link-name}}
32
+ </a>
33
+ <div class="dropmenu dropdown-menu" style="border-bottom: 0; box-shadow: 0 8px 5px -6px rgb(0 0 0 / 9%);"
34
+ aria-labelledby="navbarDropdown">
35
+ <div class="inner-dropdown">
36
+ {%- for item in Data.megaMenu.dropdown -%}
37
+ <div class="catPad mb-4">
38
+ <li class="tools_list_categoryName">{{item.categoryName}}</li>
39
+ {%- for item in item.links -%}
40
+ <li>
41
+ <a class="tools_list_featureName" href="{{item.url}}">
42
+ {%- if item.iconSrc -%}
43
+ <img class="d-inline mr-2" loading="lazy" style="height:20px;width:20px;" src="{{item.iconSrc}}" {%-
44
+ if site.crossorigin -%} crossorigin {%- endif -%}>
45
+ {%- endif -%}
46
+ {{item.name}}
47
+ </a>
48
+ </li>
49
+ {%- endfor -%}
50
+ </div>
51
+ {%- endfor -%}
52
+ </div>
53
+ </div>
54
+ </div>
55
+ {%- else -%}
56
+ {%- if dataToShow.megaMenu -%}
57
+ <div class="nav-item header_nav__item">
58
+ <a class="dropdown-toggle ml-lg-5" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
59
+ aria-haspopup="true" aria-expanded="false">
60
+ {{dataToShow.megaMenu.nav-link-name}}
61
+ </a>
62
+ <div class="dropmenu dropdown-menu" aria-labelledby="navbarDropdown">
63
+ <div class="inner-dropdown">
64
+ {%- for item in dataToShow.megaMenu.dropdown -%}
65
+ <div class="catPad mb-4">
66
+ <li class="tools_list_categoryName">{{item.categoryName}}</li>
67
+ <div> {%- for item in item.links -%}
68
+ <li>
69
+ <a class="tools_list_featureName" href="{{item.url}}">
70
+ {%- if item.iconSrc -%}
71
+ <img class="d-inline mr-2" loading="lazy" style="height:20px;width:20px;" src="{{item.iconSrc}}"
72
+ {%- if site.crossorigin -%} crossorigin {%- endif -%}>
73
+ {%- endif -%}
74
+ {{item.name}}</a>
75
+ </li>
76
+ {%- endfor -%}
77
+ </div>
78
+ </div>
79
+ {%- endfor -%}
80
+ </div>
81
+ </div>
82
+ </div>
83
+ {%- endif -%}
84
+ {%- endif -%}
85
+
86
+
87
+ <div class="navbar-nav">
88
+ {% for item in dataToShow.navItems %}
89
+ <li class="nav-item header_nav__item">
90
+ <a href="{{item.url}}">{{item.name}}</a>
91
+ </li>
92
+ {% endfor %}
93
+ </div>
94
+ </div>
95
+ </div>
96
+ </nav>
97
+ </header>
98
+ {%- else -%}
7
99
 
8
100
  <header id="header">
9
101
  <nav class="navbar navbar-expand-lg py-3 px-sm-2">
@@ -48,42 +140,46 @@
48
140
  </div>
49
141
  </d>
50
142
  </div>
51
- {%- else -%}
52
- {%- if dataToShow.megaMenu -%}
53
- <div class="nav-item nav__item">
54
- <a class="dropdown-toggle ml-lg-5" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
55
- aria-haspopup="true" aria-expanded="false">
56
- {{dataToShow.megaMenu.nav-link-name}}
57
- </a>
58
- <div class="dropmenu dropdown-menu" aria-labelledby="navbarDropdown">
59
- <div class="inner-dropdown">
60
- {%- for item in dataToShow.megaMenu.dropdown -%}
61
- <div class="catPad mb-4">
62
- <li class="text-muted">{{item.categoryName}}</li>
63
- {%- for item in item.links -%}
64
- <li>
65
- <a href="{{item.url}}">
66
- {%- if item.iconSrc -%}
67
- <img class="d-inline mr-2" loading="lazy" style="height:20px;width:20px;" src="{{item.iconSrc}}" {%-
68
- if site.crossorigin -%} crossorigin {%- endif -%}>
69
- {%- endif -%}
70
- {{item.name}}</a>
71
- </li>
72
- {%- endfor -%}
73
- </div>
143
+ </div>
144
+ {%- else -%}
145
+ {%- if dataToShow.megaMenu -%}
146
+ <div class="nav-item nav__item">
147
+ <a class="dropdown-toggle ml-lg-5" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
148
+ aria-haspopup="true" aria-expanded="false">
149
+ {{dataToShow.megaMenu.nav-link-name}}
150
+ </a>
151
+ <div class="dropmenu dropdown-menu" aria-labelledby="navbarDropdown">
152
+ <div class="inner-dropdown">
153
+ {%- for item in dataToShow.megaMenu.dropdown -%}
154
+ <div class="catPad mb-4">
155
+ <li class="text-muted">{{item.categoryName}}</li>
156
+ {%- for item in item.links -%}
157
+ <li>
158
+ <a href="{{item.url}}">
159
+ {%- if item.iconSrc -%}
160
+ <img class="d-inline mr-2" loading="lazy" style="height:20px;width:20px;" src="{{item.iconSrc}}" {%-
161
+ if site.crossorigin -%} crossorigin {%- endif -%}>
162
+ {%- endif -%}
163
+ {{item.name}}</a>
164
+ </li>
74
165
  {%- endfor -%}
75
166
  </div>
167
+ {%- endfor -%}
76
168
  </div>
77
169
  </div>
78
- {%- endif -%}
79
- {%- endif -%}
80
- <div class="navbar-nav">
81
- {% for item in dataToShow.navItems %}
82
- <li class="nav-item nav__item mr-auto">
83
- <a href="{{item.url}}">{{item.name}}</a>
84
- </li>
85
- {% endfor %}
86
- </d>
87
- </div>
170
+ </div>
171
+ {%- endif -%}
172
+ {%- endif -%}
173
+ <div class="navbar-nav">
174
+ {% for item in dataToShow.navItems %}
175
+ <li class="nav-item nav__item mr-auto">
176
+ <a href="{{item.url}}">{{item.name}}</a>
177
+ </li>
178
+ {% endfor %}
179
+ </d>
180
+ </div>
181
+ </div>
88
182
  </nav>
89
- </header>
183
+ </header>
184
+
185
+ {% endif %}