Skip to content

Commit 04ce205

Browse files
feat: make title visible for everybody
1 parent 221f650 commit 04ce205

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

app/pages/search.vue

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -588,10 +588,12 @@ defineOgImageComponent('Default', {
588588
</script>
589589

590590
<template>
591-
<main class="flex-1" :class="{ 'overflow-x-hidden': viewMode !== 'table' }">
592-
<h1 class="sr-only">{{ $t('search.results') }}</h1>
593-
<!-- Results area with container padding -->
594-
<div class="container-sm py-6">
591+
<main class="flex-1 py-8" :class="{ 'overflow-x-hidden': viewMode !== 'table' }">
592+
<div class="container-sm">
593+
<h1 class="font-mono text-2xl sm:text-3xl font-medium mb-4">
594+
{{ $t('search.title') }}
595+
</h1>
596+
595597
<section v-if="query">
596598
<!-- Initial loading (only after user interaction, not during view transition) -->
597599
<LoadingSpinner v-if="showSearching" :text="$t('search.searching')" />

i18n/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"found_packages": "No packages found | Found 1 package | Found {count} packages",
2828
"updating": "(updating...)",
2929
"no_results": "No packages found for \"{query}\"",
30-
"results": "Search results",
30+
"title": "Search",
3131
"not_taken": "{name} is not taken",
3232
"claim_prompt": "Claim this package name on npm",
3333
"claim_button": "Claim \"{name}\"",

i18n/locales/it-IT.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"found_packages": "Trovati {count} pacchetti",
2525
"updating": "(aggiornando...)",
2626
"no_results": "Nessun pacchetto trovato per \"{query}\"",
27-
"results": "Risultati della ricerca",
27+
"title": "Cerca",
2828
"not_taken": "{name} è disponibile",
2929
"claim_prompt": "Ottieni il nome di questo pacchetto su npm",
3030
"claim_button": "Ottieni \"{name}\"",

0 commit comments

Comments
 (0)