63 lines
2.3 KiB
PHP
63 lines
2.3 KiB
PHP
@props([
|
|
'title' => null,
|
|
'description' => null,
|
|
'eyebrow' => null,
|
|
'hero' => false,
|
|
'breadcrumbs' => [],
|
|
])
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" id="top">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
<title>{{ $title && $title !== $siteTitle ? $title.' — '.$siteTitle : $siteTitle }}</title>
|
|
<meta name="description" content="{{ $description ?: $siteDescription }}">
|
|
|
|
<link rel="icon" href="/favicon.ico" sizes="any">
|
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
|
|
|
<link rel="stylesheet" href="{{ route('stylist.theme.asset', ['theme' => 'saasland', 'path' => 'css/theme.css']) }}">
|
|
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
|
@stack('theme-head')
|
|
</head>
|
|
<body>
|
|
<div class="saasland-theme" x-data="{ menuOpen: false, openFaq: null }">
|
|
@include('stylist-theme-saasland::partials.header')
|
|
|
|
@unless($hero)
|
|
<section class="page-hero">
|
|
<div class="page-orb page-orb-one"></div>
|
|
<div class="page-orb page-orb-two"></div>
|
|
<div class="wrap page-hero-inner">
|
|
@if ($breadcrumbs)
|
|
<nav class="breadcrumbs" aria-label="Breadcrumb">
|
|
<a href="{{ url('/') }}">Home</a>
|
|
@foreach ($breadcrumbs as $label => $url)
|
|
<span aria-hidden="true">/</span>
|
|
@if ($url)<a href="{{ $url }}">{{ $label }}</a>@else<span aria-current="page">{{ $label }}</span>@endif
|
|
@endforeach
|
|
</nav>
|
|
@endif
|
|
@if ($eyebrow)<span class="eyebrow">{{ $eyebrow }}</span>@endif
|
|
<h1>{{ $title }}</h1>
|
|
@if ($description)<p>{{ $description }}</p>@endif
|
|
</div>
|
|
</section>
|
|
@endunless
|
|
|
|
<main class="{{ $hero ? 'marketing-main' : 'page-main' }}">
|
|
{{ $slot }}
|
|
</main>
|
|
|
|
@include('stylist-theme-saasland::partials.footer')
|
|
</div>
|
|
|
|
<script src="{{ route('stylist.theme.asset', ['theme' => 'saasland', 'path' => 'js/app.js']) }}" defer></script>
|
|
@stack('theme-scripts')
|
|
</body>
|
|
</html>
|