2020-10-10 12:12:44 +02:00
|
|
|
@extends('master')
|
|
|
|
@section('body')
|
2020-10-25 18:46:23 +01:00
|
|
|
<div class="row center">
|
2020-10-10 12:12:44 +02:00
|
|
|
<h1> {{ $category->name }}</h1>
|
2020-10-25 18:46:23 +01:00
|
|
|
<div class="col xl9 l9 m9 s12">
|
2020-10-10 12:12:44 +02:00
|
|
|
|
|
|
|
@foreach ($category->contents as $content)
|
2020-10-26 19:02:17 +01:00
|
|
|
<a class="waves-effect waves-light btn-large" href="/content/{{ $content->path }}">
|
2020-10-10 12:12:44 +02:00
|
|
|
{{ $content->name }}
|
|
|
|
</a>
|
|
|
|
@endforeach
|
|
|
|
@foreach ($category->subcategories as $subcategory)
|
2020-10-15 12:23:13 +02:00
|
|
|
<a class="waves-effect waves-light btn-large" href="/category/{{ $subcategory->path }}">
|
2020-10-10 12:12:44 +02:00
|
|
|
{{ $subcategory->name }}
|
|
|
|
</a>
|
|
|
|
@endforeach
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|