blue-twilight/resources/views/themes/base/gallery/album.blade.php
2016-09-05 16:59:42 +01:00

25 lines
753 B
PHP

@extends('themes.base.layout')
@section('title', 'Welcome')
@section('breadcrumb')
<div class="breadcrumb">
<div class="container">
<ol class="breadcrumb">
<li><a href="{{ route('home') }}">Gallery</a></li>
<li class="active">{{ $album->name }}</li>
</ol>
</div>
</div>
@endsection
@section('content')
<div class="container">
<div class="row">
@foreach ($album->photos as $photo)
<div class="col-xs-12 col-sm-4">
<a href="{{ $photo->url() }}"><img src="{{ $photo->thumbnailUrl('preview') }}" alt="" class="img-thumbnail"/></a>
</div>
@endforeach
</div>
</div>
@endsection