2026-10-28 18:04:20 +00:00
|
|
|
<script setup lang="ts">
|
feat: rally point, troop movements, support, reports, scouts, battle simulator and village rename
Send attacks and support from the rally point with a live travel-time preview, see own
commands and spotted incoming attacks with countdowns and call-back, send support home
or withdraw it, read battle and support reports with an unread badge, run the battle
simulator, rename villages, and send troops straight from the map. The watchtower gets
a diorama model; the mock server answers every new intent.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 23:16:06 +00:00
|
|
|
export type UiIconName =
|
|
|
|
|
| 'close'
|
|
|
|
|
| 'clock'
|
|
|
|
|
| 'hammer'
|
|
|
|
|
| 'up'
|
|
|
|
|
| 'minus'
|
|
|
|
|
| 'plus'
|
|
|
|
|
| 'pin'
|
|
|
|
|
| 'users'
|
|
|
|
|
| 'globe'
|
|
|
|
|
| 'logout'
|
|
|
|
|
| 'attack'
|
|
|
|
|
| 'support'
|
|
|
|
|
| 'return'
|
|
|
|
|
| 'report'
|
|
|
|
|
| 'eye'
|
|
|
|
|
| 'edit'
|
2026-10-28 23:38:54 +00:00
|
|
|
| 'home'
|
2026-10-29 09:15:36 +00:00
|
|
|
| 'book'
|
2026-10-28 18:04:20 +00:00
|
|
|
|
|
|
|
|
defineProps<{ name: UiIconName }>()
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<!-- Interface glyphs in currentColor. -->
|
|
|
|
|
<template>
|
|
|
|
|
<svg
|
|
|
|
|
viewBox="0 0 24 24"
|
|
|
|
|
fill="none"
|
|
|
|
|
stroke="currentColor"
|
|
|
|
|
stroke-width="2"
|
|
|
|
|
stroke-linecap="round"
|
|
|
|
|
stroke-linejoin="round"
|
|
|
|
|
aria-hidden="true"
|
|
|
|
|
class="shrink-0"
|
|
|
|
|
>
|
|
|
|
|
<path v-if="name === 'close'" d="M6 6l12 12M18 6L6 18" />
|
|
|
|
|
<g v-else-if="name === 'clock'">
|
|
|
|
|
<circle cx="12" cy="12" r="9" />
|
|
|
|
|
<path d="M12 7v5l3 2" />
|
|
|
|
|
</g>
|
|
|
|
|
<g v-else-if="name === 'hammer'">
|
|
|
|
|
<path d="M14 7l-9.5 9.5a1.8 1.8 0 0 0 2.5 2.5L16.5 9.5" />
|
|
|
|
|
<path d="M12.5 5.5l3-3 6 6-3 3z" />
|
|
|
|
|
</g>
|
|
|
|
|
<path v-else-if="name === 'up'" d="M12 19V5M6 11l6-6 6 6" />
|
|
|
|
|
<path v-else-if="name === 'minus'" d="M6 12h12" />
|
|
|
|
|
<path v-else-if="name === 'plus'" d="M12 6v12M6 12h12" />
|
|
|
|
|
<g v-else-if="name === 'pin'">
|
|
|
|
|
<path d="M12 21s-6-5.5-6-11a6 6 0 0 1 12 0c0 5.5-6 11-6 11z" />
|
|
|
|
|
<circle cx="12" cy="10" r="2" />
|
|
|
|
|
</g>
|
|
|
|
|
<g v-else-if="name === 'users'">
|
|
|
|
|
<circle cx="9" cy="8" r="3.5" />
|
|
|
|
|
<path d="M2.5 20c.5-3.5 3-5.5 6.5-5.5s6 2 6.5 5.5" />
|
|
|
|
|
<path d="M16 4.5a3.5 3.5 0 0 1 0 7M18 14.5c2 .6 3.2 2.5 3.5 5.5" />
|
|
|
|
|
</g>
|
|
|
|
|
<g v-else-if="name === 'globe'">
|
|
|
|
|
<circle cx="12" cy="12" r="9" />
|
|
|
|
|
<path d="M3 12h18M12 3c2.5 2.7 3.8 5.7 3.8 9s-1.3 6.3-3.8 9c-2.5-2.7-3.8-5.7-3.8-9S9.5 5.7 12 3z" />
|
|
|
|
|
</g>
|
feat: rally point, troop movements, support, reports, scouts, battle simulator and village rename
Send attacks and support from the rally point with a live travel-time preview, see own
commands and spotted incoming attacks with countdowns and call-back, send support home
or withdraw it, read battle and support reports with an unread badge, run the battle
simulator, rename villages, and send troops straight from the map. The watchtower gets
a diorama model; the mock server answers every new intent.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 23:16:06 +00:00
|
|
|
<g v-else-if="name === 'attack'">
|
|
|
|
|
<path d="M4 4l10 10M4 4h3l9 9M4 4v3l9 9" />
|
|
|
|
|
<path d="M13 17l4-4M15 19l4-4M17 17l3 3" />
|
|
|
|
|
</g>
|
|
|
|
|
<g v-else-if="name === 'support'">
|
|
|
|
|
<path d="M12 3l7 3v5c0 4.5-3 8-7 10-4-2-7-5.5-7-10V6z" />
|
|
|
|
|
</g>
|
|
|
|
|
<g v-else-if="name === 'return'">
|
|
|
|
|
<path d="M9 14l-5-5 5-5" />
|
|
|
|
|
<path d="M4 9h10a6 6 0 0 1 0 12h-3" />
|
|
|
|
|
</g>
|
|
|
|
|
<g v-else-if="name === 'report'">
|
|
|
|
|
<path d="M6 3h9l4 4v14H6z" />
|
|
|
|
|
<path d="M14 3v5h5M9 12h7M9 16h7" />
|
|
|
|
|
</g>
|
2026-10-28 23:38:54 +00:00
|
|
|
<g v-else-if="name === 'home'">
|
|
|
|
|
<path d="M3 11l9-7 9 7" />
|
|
|
|
|
<path d="M5 10v10h14V10M10 20v-6h4v6" />
|
|
|
|
|
</g>
|
feat: rally point, troop movements, support, reports, scouts, battle simulator and village rename
Send attacks and support from the rally point with a live travel-time preview, see own
commands and spotted incoming attacks with countdowns and call-back, send support home
or withdraw it, read battle and support reports with an unread badge, run the battle
simulator, rename villages, and send troops straight from the map. The watchtower gets
a diorama model; the mock server answers every new intent.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 23:16:06 +00:00
|
|
|
<path v-else-if="name === 'edit'" d="M4 20l1-4L16 5l3 3L8 19zM14 7l3 3" />
|
2026-10-29 09:15:36 +00:00
|
|
|
<g v-else-if="name === 'book'">
|
|
|
|
|
<path d="M4 5a2 2 0 0 1 2-2h13v16H6a2 2 0 0 0-2 2z" />
|
|
|
|
|
<path d="M4 21V5M8 7h7M8 11h5" />
|
|
|
|
|
</g>
|
feat: rally point, troop movements, support, reports, scouts, battle simulator and village rename
Send attacks and support from the rally point with a live travel-time preview, see own
commands and spotted incoming attacks with countdowns and call-back, send support home
or withdraw it, read battle and support reports with an unread badge, run the battle
simulator, rename villages, and send troops straight from the map. The watchtower gets
a diorama model; the mock server answers every new intent.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 23:16:06 +00:00
|
|
|
<g v-else-if="name === 'eye'">
|
|
|
|
|
<path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z" />
|
|
|
|
|
<circle cx="12" cy="12" r="3" />
|
|
|
|
|
</g>
|
2026-10-28 18:04:20 +00:00
|
|
|
<g v-else>
|
|
|
|
|
<path d="M15 4h3a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-3" />
|
|
|
|
|
<path d="M10 16l-4-4 4-4M6 12h10" />
|
|
|
|
|
</g>
|
|
|
|
|
</svg>
|
|
|
|
|
</template>
|