41 lines
1.5 KiB
PHP
41 lines
1.5 KiB
PHP
<!DOCTYPE html>
|
|||
|
|
<html lang="en">
|
||
|
|
<head>
|
||
|
|
<meta charset="utf-8">
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
|
<title>@yield('title', 'dreamstudio')</title>
|
||
|
|
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
||
|
|
</head>
|
||
|
|
<body class="min-h-screen bg-gray-50 text-gray-900">
|
||
|
|
<nav class="border-b border-gray-200 bg-white">
|
||
|
|
<div class="mx-auto flex max-w-5xl items-center justify-between px-6 py-4">
|
||
|
|
<a href="{{ route('generations.index') }}" class="text-lg font-semibold">dreamstudio</a>
|
||
|
|
<div class="flex gap-4 text-sm">
|
||
|
|
<a href="{{ route('generations.index') }}" class="text-gray-600 hover:text-gray-900">Generate</a>
|
||
|
|
<a href="{{ route('runware-models.index') }}" class="text-gray-600 hover:text-gray-900">Models</a>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</nav>
|
||
|
|
|
||
|
|
<main class="mx-auto max-w-5xl px-6 py-8">
|
||
|
|
@if (session('status'))
|
||
|
|
<div class="mb-6 rounded-md border border-green-200 bg-green-50 px-4 py-3 text-sm text-green-800">
|
||
|
|
{{ session('status') }}
|
||
|
|
</div>
|
||
|
|
@endif
|
||
|
|
|
||
|
|
@if ($errors->any())
|
||
|
|
<div class="mb-6 rounded-md border border-red-200 bg-red-50 px-4 py-3 text-sm text-red-800">
|
||
|
|
<ul class="list-inside list-disc">
|
||
|
|
@foreach ($errors->all() as $error)
|
||
|
|
<li>{{ $error }}</li>
|
||
|
|
@endforeach
|
||
|
|
</ul>
|
||
|
|
</div>
|
||
|
|
@endif
|
||
|
|
|
||
|
|
@yield('content')
|
||
|
|
</main>
|
||
|
|
</body>
|
||
|
|
</html>
|