mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
25 lines
1,018 B
PHP
25 lines
1,018 B
PHP
<x-app-layout>
|
|
<x-slot name="header">
|
|
<h2 class="font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight">
|
|
{{ __('Dashboard') }}
|
|
</h2>
|
|
</x-slot>
|
|
|
|
<div class="py-12">
|
|
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
|
|
<div class="bg-white dark:bg-gray-800 overflow-hidden shadow-sm sm:rounded-lg">
|
|
<div class="p-6 text-gray-900 dark:text-gray-100">
|
|
@php
|
|
$current_image_uuid = auth()->user()?->devices()?->first()?->current_screen_image;
|
|
$current_image_path = 'images/generated/' . $current_image_uuid . '.png';
|
|
@endphp
|
|
@if($current_image_uuid)
|
|
<img src="{{ asset($current_image_path) }}" alt="Current Image"/>
|
|
@else
|
|
{{ __("You're logged in!") }}
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</x-app-layout>
|