Files
laravel-manager-packagist/resources/views/public/layout.blade.php
T
2026-12-04 17:15:56 +00:00

23 lines
863 B
PHP

{{--
The plain page of a site that lets the package draw it (`manager.frontend.mode` = package). Put a file of the same name in
resources/views/vendor/manager/public/layout.blade.php to make it yours, or point `manager.frontend.layout` at a view of your own;
it gets $title, $description, $blocks, $css (the plain stylesheet of the blocks) and $slug (the faq block prints its own structured data).
--}}
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ $title }}</title>
@if ($description)
<meta name="description" content="{{ $description }}">
@endif
<style>{!! $css !!}</style>
</head>
<body>
<main>
<x-manager::blocks :blocks="$blocks" />
</main>
</body>
</html>