Updated aside page

This commit is contained in:
Kamil Niemczycki 2022-02-16 11:40:20 +01:00
parent 771a60ef8b
commit ad20678d7a
4 changed files with 13 additions and 3 deletions

View File

@ -0,0 +1,3 @@
<aside>
@include('dashboard.categories.list')
</aside>

View File

@ -1,5 +1,7 @@
<div class="categories">
<header><h1>Kategorie</h1></header>
<header>
<h2>Kategorie</h2>
</header>
<a href="{{ route('admin.category.create') }}">
<button>Utwórz nową kategorię</button>
</a>

View File

@ -15,9 +15,12 @@
@endpush
@section('main')
<header>
<h1>Dashboard</h1>
</header>
@if(\Session::has('message'))
<span>{{ \Session::get('message') }}</span>
@endif
@include('dashboard.projects.list')
@include('dashboard.categories.list')
@include('dashboard.aside')
@endsection

View File

@ -1,5 +1,7 @@
<div class="projects">
<header><h1>Projekty</h1></header>
<header>
<h2>Projekty</h2>
</header>
<a href="{{ route('admin.project.create') }}">
<button>Utwórz nowy projekt</button>
</a>