coolify/resources/views/components/auth/shell.blade.php

36 lines
1.2 KiB
PHP
Raw Normal View History

@props([
'title',
'description' => null,
])
<section class="auth-shell application-settings-form">
<div class="auth-shell-content">
<div class="auth-card">
<div class="auth-card-heading">
{{-- MapleDeploy branding: brand-titled pages show the logo lockup instead of a wordmark heading --}}
@if ($title === 'MapleDeploy')
<div class="flex justify-center pb-2">
<img src="https://mapledeploy.ca/api/logo/lockup?height=80" alt="MapleDeploy" class="h-12 dark:hidden" />
<img src="https://mapledeploy.ca/api/logo/lockup?height=80&dark=true" alt="MapleDeploy" class="hidden h-12 dark:block" />
</div>
@else
<h1>{{ $title }}</h1>
@endif
@if ($description)
<p>{{ $description }}</p>
@endif
</div>
<div class="auth-card-body">
{{ $slot }}
</div>
@isset($footer)
<footer class="auth-card-footer">
{{ $footer }}
</footer>
@endisset
</div>
</div>
</section>