Skip to content

Commit

Permalink
chore: remove search
Browse files Browse the repository at this point in the history
  • Loading branch information
itsacoyote committed May 20, 2024
1 parent 16b9429 commit 8458e77
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
14 changes: 0 additions & 14 deletions app.vue
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
<script setup lang="ts">
import type { ParsedContent } from '@nuxt/content/dist/runtime/types';
const { seo } = useAppConfig();
const { data: navigation } = await useAsyncData('navigation', () => fetchContentNavigation());
provide('navigation', navigation);
const { data: files } = useLazyFetch<ParsedContent[]>('/api/search.json', {
default: () => [],
server: false,
});
useHead({
meta: [
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
Expand Down Expand Up @@ -61,13 +54,6 @@ defineOgImageComponent('OgImageZK');

<FooterComponent />

<ClientOnly>
<LazyUContentSearch
:files="files"
:navigation="navigation || []"
/>
</ClientOnly>

<UNotifications />
</div>
</template>
7 changes: 0 additions & 7 deletions server/api/search.json.get.ts

This file was deleted.

0 comments on commit 8458e77

Please sign in to comment.