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 int $id
* @property static PlannerFactory factory($count = null, $state = []) * @property static PlannerFactory factory($count = null, $state = [])
* @method static first()
*/ */
class Planner extends Authenticatable class Planner extends Authenticatable
{ {

View file

@ -11,6 +11,7 @@ class DishesSeeder extends Seeder
{ {
public function run(): void public function run(): void
{ {
/** @var Planner $planner */
$planner = Planner::first() ?? Planner::factory()->create(); $planner = Planner::first() ?? Planner::factory()->create();
// Get users belonging to this planner // 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"> <div class="flex items-center">
<!-- Logo --> <!-- Logo -->
<div class="flex-shrink-0 flex items-center"> <div class="flex-shrink-0 flex items-center">
<a href="{{ route('dashboard') }}" class="text-2xl font-syncopate text-primary"> <a href="{{ route('dashboard') }}" class="flex items-center">
DISH PLANNER <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> </a>
</div> </div>

View file

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