From 657e2d331ea6e1a6033f5da6a3e28dd280a1c9ca Mon Sep 17 00:00:00 2001 From: "Fabian @ Blax Software" Date: Wed, 28 Oct 2026 19:58:42 +0100 Subject: [PATCH] feat: map links from the header, worlds and village; world, continent and points in the village state Co-Authored-By: Claude Opus 5.5 --- app/app.vue | 8 +++++- app/mock/server.ts | 58 ++++++++++++++++++++++++++++++++++++++ app/pages/village/[id].vue | 16 +++++++++-- app/pages/worlds.vue | 1 + app/types/game.ts | 5 ++++ i18n/locales/en.ts | 1 + i18n/pages/village.ts | 2 ++ i18n/pages/worlds.ts | 1 + 8 files changed, 88 insertions(+), 4 deletions(-) diff --git a/app/app.vue b/app/app.vue index 2f74a72..ffa64ee 100644 --- a/app/app.vue +++ b/app/app.vue @@ -2,6 +2,8 @@ const { t } = useI18n() const { user, logout } = useAuth() const notices = useNotices() +/** The world of the village or map on screen, for the Map link. */ +const currentWorld = useState('world.current', () => null) const connection = computed(() => isMockServer @@ -32,11 +34,15 @@ useHead({ title: () => t('app.title') }) -