appscms-tools-theme 4.8.8 → 4.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,84 +1,111 @@
1
- ---
2
- ---
3
-
4
- const features= [
5
- {
6
- "name": "Appscms feature",
7
- "description": "Appscms feature layout with new design",
8
- "color": "#1A2EE7",
9
- "icon": "/assets/images/digipaint.svg",
10
- "url": "/appscms-feature"
11
- },
12
- {
13
- "name": "Appscms feature",
14
- "description": "Appscms feature layout with new design",
15
- "color": "#1A2EE7",
16
- "icon": "/assets/images/digipaint.svg",
17
- "url": "/appscms-feature"
18
- },
19
- {
20
- "name": "Appscms feature",
21
- "description": "Appscms feature layout with new design",
22
- "color": "#1A2EE7",
23
- "icon": "/assets/images/digipaint.svg",
24
- "url": "/appscms-feature"
25
- },
26
- {
27
- "name": "Appscms feature",
28
- "description": "Appscms feature layout with new design",
29
- "color": "#1A2EE7",
30
- "icon": "/assets/images/digipaint.svg",
31
- "url": "/appscms-feature"
32
- },
1
+ const features = [
33
2
  {
34
- "name": "Appscms home",
35
- "description": "Appscms feature layout with new design",
36
- "color": "#1A2EE7",
37
- "icon": "/assets/images/digipaint.svg",
38
- "url": "/appscms-feature"
3
+ category: "All Tools",
4
+ active: true,
5
+ type: "tab",
6
+ display: "block",
7
+ features: [
8
+ {
9
+ name: "All tools",
10
+ description: "Appscms feature layout with new design",
11
+ color: "linear-gradient(148deg, #835af2 20%, #1220d8 100%)",
12
+ icon: "/assets/images/digipaint.svg",
13
+ url: "/appscms-feature",
14
+ },
15
+ {
16
+ name: "feature",
17
+ description: "Appscms feature layout with new design",
18
+ color: "linear-gradient(148deg, #31d3bd 20%, #187cca 100%)",
19
+ icon: "/assets/images/digipaint.svg",
20
+ url: "/appscms-feature",
21
+ },
22
+ {
23
+ name: "Ai",
24
+ description: "Appscms feature layout with new design",
25
+ color: "linear-gradient(148deg, #32a0f7 20%, #114793 100%)",
26
+ icon: "/assets/images/digipaint.svg",
27
+ url: "/appscms-feature",
28
+ },
29
+ {
30
+ name: "All tools",
31
+ description: "Appscms feature layout with new design",
32
+ color: "linear-gradient(148deg, #ffa16b 20%, #db410a 100%)",
33
+ icon: "/assets/images/digipaint.svg",
34
+ url: "/appscms-feature",
35
+ },
36
+ {
37
+ name: "All tools",
38
+ description: "Appscms feature layout with new design",
39
+ color: "#1A2EE7",
40
+ icon: "/assets/images/digipaint.svg",
41
+ url: "/appscms-feature",
42
+ },
43
+ ],
39
44
  },
40
45
  {
41
- "name": "Appscms home",
42
- "description": "Appscms feature layout with new design",
43
- "color": "#1A2EE7",
44
- "icon": "/assets/images/digipaint.svg",
45
- "url": "/appscms-feature"
46
+ category: "Calculators",
47
+ type: "tab",
48
+ active: false,
49
+ display: "none",
50
+ features: [
51
+ {
52
+ name: "Calculators",
53
+ description: "Appscms feature layout with new design",
54
+ color: "#1A2EE7",
55
+ icon: "/assets/images/digipaint.svg",
56
+ url: "/appscms-feature",
57
+ },
58
+ {
59
+ name: "Calculators",
60
+ description: "Appscms feature layout with new design",
61
+ color: "#1A2EE7",
62
+ icon: "/assets/images/digipaint.svg",
63
+ url: "/appscms-feature",
64
+ },
65
+ {
66
+ name: "Calculators",
67
+ description: "Appscms feature layout with new design",
68
+ color: "#1A2EE7",
69
+ icon: "/assets/images/digipaint.svg",
70
+ url: "/appscms-feature",
71
+ },
72
+ {
73
+ name: "Calculators",
74
+ description: "Appscms feature layout with new design",
75
+ color: "#1A2EE7",
76
+ icon: "/assets/images/digipaint.svg",
77
+ url: "/appscms-feature",
78
+ },
79
+ ],
46
80
  },
47
81
  {
48
- "name": "Appscms home",
49
- "description": "Appscms feature layout with new design",
50
- "color": "#1A2EE7",
51
- "icon": "/assets/images/digipaint.svg",
52
- "url": "/appscms-feature"
82
+ category: "Calculators",
83
+ type: "link",
84
+ link: "/tools",
85
+ features: [],
53
86
  },
54
- {
55
- "name": "Appscms home",
56
- "description": "Appscms feature layout with new design",
57
- "color": "#1A2EE7",
58
- "icon": "/assets/images/digipaint.svg",
59
- "url": "/appscms-feature"
60
- },
61
- {
62
- "name": "Appscms home",
63
- "description": "Appscms feature layout with new design",
64
- "color": "#1A2EE7",
65
- "icon": "/assets/images/digipaint.svg",
66
- "url": "/appscms-feature"
67
- }
68
- ]
69
- const featureList= document.querySelector('#appscms-tools-section-row')
70
- const renderFeatures=(query)=> {
87
+ ];
88
+
89
+ const featureList = document.querySelector("#appscms-tools-section-row");
90
+
91
+ const renderFeatures = (query) => {
71
92
  featureList.innerHTML = "";
72
- const filteredFeatures = features.filter(feature => feature.name.toLowerCase().includes(query.toLowerCase()));
73
- if (filteredFeatures.length>0) {
74
- filteredFeatures.forEach(item => {
75
- const listItem = document.createElement("div");
76
- const classNames = "col-xl-4 col-lg-6 col-md-6 appscms-tool-container";
77
- let classList = classNames.split(" ");
78
- classList.forEach(function(className) {
79
- listItem.classList.add(className);
80
- });
81
- listItem.innerHTML = `
93
+
94
+ features.forEach((category) => {
95
+ const filteredFeatures = category.features.filter((feature) =>
96
+ feature.name.toLowerCase().includes(query.toLowerCase())
97
+ );
98
+
99
+ if (filteredFeatures.length > 0) {
100
+ filteredFeatures.forEach((item) => {
101
+ const listItem = document.createElement("div");
102
+ const classNames = "col-xl-4 col-lg-6 col-md-6 appscms-tool-container";
103
+ listItem.classList.add(...classNames.split(" "));
104
+
105
+ // Adding data-category attribute
106
+ listItem.dataset.category = category.category;
107
+
108
+ listItem.innerHTML = `
82
109
  <a href="${item.url}">
83
110
  <div class="appscms-tool">
84
111
  <div class="tool-top" style="background: ${item.color};">
@@ -90,20 +117,22 @@ const renderFeatures=(query)=> {
90
117
  <div class="tool-heading">${item.name}</div>
91
118
  </div>
92
119
  </a>
93
- `;
94
- featureList.appendChild(listItem);
120
+ `;
121
+ featureList.appendChild(listItem);
122
+ });
123
+ }
95
124
  });
96
- } else {
97
- let msg=document.createElement('div')
98
- msg.classList.add('no-result-found-msg')
99
- msg.innerHTML="No search results found!"
100
- featureList.appendChild(msg)
125
+
126
+ if (featureList.innerHTML === "") {
127
+ let msg = document.createElement("div");
128
+ msg.classList.add("no-result-found-msg");
129
+ msg.innerHTML = "No search results found!";
130
+ featureList.appendChild(msg);
101
131
  }
102
-
103
- }
104
- const searchInput= document.querySelector('#search-features')
132
+ };
133
+
134
+ const searchInput = document.querySelector("#search-features");
105
135
  searchInput.addEventListener("input", function () {
106
- console.log('ok')
107
136
  const query = searchInput.value.trim();
108
137
  renderFeatures(query);
109
138
  });
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: 4.8.8
4
+ version: 4.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-25 00:00:00.000000000 Z
11
+ date: 2024-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -73,6 +73,7 @@ files:
73
73
  - _data/customcdns/customcdns.yml
74
74
  - _data/disclaimer/en/disclaimer.json
75
75
  - _data/download/en/download.json
76
+ - _data/feature/.DS_Store
76
77
  - _data/feature/en/3_shop_posters.json
77
78
  - _data/feature/en/allele-frequency.json
78
79
  - _data/feature/en/batch-conversion.json
@@ -88,6 +89,7 @@ files:
88
89
  - _data/footer/en/data.json
89
90
  - _data/footer/hi/data.json
90
91
  - _data/footer/networksites.json
92
+ - _data/header/.DS_Store
91
93
  - _data/header/en/data.json
92
94
  - _data/header/hi/data.json
93
95
  - _data/help/en/help.json
@@ -103,6 +105,7 @@ files:
103
105
  - _data/photoeffects.json
104
106
  - _data/privacy/en/privacyPolicy.json
105
107
  - _data/rating/rating.json
108
+ - _data/review/trustpilot.json
106
109
  - _data/termAndCondition/en/termAndCondition.json
107
110
  - _includes/.DS_Store
108
111
  - _includes/Rating/rating.html
@@ -111,6 +114,7 @@ files:
111
114
  - _includes/adblocker.html
112
115
  - _includes/adsense/adsense.html
113
116
  - _includes/alternates/alternates.html
117
+ - _includes/appscms/.DS_Store
114
118
  - _includes/appscms/category-tabs/category-tabs.html
115
119
  - _includes/appscms/customblog/contenttool-recent-posts.html
116
120
  - _includes/appscms/customblog/pageRelatedPosts.html
@@ -144,6 +148,7 @@ files:
144
148
  - _includes/appscms/navbars/toolbar.html
145
149
  - _includes/appscms/recent-posts/recent_posts.html
146
150
  - _includes/appscms/recent-posts/related_categories_post.html
151
+ - _includes/appscms/reviews/trustpilot.html
147
152
  - _includes/appscms/scripts/script.html
148
153
  - _includes/appscms/searchbar/devtool-searchbar.html
149
154
  - _includes/appscms/searchbar/searchbar.html
@@ -186,6 +191,7 @@ files:
186
191
  - _includes/paginationPostPage.html
187
192
  - _includes/postauthorbio.html
188
193
  - _includes/postbox.html
194
+ - _includes/review/trustpilot.html
189
195
  - _includes/script.html
190
196
  - _includes/section/alertbar.html
191
197
  - _includes/section/count.html