From addb63a792651ee6afaa240eff504e1d8a0e7ffa Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Fri, 5 Sep 2025 12:51:25 +0200 Subject: [PATCH] feat: enhance navigation and content structure across chat and project components --- app/components/chat/CommandPalette.vue | 39 ++++ app/components/chat/MessageFromArthur.vue | 30 ++- app/components/post/Footer.vue | 4 +- .../post/{PostLink.vue => Link.vue} | 2 +- app/components/post/Title.vue | 25 +++ app/components/tool/Projects.vue | 16 +- app/components/tool/Writings.vue | 16 +- app/pages/projects/index.vue | 78 +++++++ app/pages/writings/index.vue | 90 ++++++++ content/writings/rag-ai-agents.md | 2 + locales/en.json | 28 ++- locales/es.json | 208 +----------------- locales/fr.json | 30 ++- 13 files changed, 337 insertions(+), 231 deletions(-) rename app/components/post/{PostLink.vue => Link.vue} (92%) create mode 100644 app/components/post/Title.vue create mode 100644 app/pages/projects/index.vue create mode 100644 app/pages/writings/index.vue diff --git a/app/components/chat/CommandPalette.vue b/app/components/chat/CommandPalette.vue index 8905d64..0344c62 100644 --- a/app/components/chat/CommandPalette.vue +++ b/app/components/chat/CommandPalette.vue @@ -80,6 +80,11 @@ function goHome() { clearMessages() router.push('/') } + +const route = useRoute() +function isRoute(name: string): boolean { + return route.path.includes(name) && route.name !== '/' +}