mirror of
https://github.com/ArthurDanjou/artchat.git
synced 2026-01-14 13:54:01 +01:00
feat: update CommandPalette styling and remove unused 'uses' translations for improved clarity and organization
This commit is contained in:
@@ -73,7 +73,7 @@ const commandPaletteUi = {
|
||||
:disabled="loading"
|
||||
>
|
||||
<template #trailing>
|
||||
<div class="hidden md:flex gap-1">
|
||||
<div class="hidden md:flex px-2 items-center">
|
||||
<UKbd value="enter" color="info" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -6,7 +6,7 @@ const props = defineProps({
|
||||
},
|
||||
})
|
||||
|
||||
const { t, locale } = useI18n()
|
||||
const { locale } = useI18n()
|
||||
|
||||
const { data: items } = await useAsyncData(`uses-${props.category}`, async () => await queryCollection('uses').where('category', '=', props.category).all())
|
||||
const { data: categoryData } = await useAsyncData(`category-${props.category}`, async () => await queryCollection('usesCategories').where('slug', '=', props.category).first())
|
||||
@@ -14,10 +14,7 @@ const { data: categoryData } = await useAsyncData(`category-${props.category}`,
|
||||
|
||||
<template>
|
||||
<section>
|
||||
<div class="prose dark:prose-invert">
|
||||
<p>{{ t(`uses.${props.category}`) }}</p>
|
||||
</div>
|
||||
<div v-if="items && categoryData" class="space-y-12 mt-4">
|
||||
<div v-if="items && categoryData" class="space-y-4">
|
||||
<USeparator
|
||||
:label="locale === 'en' ? categoryData.name.en : locale === 'es' ? categoryData.name.es : categoryData.name.fr"
|
||||
size="xs"
|
||||
|
||||
@@ -137,12 +137,6 @@
|
||||
"secret": "Secret Project"
|
||||
},
|
||||
"location": "I'm currently based in {location}. See below for more details.",
|
||||
"uses": {
|
||||
"hardware": "Here is a list of hardware equipment that Arthur uses",
|
||||
"software": "Here is the list of software and applications that Arthur uses",
|
||||
"homelab": "Here is a list of equipment in Arthur's Homelab",
|
||||
"ide": "Here is the list of IDEs and the font that Arthur uses"
|
||||
},
|
||||
"contact": "There are different ways to contact me. Here is a list:",
|
||||
"duplicated": {
|
||||
"title": "⚠️ I detected duplicated messages",
|
||||
|
||||
@@ -170,12 +170,6 @@
|
||||
"high": "Alto",
|
||||
"humidity": "Humedad",
|
||||
"wind": "Viento"
|
||||
},
|
||||
"uses": {
|
||||
"homelab": "Aquí hay una lista de equipos en Homelab de Arthur",
|
||||
"hardware": "Aquí hay una lista de equipos de hardware que usa Arthur",
|
||||
"software": "Aquí está la lista de software y aplicaciones que Arthur usa",
|
||||
"ide": "Aquí está la lista de IDES y la fuente que usa Arthur"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
|
||||
@@ -170,12 +170,6 @@
|
||||
"high": "Haut",
|
||||
"humidity": "Humidité",
|
||||
"wind": "Vent"
|
||||
},
|
||||
"uses": {
|
||||
"homelab": "Voici une liste d'équipements dans HomeLab d'Arthur",
|
||||
"hardware": "Voici une liste d'équipements matériels qu'Arthur utilise",
|
||||
"ide": "Voici la liste des ides et la police qu'Arthur utilise",
|
||||
"software": "Voici la liste des logiciels et applications qu'Arthur utilise"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
|
||||
Reference in New Issue
Block a user