|
@ -1,10 +1,12 @@ |
|
|
@inject('pageRepository', 'App\Repositories\PageRepository') |
|
|
@inject('pageRepository', 'App\Repositories\PageRepository') |
|
|
@inject('siteRepository', 'App\Repositories\SiteRepository') |
|
|
@inject('siteRepository', 'App\Repositories\SiteRepository') |
|
|
|
|
|
@inject('menuRepository', 'App\Repositories\MenuRepository') |
|
|
|
|
|
|
|
|
@inject('markdownHelper', 'App\Helpers\MarkdownHelper') |
|
|
@inject('markdownHelper', 'App\Helpers\MarkdownHelper') |
|
|
|
|
|
|
|
|
@php |
|
|
@php |
|
|
$site = $siteRepository->findOne(); |
|
|
$site = $siteRepository->findOne(); |
|
|
|
|
|
$menuItems = $menuRepository->findByName('test'); |
|
|
@endphp |
|
|
@endphp |
|
|
|
|
|
|
|
|
<!DOCTYPE html> |
|
|
<!DOCTYPE html> |
|
@ -32,6 +34,7 @@ |
|
|
Super Gear Directus |
|
|
Super Gear Directus |
|
|
<img src="{{ assetsUrl($site['data']['logo']) }}" /> |
|
|
<img src="{{ assetsUrl($site['data']['logo']) }}" /> |
|
|
</h1> |
|
|
</h1> |
|
|
|
|
|
@include('partials.menu', [ 'menuItems' => $menuItems ]) |
|
|
</header> |
|
|
</header> |
|
|
|
|
|
|
|
|
<main class="site-main"> |
|
|
<main class="site-main"> |
|
|