mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
Ajout des news & pictures & complementary activity
This commit is contained in:
32
resources/views/public/allpicture.blade.php
Normal file
32
resources/views/public/allpicture.blade.php
Normal 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
|
||||
Reference in New Issue
Block a user