mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 02:04:03 +00:00
Add banner. (#142)
* wip * assets build prod * docs banner, remove _blank
This commit is contained in:
parent
ef33db5201
commit
d8dbbea0ed
11 changed files with 18490 additions and 181240 deletions
|
|
@ -61,6 +61,10 @@
|
|||
@endif
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fira+Code&display=swap" rel="stylesheet">
|
||||
|
||||
<style>
|
||||
[x-cloak] { display: none !important; }
|
||||
</style>
|
||||
</head>
|
||||
<body class="font-sans antialiased">
|
||||
<div class="p-2">
|
||||
|
|
@ -104,6 +108,12 @@
|
|||
|
||||
@include('_partials.footer')
|
||||
|
||||
{{-- Banner --}}
|
||||
@unless(isset($banner) && $banner === false )
|
||||
@include('_partials.banner')
|
||||
@endunless
|
||||
{{-- /Banner --}}
|
||||
|
||||
@if ($page->docsearchApiKey && $page->docsearchIndexName)
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js" data-turbolinks-eval="false"></script>
|
||||
@endif
|
||||
|
|
|
|||
|
|
@ -37,6 +37,10 @@
|
|||
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
|
||||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.min.js" defer></script>
|
||||
<title>{{ ($title ?? null) ? $title . ' | Tenancy for Laravel' : 'Tenancy for Laravel' }}</title>
|
||||
|
||||
<style>
|
||||
[x-cloak] { display: none !important; }
|
||||
</style>
|
||||
</head>
|
||||
<body class="font-sans antialiased">
|
||||
|
||||
|
|
@ -55,6 +59,12 @@
|
|||
@include('_partials.footer')
|
||||
{{-- /Footer --}}
|
||||
|
||||
{{-- Banner --}}
|
||||
@unless(isset($banner) && $banner === false )
|
||||
@include('_partials.banner')
|
||||
@endunless
|
||||
{{-- /Banner --}}
|
||||
|
||||
<script src="{{ $page->baseUrl . mix('js/main.js', 'assets/build') }}"></script>
|
||||
@stack('scripts')
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue