mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-14 15:37:53 +00:00
wip
This commit is contained in:
parent
01655b413e
commit
baf32fa168
2 changed files with 4 additions and 2 deletions
|
|
@ -17,7 +17,9 @@ class DatabaseSeeder extends Seeder
|
||||||
|
|
||||||
User::factory()->create([
|
User::factory()->create([
|
||||||
'name' => 'Test User',
|
'name' => 'Test User',
|
||||||
'email' => 'test@example.com',
|
'email' => 'admin@example.com',
|
||||||
|
'password' => bcrypt('admin@example.com'),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
<div class="bg-white dark:bg-gray-800 overflow-hidden shadow-sm sm:rounded-lg">
|
<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">
|
<div class="p-6 text-gray-900 dark:text-gray-100">
|
||||||
@php
|
@php
|
||||||
$current_image_uuid = auth()->user()->devices()->first()->current_screen_image;
|
$current_image_uuid = auth()->user()?->devices()?->first()?->current_screen_image;
|
||||||
$current_image_path = 'images/generated/' . $current_image_uuid . '.png';
|
$current_image_path = 'images/generated/' . $current_image_uuid . '.png';
|
||||||
@endphp
|
@endphp
|
||||||
@if($current_image_uuid)
|
@if($current_image_uuid)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue