Ajout des news & pictures & complementary activity

This commit is contained in:
Mathieu Lagace
2019-08-04 14:26:14 -04:00
parent 47128ea6fc
commit 97a7be702e
61 changed files with 11617 additions and 466 deletions

View File

@@ -0,0 +1,32 @@
@extends('layouts.public.main')
@section('content')
<article id="main">
<section class="wrapper style5">
<div class="inner">
<header class="major">
<h2>{{ App\Config::getData('text_public_picture_title')}}</h2>
<p>{{ App\Config::getData('text_public_picture_desc')}}</p>
</header>
<ul class="features">
@if ($pictures->isEmpty())
<h4 class="text-center">Aucune Photo</h4>
@endif
@foreach ($pictures as $picture)
<li>
<a class="a-without-effect" href="/picture/{{$picture->id}}">
<h3><img src="{{$picture->url}}" alt="{{$picture->title}}" width="100%"></h3>
<p>{{$picture->desc}}</p>
<span class="news-small">{{ $picture->created_at }}</span>
</a>
</li>
@endforeach
</ul>
<div class="m-3" role="group">
{{ $pictures->links() }}
</div>
<a href="/" class="btn button primary">Retour</a>
</div>
</section>
</article>
@endsection