mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 14:13:37 +08:00
479e44dd04
- Use Laravel's view namespacing rather than the full file path - Organise views into directories
38 lines
1.0 KiB
PHP
38 lines
1.0 KiB
PHP
<div id="app" class="App">
|
|
|
|
<div id="app-navigation" class="App-navigation"></div>
|
|
|
|
<div id="drawer" class="App-drawer">
|
|
|
|
<header id="header" class="App-header">
|
|
<div id="header-navigation" class="Header-navigation"></div>
|
|
<div class="container">
|
|
<h1 class="Header-title">
|
|
<a href="{{ array_get($forum, 'attributes.baseUrl') }}">
|
|
<?php $title = array_get($forum, 'attributes.title'); ?>
|
|
@if ($logo = array_get($forum, 'attributes.logoUrl'))
|
|
<img src="{{ $logo }}" alt="{{ $title }}" class="Header-logo">
|
|
@else
|
|
{{ $title }}
|
|
@endif
|
|
</a>
|
|
</h1>
|
|
<div id="header-primary" class="Header-primary"></div>
|
|
<div id="header-secondary" class="Header-secondary"></div>
|
|
</div>
|
|
</header>
|
|
|
|
</div>
|
|
|
|
<main class="App-content">
|
|
<div class="container">
|
|
<div id="admin-navigation" class="App-nav sideNav"></div>
|
|
</div>
|
|
|
|
<div id="content" class="sideNavOffset"></div>
|
|
|
|
{!! $content !!}
|
|
</main>
|
|
|
|
</div>
|