initial commit

This commit is contained in:
Benjamin Nussbaum 2025-02-12 22:15:57 +01:00
parent 32d63c09e7
commit 01655b413e
37 changed files with 2564 additions and 283 deletions

View file

@ -9,7 +9,15 @@
<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">
{{ __("You're logged in!") }}
@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>