college-courses/resources/views/layouts/simple-page.blade.php

26 lines
721 B
PHP
Raw Permalink Normal View History

2024-10-15 10:15:40 +03:00
@component('layouts.base')
<div class="max-w-[1400px] mx-auto mt-[100px] mb-[100px]">
<div class="flex items-baseline mb-8">
<div>
@isset($subtitle)
<p class='text-gray-400'>
{{$subtitle}}
</p>
@endisset
@isset($title)
<x-page-heading>
{{ $title }}
</x-page-heading>
@endisset
</div>
{{ isset($panel)? $panel: '' }}
</div>
<main class="px-4 py-2">
{{ $slot }}
</main>
</div>
<footer class="grid place-items-center w-full text-gray-400 py-16">
Создано для ВСК
</footer>
@endcomponent