Loheide-eu-mitarbeiterplatt.../database/seeders/DatabaseSeeder.php
Friederich Loheide 5a3f1f34c7
Some checks failed
CI / PHP 8.4 / mariadb:10.6 (pull_request) Failing after 1m3s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m7s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Failing after 1m16s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Failing after 1m20s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m29s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m33s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 1m28s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m33s
CI / Build-Artefakte aktuell (pull_request) Failing after 52s
Neues Design: Tailwind + shadcn-vue statt Vuetify/Material 3
- Nüchterne, professionelle Optik: neutrale Flächen, Markenfarbe nur als Akzent, Inter-Schrift (lokal)
- Zweizeiliger Header mit Suche, Hauptnavigation und Avatar-Menü
- Startseite mit Begrüßungskarte, Schnellzugriffen und „Neu im Team“
- Personenverzeichnis mit Suche, Abteilungsfilter und Seitenaufteilung
- Markenfarbe exakt übernommen, Abstufungen serverseitig in OKLCH (ColorPalette) –
  gemeinsam für Portal und Admin, keine Farbberechnung im Browser
- Schnellzugriffe im Admin pflegbar
- Filament-Avatare lokal statt über ui-avatars.com (DSGVO)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-25 20:51:53 +00:00

41 lines
2.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace Database\Seeders;
use App\Models\User;
use App\Support\Settings;
use Illuminate\Database\Seeder;
/**
* Nur für Entwicklung und Demo – Produktivinstallationen legen den ersten
* Administrator über den Web-Installer an (Phase 1).
*/
class DatabaseSeeder extends Seeder
{
public function run(): void
{
User::factory()->admin()->create([
'first_name' => 'Ada',
'last_name' => 'Admin',
'email' => 'admin@example.com',
'job_title' => 'Administration',
]);
User::factory(25)->create();
app(Settings::class)->set('portal.quick_links', [
['label' => 'Zeiterfassung', 'url' => 'https://example.com/zeit', 'icon' => 'clock', 'new_tab' => true],
['label' => 'Urlaubsantrag', 'url' => 'https://example.com/urlaub', 'icon' => 'plane', 'new_tab' => true],
['label' => 'Dienstplan', 'url' => 'https://example.com/dienstplan', 'icon' => 'calendar-days', 'new_tab' => true],
['label' => 'Fortbildungen', 'url' => 'https://example.com/fortbildung', 'icon' => 'graduation-cap', 'new_tab' => true],
['label' => 'IT-Support', 'url' => 'https://example.com/support', 'icon' => 'headset', 'new_tab' => true],
['label' => 'Speiseplan', 'url' => 'https://example.com/speiseplan', 'icon' => 'utensils', 'new_tab' => true],
['label' => 'Formulare', 'url' => 'https://example.com/formulare', 'icon' => 'file-text', 'new_tab' => true],
['label' => 'Reisekosten', 'url' => 'https://example.com/reisekosten', 'icon' => 'receipt', 'new_tab' => true],
['label' => 'Fahrdienst', 'url' => 'https://example.com/fahrdienst', 'icon' => 'car', 'new_tab' => true],
['label' => 'Richtlinien', 'url' => 'https://example.com/richtlinien', 'icon' => 'book-open', 'new_tab' => true],
['label' => 'Ideenbox', 'url' => 'https://example.com/ideen', 'icon' => 'lightbulb', 'new_tab' => true],
['label' => 'Personen', 'url' => '/personen', 'icon' => 'users', 'new_tab' => false],
]);
}
}