Skip to content

Commit db2a6ed

Browse files
committed
feat: add base target=_blank to head
1 parent 44d5376 commit db2a6ed

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

app/components/Search.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ async function handleItemClick(item: SearchItem) {
178178

179179
<ComboboxAnchor as="div" inset-x-0 top-0 absolute z-60>
180180
<div mt-12 px-12 w-screen relative>
181-
<ComboboxInput ref="search-input" v-model="searchQuery" outline="0.5 neutral-400" name="search" placeholder="Search here" v-bind="$attrs" text-neutral px-47 py-6 rounded-full bg-neutral-0 w-full shadow transition-colors />
182-
<button p-0 border-0 bg-transparent cursor-pointer translate-y-9.5 left-24 top-0 absolute @click="handleClose">
183-
<Icon v-if="!isComboboxOpen" name="i-nimiq:logos-crypto-map" size-18 />
181+
<ComboboxInput ref="search-input" v-model="searchQuery" outline="0.5 neutral-400" name="search" placeholder="Search here" v-bind="$attrs" text-neutral px-47 py-10 rounded-full bg-neutral-0 w-full shadow transition-colors />
182+
<button p-0 border-0 bg-transparent cursor-pointer translate-y-13.5 left-24 top-0 absolute @click="handleClose">
183+
<Icon v-if="!isComboboxOpen" name="i-tabler:search" op-70 size-18 />
184184
<Icon v-else name="i-tabler:arrow-left" op-70 size-18 />
185185
</button>
186186
<ComboboxCancel v-if="searchQuery.length > 0 || query || category" as-child translate-y-0 right-16 top-0 absolute>

nuxt.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ import { defineNuxtConfig } from 'nuxt/config'
55
import * as v from 'valibot'
66

77
export default defineNuxtConfig({
8+
app: {
9+
head: {
10+
base: { target: '_blank' },
11+
},
12+
},
813
modules: [
914
'@nuxthub/core-nightly',
1015
'@unocss/nuxt',

pnpm-lock.yaml

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)