mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-03-14 20:33:40 +00:00
feat: show version number on welcome page
This commit is contained in:
parent
d83a4095cb
commit
89a2edfcbb
2 changed files with 6 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ new class extends Component
|
|||
<flux:callout icon="check-circle" variant="success">
|
||||
<flux:callout.heading>Up to Date</flux:callout.heading>
|
||||
<flux:callout.text>
|
||||
You are running the latest version {{ $latestVersion }}.
|
||||
You are running the latest version.
|
||||
</flux:callout.text>
|
||||
</flux:callout>
|
||||
@endif
|
||||
|
|
|
|||
|
|
@ -32,6 +32,11 @@
|
|||
@endif
|
||||
</header>
|
||||
@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 />
|
||||
@endauth
|
||||
</x-layouts::auth.card>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue