mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
beta label
This commit is contained in:
parent
dcd7a47f2e
commit
38593e61a2
2 changed files with 4 additions and 4 deletions
|
|
@ -6,12 +6,12 @@ return [
|
|||
'siteName' => 'stancl/tenancy documentation',
|
||||
'siteDescription' => 'A Laravel multi-database tenancy package that respects your code.',
|
||||
|
||||
// key => display text
|
||||
// key => display name
|
||||
'versions' => [
|
||||
'1.x' => '1.x',
|
||||
'2.x' => '2.x (beta)',
|
||||
],
|
||||
'defaultVersion' => '2.x',
|
||||
'defaultVersion' => '1.x',
|
||||
'prettyUrls' => true,
|
||||
|
||||
'version' => function ($page) {
|
||||
|
|
|
|||
|
|
@ -58,14 +58,14 @@
|
|||
|
||||
<div class="flex flex-1 justify-end items-center text-right md:pl-10">
|
||||
<select id="versionSelect">
|
||||
@foreach($page->navigation as $version => $_)
|
||||
@foreach($page->versions as $version => $name)
|
||||
<option
|
||||
value="/{{ $page->baseUrl . $version }}"
|
||||
@if($page->version() === $version)
|
||||
selected
|
||||
@endif
|
||||
>
|
||||
{{ $version }}
|
||||
{{ $name }}
|
||||
</option>
|
||||
@endforeach
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue