{{-- Every page in SealShare: a centred header over one centred column of cards, the share pages'
shape carried to every other page, sign-in included.
…
`brand` heads the page with the site's own logo, title and description from Admin settings
instead of `title` and `description`, falling back to the app's name and SealShare's line.
`mark` is a visual above the title (share created's check). Every page is the same 40rem
column (``, M3's cap on a text field), so there is no width prop: content
that needs more room is rearranged to fit, as the admin dashboard's shares became a list. No
page sets a width or a heading of its own. The page's content stacks 24px apart under the
header and the optional `navigation`. --}}
@props([
'title' => null,
'description' => null,
'brand' => false,
])
@php
$logo = null;
if ($brand) {
$title = \App\Models\Setting::get('site_title') ?: config('app.name', 'SealShare');
$description = \App\Models\Setting::get('site_description') ?: __('Share your files safely and securely');
$logo = \App\Models\Setting::get('site_logo');
}
@endphp
@if ($logo)
@endif
{{ $mark ?? '' }}