feat(tags) added in CSI Products
This commit is contained in:
+2
-2
@@ -2,7 +2,7 @@
|
||||
"name": "speckle-starter-theme",
|
||||
"description": "A custom theme for speckle",
|
||||
"demo": "https://starter.ghost.io",
|
||||
"version": "2.4.3",
|
||||
"version": "2.4.4",
|
||||
"engines": {
|
||||
"ghost": ">=3.0.0",
|
||||
"ghost-api": "v3"
|
||||
@@ -97,4 +97,4 @@
|
||||
"swiper": "^6.7.0",
|
||||
"tailwindcss": "^2.2.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,7 @@
|
||||
us:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm rounded-md">
|
||||
<option value="Select a connector">From</option>
|
||||
{{#get "tags" limit="all" include='count.posts' order='count.posts desc'
|
||||
filter="slug:[rhino,grasshopper,revit,dynamo,excel,blender,autocad,civil3d,unity,unreal,etabs,qgis,topsolid,powerbi,sketchup,openroads,microstation,openbuildings,teklastructures]"}}
|
||||
filter="slug:[rhino,grasshopper,revit,dynamo,excel,blender,autocad,civil3d,unity,unreal,etabs,sap2000,csibridge,safe,qgis,topsolid,powerbi,sketchup,openroads,microstation,openbuildings,teklastructures]"}}
|
||||
{{#foreach tags }}
|
||||
<option value="{{name}}">{{name}}</option>
|
||||
{{/foreach}}
|
||||
@@ -17,7 +17,7 @@
|
||||
class="inline-block sm:w-auto mt-1 pl-3 mx-3 pr-10 py-2 text-base font-extrabold shadow-lg text-white bg-blue-500 dark:bg-blue-900 border-gray-300 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm rounded-md">
|
||||
<option value="Select a connector">To </option>
|
||||
{{#get "tags" limit="all" include='count.posts' order='count.posts desc'
|
||||
filter="slug:[rhino,grasshopper,revit,dynamo,excel,blender,autocad,civil3d,unity,unreal,etabs,qgis,topsolid,powerbi,sketchup,openroads,microstation,openbuildings,teklastructures]"}}
|
||||
filter="slug:[rhino,grasshopper,revit,dynamo,excel,blender,autocad,civil3d,unity,unreal,etabs,sap2000,csibridge,safe,qgis,topsolid,powerbi,sketchup,openroads,microstation,openbuildings,teklastructures]"}}
|
||||
{{#foreach tags }}
|
||||
<option value="{{name}}">{{name}}</option>
|
||||
{{/foreach}}
|
||||
@@ -34,7 +34,7 @@
|
||||
<div class="relative flex items-center w-default mt-4 text-white"></div>
|
||||
<div class="w-default pt-10 grid grid-cols-2 gap-0 gap-y-2 md:gap-6">
|
||||
{{#get "tags" limit="all" include='count.posts' order='count.posts desc'
|
||||
filter="slug:[rhino,grasshopper,revit,dynamo,excel,blender,autocad,civil3d,unity,unreal,etabs,qgis,topsolid,powerbi,sketchup,openroads,microstation,openbuildings,teklastructures]"}}
|
||||
filter="slug:[rhino,grasshopper,revit,dynamo,excel,blender,autocad,civil3d,unity,unreal,etabs,sap2000,csibridge,safe,qgis,topsolid,powerbi,sketchup,openroads,microstation,openbuildings,teklastructures]"}}
|
||||
{{#foreach tags }}
|
||||
<a href="{{url}}" class="group p-2 py-5 col-span-2 md:col-span-1 flex flex-row
|
||||
shadow-sm hover:shadow-xl transition-shadow hover:ring dark:bg-gray-900 bg-white rounded-xl connector-card connector-{{name}}
|
||||
@@ -108,7 +108,7 @@
|
||||
filterCards()
|
||||
document.getElementById('clearbutton').style.display = 'none'
|
||||
document.getElementById('tipcontainer').style.display = 'none'
|
||||
|
||||
|
||||
document.getElementById('search-bar').value = ''
|
||||
document.getElementById('search-bar').dispatchEvent(new Event('keyup'))
|
||||
}
|
||||
@@ -193,9 +193,9 @@
|
||||
firstTag: "tutorials"
|
||||
},
|
||||
},
|
||||
onSearchEnd: function (posts) {
|
||||
onSearchEnd: function (posts) {
|
||||
console.log(posts.length)
|
||||
if( posts.length !== 0 ) {
|
||||
if (posts.length !== 0) {
|
||||
document.getElementById('some-tutorials').style.display = 'block'
|
||||
} else {
|
||||
document.getElementById('some-tutorials').style.display = 'none'
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<div class="swiper-container connector-swiper">
|
||||
<div class="swiper-wrapper mb-10">
|
||||
{{#get "tags" limit="all" include='count.posts' order='count.posts desc'
|
||||
filter="slug:[rhino,grasshopper,revit,dynamo,excel,blender,autocad,civil3d,unity,unreal,etabs,qgis,topsolid,powerbi,sketchup,openroads,microstation,openbuildings,teklastructures]"}}
|
||||
filter="slug:[rhino,grasshopper,revit,dynamo,excel,blender,autocad,civil3d,unity,unreal,etabs,sap2000,csibridge,safe,qgis,topsolid,powerbi,sketchup,openroads,microstation,openbuildings,teklastructures]"}}
|
||||
{{#foreach tags }}
|
||||
<a href="{{url}}"
|
||||
class="swiper-slide group dark:text-gray-200 text-gray-600 p-2 text-center content-center flex flex-wrap justify-center">
|
||||
|
||||
Reference in New Issue
Block a user