Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions app/components/AppHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,7 @@ onKeyStroke(',', e => {
<div class="flex-1 flex items-center justify-center gap-4 sm:gap-6">
<!-- Search bar (shown on all pages except home and search) -->
<search v-if="showSearchBar" class="hidden sm:block flex-1 max-w-md">
<form
role="search"
method="GET"
action="/search"
class="relative"
@submit.prevent="handleSearchInput"
>
<form method="GET" action="/search" class="relative" @submit.prevent="handleSearchInput">
<label for="header-search" class="sr-only">
{{ $t('search.label') }}
</label>
Expand Down
8 changes: 1 addition & 7 deletions app/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,7 @@ defineOgImageComponent('Default')
class="w-full max-w-xl motion-safe:animate-slide-up motion-safe:animate-fill-both"
style="animation-delay: 0.2s"
>
<form
role="search"
method="GET"
action="/search"
class="relative"
@submit.prevent="handleSearch"
>
<form method="GET" action="/search" class="relative" @submit.prevent="handleSearch">
<label for="home-search" class="sr-only">
{{ $t('search.label') }}
</label>
Expand Down
2 changes: 1 addition & 1 deletion app/pages/search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ defineOgImageComponent('Default', {
<h1 class="font-mono text-xl sm:text-2xl font-medium mb-4">{{ $t('nav.search') }}</h1>

<search>
<form role="search" method="GET" action="/search" class="relative" @submit.prevent>
<form method="GET" action="/search" class="relative" @submit.prevent>
<label for="search-input" class="sr-only">{{ $t('search.label') }}</label>

<div class="relative group" :class="{ 'is-focused': isSearchFocused }">
Expand Down
Loading