25 lines
785 B
PHP
25 lines
785 B
PHP
@extends('layout/template')
|
|
|
|
@section('content')
|
|
<h1>Galleries</h1>
|
|
<div class="row">
|
|
@foreach($galleries as $gallery)
|
|
<div class="col-md-4" style="margin-bottom: 20px;">
|
|
<a href="/{{$tenant->url}}/{{$gallery->url}}">
|
|
<div class="card">
|
|
<div class="card-header">
|
|
{{ $gallery->name }}
|
|
</div>
|
|
<div class="card-body">
|
|
<img class="card-img-top" src="/{{$tenant->url}}/{{$gallery->url}}/{{$gallery->main_image}}/file?size=medium" style="max-height: 400px; width: auto;max-width: 100%;" alt="Card image cap">
|
|
<p class="card-text">from {{ $gallery->gallery_create_time }}<br>{{ $gallery->description }}</p>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
@endsection
|
|
|
|
@section('js')
|
|
@endsection
|