feat: update to Laravel 12 starter kit (#1)

fix: path of ScreenGeneratorCommand
This commit is contained in:
Benjamin Nussbaum 2025-02-25 12:15:35 +01:00 committed by GitHub
parent 199511816e
commit 94f5cabcff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
110 changed files with 3260 additions and 3524 deletions

View file

@ -1,25 +1,5 @@
<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>
<x-layouts.app>
<div class="bg-muted flex flex-col items-center justify-center gap-6 p-6 md:p-10">
<livewire:device-dashboard/>
</div>
</x-app-layout>
</x-layouts.app>