docs banner, remove _blank

This commit is contained in:
Abrar Ahmad 2021-11-10 16:55:44 +05:00
parent 75bcd3ce4d
commit ef39bf2963
3 changed files with 11 additions and 2 deletions

View file

@ -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

View file

@ -63,7 +63,6 @@
@unless(isset($banner) && $banner === false )
@include('_partials.banner')
@endunless
{{-- /Banner --}}
<script src="{{ $page->baseUrl . mix('js/main.js', 'assets/build') }}"></script>

View file

@ -21,7 +21,7 @@
</p>
</div>
<div class="order-3 mt-2 flex-shrink-0 w-full sm:order-2 sm:mt-0 sm:w-auto">
<a href="https://tenancyforlaravel.com/saas-boilerplate/" target="_blank" class="w-full inline-flex space-x-2 justify-center py-2 px-4 rounded-md bg-white text-sm font-medium hover:bg-gray-50">
<a href="https://tenancyforlaravel.com/saas-boilerplate/" class="w-full inline-flex space-x-2 justify-center py-2 px-4 rounded-md bg-white text-sm font-medium hover:bg-gray-50">
<span class="font-medium text-brown-900">
SaaS boilerplate
</span>