feature - 3 - Add logos

This commit is contained in:
myrmidex 2026-01-04 03:58:47 +01:00
parent 6723c9813b
commit 0de6c30dab
6 changed files with 21 additions and 16 deletions

View file

@ -11,6 +11,7 @@
/**
* @property int $id
* @property static PlannerFactory factory($count = null, $state = [])
* @method static first()
*/
class Planner extends Authenticatable
{

View file

@ -11,6 +11,7 @@ class DishesSeeder extends Seeder
{
public function run(): void
{
/** @var Planner $planner */
$planner = Planner::first() ?? Planner::factory()->create();
// Get users belonging to this planner

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

View file

@ -20,8 +20,9 @@
<div class="flex items-center">
<!-- Logo -->
<div class="flex-shrink-0 flex items-center">
<a href="{{ route('dashboard') }}" class="text-2xl font-syncopate text-primary">
DISH PLANNER
<a href="{{ route('dashboard') }}" class="flex items-center">
<img src="{{ asset('images/logo-without-text.png') }}" alt="Dish Planner" class="h-8 mr-2">
<span class="text-2xl font-syncopate text-primary relative top-[3px]">DISH PLANNER</span>
</a>
</div>

View file

@ -12,12 +12,14 @@
@livewireStyles
</head>
<body class="font-sans antialiased bg-gray-600 text-gray-100">
<div class="min-h-screen flex flex-col items-center justify-center px-4">
<div class="w-full max-w-sm">
<div class="text-center mb-6">
<h1 class="text-2xl font-syncopate text-primary">DISH PLANNER</h1>
<div class="min-h-screen flex flex-col items-center px-4 py-8">
<!-- Logo -->
<div class="w-full max-w-xs mb-8">
<img src="{{ asset('images/logo-with-text.png') }}" alt="Dish Planner" class="w-full">
</div>
<!-- Login box -->
<div class="w-full max-w-sm">
<x-card>
@yield('content')
</x-card>