31 lines
996 B
PHP

@props(['title' => ''])
@php
$pageTitle = config('app.name', 'Laravel');
if ($title !== ''){
$pageTitle = "$pageTitle | $title";
}
@endphp
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="h-full">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ $pageTitle }}</title>
<link rel="shortcut icon" type="image/x-icon" href="{{asset('storage/'.'/images/favicon.ico')}}"/>
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=instrument-sans:400,500,600" rel="stylesheet"/>
<!-- Styles / Scripts -->
@vite(['resources/css/app.css', 'resources/js/app.js'])
</head>
<body class="bg-[#FFFFFF] text-[#1b1b18] flex h-full w-full flex-col preload">
<x-ui.preloader/>
<div class="h-full w-full" style="display: none" id="content">
{{$slot}}
</div>
</body>
</html>