feat: render app version in bottom-left footer

This commit is contained in:
2026-05-04 20:08:24 -03:00
committed by hueso
parent d63cb8c6d3
commit 98c6e04a16
3 changed files with 30 additions and 7 deletions

View File

@@ -0,0 +1,13 @@
<script setup lang="ts">
const version = typeof __APP_VERSION__ !== "undefined" ? __APP_VERSION__ : "dev";
</script>
<template>
<div
class="fixed bottom-2 left-2 text-xs font-mono text-gray-50/40 hover:text-gray-50/80 transition-opacity pointer-events-none select-none z-10"
:title="`P2Pix ${version}`"
aria-label="Application version"
>
v{{ version }}
</div>
</template>