feat: show version number on welcome page

This commit is contained in:
Benjamin Nussbaum 2026-02-17 13:46:12 +01:00
parent d83a4095cb
commit 89a2edfcbb
2 changed files with 6 additions and 1 deletions

View file

@ -248,7 +248,7 @@ new class extends Component
<flux:callout icon="check-circle" variant="success"> <flux:callout icon="check-circle" variant="success">
<flux:callout.heading>Up to Date</flux:callout.heading> <flux:callout.heading>Up to Date</flux:callout.heading>
<flux:callout.text> <flux:callout.text>
You are running the latest version {{ $latestVersion }}. You are running the latest version.
</flux:callout.text> </flux:callout.text>
</flux:callout> </flux:callout>
@endif @endif

View file

@ -32,6 +32,11 @@
@endif @endif
</header> </header>
@auth @auth
@if(config('app.version'))
<flux:text class="text-xs">Version: <a href="https://github.com/usetrmnl/byos_laravel/releases/tag/{{ config('app.version') }}"
target="_blank">{{ config('app.version') }}</a>
</flux:text>
@endif
<livewire:update-check /> <livewire:update-check />
@endauth @endauth
</x-layouts::auth.card> </x-layouts::auth.card>