forked from projects/fipamo
ro
2f2955e865
the remaining base template pages have beeen converted to blade as well as filling out the data they need to render being added to the sorting service class theming controller and and sorting service still need to be optimized but they work so now they can be refined once they have been cleaned up, the render service is class is ready to be finished
63 lines
2 KiB
PHP
63 lines
2 KiB
PHP
@extends('fipamo-default-v2.base')
|
|
|
|
@section('title', $title)
|
|
|
|
@section('main-content')
|
|
<article>
|
|
<h1>{{ $title }}</h1>
|
|
<p>{!!$content!!}</p>
|
|
</article>
|
|
<section role="page-meta">
|
|
<div>
|
|
<h2>Files</h2>
|
|
@foreach($files as $file)
|
|
@if($file['type'] != 'mp3')
|
|
@php
|
|
$fileName = explode("/", $file['file']);
|
|
@endphp
|
|
<a href="{{ $file['file'] }}">{{ $fileName[6] }}</a>
|
|
@endif
|
|
@endforeach
|
|
</div>
|
|
<div>
|
|
<h2>Sounds</h2>
|
|
@foreach($files as $file)
|
|
@if($file['type'] == 'mp3')
|
|
<audio controls>
|
|
<source src="{{ $file['file'] }}" type="audio/mpeg">
|
|
Your browser does not support the audio element.
|
|
</audio>
|
|
@endif
|
|
@endforeach
|
|
</div>
|
|
<div>
|
|
<h2>Info</h2>
|
|
{{ $meta['who'] }}
|
|
dropped this
|
|
{{ $meta['when'] }}<br/>
|
|
|
|
</div>
|
|
<div>
|
|
<h2>Tags</h2>
|
|
@foreach($tags as $tag)
|
|
@if(isset($dynamicRender))
|
|
@if($dynamicRender == 'true')
|
|
<a href="{{ "/tags/".$tag['slug'] }}">
|
|
{{ $tag['label'] }}
|
|
</a><br/>
|
|
@else
|
|
<a href="{{ "/tags/".$tag['slug'].".html" }}">
|
|
{{ $tag['label'] }}
|
|
</a><br/>
|
|
@endif
|
|
@else
|
|
<a href="{{ "/tags/".$tag['slug'].".html" }}">
|
|
{{ $tag['label'] }}
|
|
</a><br/>
|
|
@endif
|
|
@endforeach
|
|
</div>
|
|
</section>
|
|
|
|
@endsection
|