Skip to content

Commit ffcb656

Browse files
committed
Replace search bar with search page for now
1 parent 23e3859 commit ffcb656

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

components/Header/Navbar.vue

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@
3232
<ul
3333
class="items-center justify-end flex-1 pr-4 -mr-4 list-reset lg:flex"
3434
>
35-
<li
36-
class="inline-block py-2 text-xl font-semibold no-underline lg:text-base lg:px-4"
37-
>
38-
<Search />
39-
</li>
4035
<li
4136
class="inline-block py-2 text-xl font-semibold no-underline lg:text-base lg:px-4"
4237
>
@@ -68,6 +63,16 @@
6863
>
6964
</NuxtLink>
7065
</li>
66+
<li
67+
class="inline-block py-2 text-xl font-semibold no-underline lg:text-base lg:px-4"
68+
>
69+
<NuxtLink to="/search">
70+
<span
71+
class="text-xl text-white no-underline lg:text-black is-active"
72+
>Search</span
73+
>
74+
</NuxtLink>
75+
</li>
7176
<li
7277
class="inline-block py-2 text-xl font-semibold no-underline lg:text-base lg:px-4"
7378
>

pages/search.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export default {
5555
indexName: process.env.AlgoliaIndexName,
5656
}),
5757
],
58+
layout: 'Layout',
5859
serverPrefetch() {
5960
return this.instantsearch.findResultsState(this).then((algoliaState) => {
6061
this.$ssrContext.nuxt.algoliaState = algoliaState

0 commit comments

Comments
 (0)