feat: update localization for 'about' section and remove unused chat type

This commit is contained in:
2025-09-05 15:27:56 +02:00
parent 0921cfdd53
commit b5b887673e
7 changed files with 13 additions and 28 deletions

View File

@@ -89,7 +89,7 @@ function isRoute(name: string): boolean {
<template> <template>
<nav <nav
class="fixed z-50 mb-4 md:pb-8 duration-700 mx-auto px-8 sm:px-0 flex gap-2" class="fixed z-50 mb-4 md:pb-8 duration-700 mx-auto px-8 sm:px-0 flex gap-2"
:class="active || mode === 'work' ? 'bottom-0 left-1/2 -translate-x-1/2' : 'max-w-[40rem] w-full md:bottom-1/5 left-1/2 -translate-x-1/2 bottom-0'" :class="active || mode === 'work' ? 'bottom-0 left-1/2 -translate-x-1/2' : 'max-w-[40rem] w-full md:bottom-1/6 left-1/2 -translate-x-1/2 bottom-0'"
> >
<UCard variant="outline" class="rounded-xl shadow-lg w-full" :ui="{ body: 'p-2 sm:p-2 flex gap-2 w-full' }"> <UCard variant="outline" class="rounded-xl shadow-lg w-full" :ui="{ body: 'p-2 sm:p-2 flex gap-2 w-full' }">
<UFieldGroup v-if="mode === 'chat'" class="w-full"> <UFieldGroup v-if="mode === 'chat'" class="w-full">

View File

@@ -42,7 +42,6 @@ const componentMap: Record<ChatType, Component | undefined> = {
[ChatType.PROJECTS]: ToolProjects, [ChatType.PROJECTS]: ToolProjects,
[ChatType.WRITINGS]: ToolWritings, [ChatType.WRITINGS]: ToolWritings,
[ChatType.HOBBIES]: ToolHobbies, [ChatType.HOBBIES]: ToolHobbies,
[ChatType.ABOUT]: undefined,
[ChatType.EXPERIENCES]: undefined, [ChatType.EXPERIENCES]: undefined,
[ChatType.STATUS]: undefined, [ChatType.STATUS]: undefined,
[ChatType.CREDITS]: ToolCredits, [ChatType.CREDITS]: ToolCredits,

View File

@@ -12,7 +12,7 @@ const { t } = useI18n()
<i18n-t <i18n-t
keypath="post.footer.thanks" keypath="post.footer.thanks"
tag="p" tag="p"
class="text-neutral-600 dark:text-neutral-400 text-justify" class="text-neutral-600 dark:text-neutral-400"
> >
<template #linkedin> <template #linkedin>
<PostLink <PostLink

View File

@@ -1,7 +1,7 @@
{ {
"main": { "main": {
"question": "Awesome! Tell me a bit more about you.", "question": "Awesome! Tell me a bit more about you.",
"about": "I'm a student in Mathematics and Statistics at Université Paris-Dauphine in France. With a deep understanding of emerging technologies, I'm at the heart of a rapidly expanding field. My background in mathematics gives me an edge in understanding the concepts and theories behind these technologies and designing them effectively. {space} Access the other pages directly: {links}", "about": "I am a second-year Master's student in Mathematics and Applications, specializing in Statistical Engineering and Finance Data Science, at Université Paris-Dauphine PSL in France. I focus on applied statistics, modeling, and data science, with a strong interest in data analysis, algorithms, and software implementation, aiming to contribute to practical applications of artificial intelligence in today's world. {space} With my mathematical background and understanding of emerging technologies, I am able to grasp theoretical concepts and design effective solutions in a rapidly growing field. {space} Access other pages directly: {links}",
"powered": "Powered by Nuxt" "powered": "Powered by Nuxt"
}, },
"palette": { "palette": {
@@ -73,10 +73,6 @@
"label": "Activity", "label": "Activity",
"prompt": "What are you currently doing?" "prompt": "What are you currently doing?"
}, },
"about": {
"label": "About Arthur",
"prompt": "I want you to tell me about yourself."
},
"projects": { "projects": {
"label": "Projects", "label": "Projects",
"prompt": "Tell me about your projects." "prompt": "Tell me about your projects."

View File

@@ -1,7 +1,7 @@
{ {
"main": { "main": {
"question": "¡Genial! Háblame un poco más sobre ti.", "question": "¡Genial! Háblame un poco más sobre ti.",
"about": "Soy estudiante de Matemáticas y Estadísticas en la Universidad Paris-Dauphine en Francia. Con una comprensión profunda de las tecnologías emergentes, estoy en el corazón de un campo en rápida expansión. Mi formación en matemáticas me da una ventaja para comprender los conceptos y teorías detrás de estas tecnologías y para diseñarlas de manera efectiva.", "about": "Soy estudiante de segundo año de Máster en Matemáticas y Aplicaciones, especializándome en Ingeniería Estadística y Finanzas Ciencia de Datos, en la Universi Paris-Dauphine PSL en Francia. Me especializo en estadística aplicada, modelado y ciencia de datos, con un gran interés en el análisis de datos, algoritmos e implementación de software, con el objetivo de contribuir a las aplicaciones prácticas de la inteligencia artificial en el mundo actual. {space} Gracias a mi formación en matemáticas y a mi comprensión de las tecnologías emergentes, puedo comprender conceptos teóricos y diseñar soluciones efectivas en un campo en rápido crecimiento. {space} Accede directamente a otras páginas: {links}",
"powered": "Impulsado por Nuxt" "powered": "Impulsado por Nuxt"
}, },
"palette": { "palette": {
@@ -15,14 +15,18 @@
"placeholder": "Use las flechas para navegar entre los prefacios de inmediato. Presione Entrar para enviar el mensaje.", "placeholder": "Use las flechas para navegar entre los prefacios de inmediato. Presione Entrar para enviar el mensaje.",
"send": "Enviar un mensaje", "send": "Enviar un mensaje",
"sending": "Enviando...", "sending": "Enviando...",
"chat": "Regresar a Artchat" "chat": "Regresar a Artchat",
"projects": "Ver proyectos",
"writings": "Ver artículos"
}, },
"tooltip": { "tooltip": {
"send": "Enviar un nuevo mensaje predefinido", "send": "Enviar un nuevo mensaje predefinido",
"clear": "Eliminar todos los mensajes", "clear": "Eliminar todos los mensajes",
"theme": "Cambiar el tema", "theme": "Cambiar el tema",
"language": "Cambiar la language", "language": "Cambiar la language",
"chat": "Vuelve a ArtChat para reanudar la conversación" "chat": "Vuelve a ArtChat para reanudar la conversación",
"projects": "Descubre otros proyectos",
"writings": "Leer más artículos"
} }
}, },
"command": { "command": {
@@ -53,10 +57,7 @@
"label": "Actividad", "label": "Actividad",
"prompt": "¿Qué estás haciendo actualmente?" "prompt": "¿Qué estás haciendo actualmente?"
}, },
"about": { "about": {},
"label": "Sobre Arthur",
"prompt": "Quiero que me hables de ti."
},
"projects": { "projects": {
"label": "Proyectos", "label": "Proyectos",
"prompt": "Háblame de tus proyectos." "prompt": "Háblame de tus proyectos."

View File

@@ -1,7 +1,7 @@
{ {
"main": { "main": {
"question": "Génial ! Parle moi un peu plus de toi.", "question": "Génial ! Parle moi un peu plus de toi.",
"about": "Je suis étudiant en Mathématiques et en Statistiques à l'Université Paris-Dauphine en France. Avec une compréhension approfondie des technologies émergentes, je suis au cœur d'un domaine en pleine expansion. Mon parcours en mathématiques me donne un avantage pour comprendre les concepts et les théories derrière ces technologies et pour les concevoir efficacement. {space} Accédez directement aux autres pages: {links}", "about": "Je suis étudiant en deuxième année de Master Mathématiques et Applications, parcours Ingénierie Statistique et Finance Data Science, à lUniversité Paris-Dauphine PSL en France. Je me spécialise en statistique appliquée, modélisation et data science, avec un intérêt marqué pour lanalyse de données, lalgorithmique et limplémentation logicielle, afin de contribuer aux applications concrètes de lintelligence artificielle dans notre monde actuel. {space} Grâce à ma formation en mathématiques et à ma compréhension des technologies émergentes, je suis capable de saisir les concepts théoriques et de concevoir des solutions efficaces dans un domaine en pleine expansion. {space} Accédez directement aux autres pages : {links}",
"powered": "Propulsé par Nuxt" "powered": "Propulsé par Nuxt"
}, },
"palette": { "palette": {
@@ -57,10 +57,7 @@
"label": "Activité", "label": "Activité",
"prompt": "Que fais-tu actuellement ?" "prompt": "Que fais-tu actuellement ?"
}, },
"about": { "about": {},
"label": "A propos d'Arthur",
"prompt": "Je veux que tu me parles de toi."
},
"projects": { "projects": {
"label": "Projets", "label": "Projets",
"prompt": "Je veux que tu me parles de tes projets." "prompt": "Je veux que tu me parles de tes projets."

View File

@@ -4,7 +4,6 @@ export enum ChatType {
LOCATION = 'location', LOCATION = 'location',
THEME = 'theme', THEME = 'theme',
LANGUAGE = 'language', LANGUAGE = 'language',
ABOUT = 'about',
PROJECTS = 'projects', PROJECTS = 'projects',
WRITINGS = 'writings', WRITINGS = 'writings',
EXPERIENCES = 'experiences', EXPERIENCES = 'experiences',
@@ -123,13 +122,6 @@ export const ChatMessages = [
prompt: 'command.credits.prompt', prompt: 'command.credits.prompt',
type: ChatType.CREDITS, type: ChatType.CREDITS,
}, },
{
label: 'command.about.label',
icon: 'i-ph-person-arms-spread-duotone',
prompt: 'command.about.prompt',
type: ChatType.ABOUT,
fetchStates: [ChatFetchState.CHECKING],
},
{ {
label: 'command.projects.label', label: 'command.projects.label',
icon: 'i-ph-code-duotone', icon: 'i-ph-code-duotone',