Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/gohugoioTheme2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/sections/nav/search.html')
-rw-r--r--layouts/partials/sections/nav/search.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layouts/partials/sections/nav/search.html b/layouts/partials/sections/nav/search.html
new file mode 100644
index 0000000..fe47ff6
--- /dev/null
+++ b/layouts/partials/sections/nav/search.html
@@ -0,0 +1,21 @@
+<div class="relative my-2" x-data="searchController" id="search-main">
+ <div>
+ <button
+ @click="toggleOpen()"
+ class="nightwind-prevent inline-flex items-center p-2 border border-transparent rounded-full shadow-sm text-black bg-blue-400 hover:bg-blue-600 hover:text-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-steel-500">
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ class="h-6 w-6"
+ fill="none"
+ viewBox="0 0 24 24"
+ stroke="currentColor"
+ stroke-width="2">
+ <path
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" />
+ </svg>
+ </button>
+ {{ partial "sections/nav/search-results.html" . }}
+ </div>
+</div>