From 0c02723b00a6a0108422540156bcff040b16269b Mon Sep 17 00:00:00 2001 From: "Fabian @ Blax Software" Date: Wed, 28 Oct 2026 21:18:57 +0100 Subject: [PATCH] feat: one construction table for upgrades and new buildings, demolition tab, dense workforce table Co-Authored-By: Claude Opus 5.5 --- app/components/ui/Cost.vue | 4 +- app/components/village/BuildForm.vue | 257 +++++++++++++++++------ app/components/village/BuildingTable.vue | 187 ++++++++--------- app/pages/village/[id].vue | 14 +- app/types/game.ts | 2 +- i18n/pages/village.ts | 14 +- 6 files changed, 296 insertions(+), 182 deletions(-) diff --git a/app/components/ui/Cost.vue b/app/components/ui/Cost.vue index dbe32a3..2a5ee43 100644 --- a/app/components/ui/Cost.vue +++ b/app/components/ui/Cost.vue @@ -5,13 +5,15 @@ defineProps<{ cost: Cost /** Projected stock; amounts the village lacks show in red. */ have?: Resources | null + /** Keep the three amounts on one line, for table cells. */ + nowrap?: boolean }>() const list = ['wood', 'clay', 'iron'] as const