Commit 0ae6cd96 by Bagus Pambudi

galeri

parent bf6f8eb6
...@@ -219,22 +219,52 @@ ...@@ -219,22 +219,52 @@
@endif @endif
{{-- Label Gallery --}} {{-- Label Gallery --}}
{{-- @if ($gallery->count() != 0)
@if ($gallery->count() != 0)
<section class="panel-wrapper jt-shadow"> <section class="panel-wrapper jt-shadow">
<div class="container"> <div class="container">
<div class="general-title"> <div class="general-title">
<h2>Galeri</h2> <h2>صالة عرض</h2>
<hr> <hr>
</div> </div>
<div class="carousel_wrapper">
<div class="margin-top">
<div id="owl_shop_carousel" class="owl-carousel">
@foreach($gallery as $value)
<div class="shop_carousel">
<div class="shop_item">
<div class="entry">
@if ($setting['external_storage'] == 1)
<img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $value->gallery }}" alt="" class="img-responsive">
@else
<img src="{{ url('/storage/gallery/' . $value->thumbnail) }}" alt="" class="img-responsive">
@endif
<div class="magnifier">
<div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $value->gallery }}" target="_blank">
View
</a>
<h3>{!! $value->title !!}</h3>
</div><!-- end buttons -->
</div><!-- end magnifier -->
</div><!-- end entry -->
</div><!-- end item -->
</div><!-- end shop carousel -->
@endforeach
</div><!-- end padding-top -->
</div><!-- end carousel_wrapper -->
</div> </div>
<!-- end container --> <!-- end container -->{{--
<div class="portfolio_wrapper padding-top" style="position: relative; overflow: hidden; height: 372px;"> <div class="portfolio_wrapper padding-top" style="position: relative; overflow: hidden; height: 372px;">
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(0px, 30px); width: 379px;"> <div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(0px, 30px); width: 379px;">
<div class="entry"> <div class="entry">
<img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[0]->images !!}" alt="" class="img-responsive"> <img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[0]->gallery }}" alt="" class="img-responsive">
<div class="magnifier"> <div class="magnifier">
<div class="buttons"> <div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[0]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[0]->gallery }}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[0]->title !!}</h3> <h3>{!! $gallery[0]->title !!}</h3>
...@@ -245,10 +275,10 @@ ...@@ -245,10 +275,10 @@
@if(isset($gallery[1])) @if(isset($gallery[1]))
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(379px, 30px); width: 379px;"> <div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(379px, 30px); width: 379px;">
<div class="entry"> <div class="entry">
<img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[1]->images !!}" alt="" class="img-responsive"> <img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[1]->gallery }}" alt="" class="img-responsive">
<div class="magnifier"> <div class="magnifier">
<div class="buttons"> <div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[1]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[1]->gallery }}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[1]->title !!}</h3> <h3>{!! $gallery[1]->title !!}</h3>
...@@ -260,10 +290,10 @@ ...@@ -260,10 +290,10 @@
@if(isset($gallery[2])) @if(isset($gallery[2]))
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(758px, 30px); width: 379px;"> <div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(758px, 30px); width: 379px;">
<div class="entry"> <div class="entry">
<img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[2]->images !!}" alt="" class="img-responsive"> <img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[2]->gallery }}" alt="" class="img-responsive">
<div class="magnifier"> <div class="magnifier">
<div class="buttons"> <div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[2]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[2]->gallery }}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[2]->title !!}</h3> <h3>{!! $gallery[2]->title !!}</h3>
...@@ -275,10 +305,10 @@ ...@@ -275,10 +305,10 @@
@if(isset($gallery[3])) @if(isset($gallery[3]))
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(1137px, 30px); width: 379px;"> <div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(1137px, 30px); width: 379px;">
<div class="entry"> <div class="entry">
<img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[3]->images !!}" alt="" class="img-responsive"> <img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[3]->gallery }}" alt="" class="img-responsive">
<div class="magnifier"> <div class="magnifier">
<div class="buttons"> <div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[3]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[3]->gallery }}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[3]->title !!}</h3> <h3>{!! $gallery[3]->title !!}</h3>
...@@ -287,10 +317,11 @@ ...@@ -287,10 +317,11 @@
</div><!-- end entry --> </div><!-- end entry -->
</div><!-- end portfolio_item --> </div><!-- end portfolio_item -->
@endif @endif
</div> </div>--}}
<div class="clearfix"></div> <div class="clearfix"></div>
</section> </section>
@endif --}} @endif
<section class="make-bg-full"> <section class="make-bg-full">
<div id="myCarousel" class="carousel slide" data-ride="carousel"> <div id="myCarousel" class="carousel slide" data-ride="carousel">
......
...@@ -219,22 +219,52 @@ ...@@ -219,22 +219,52 @@
@endif @endif
{{-- Label Gallery --}} {{-- Label Gallery --}}
{{-- @if ($gallery->count() != 0)
@if ($gallery->count() != 0)
<section class="panel-wrapper jt-shadow"> <section class="panel-wrapper jt-shadow">
<div class="container"> <div class="container">
<div class="general-title"> <div class="general-title">
<h2>Galeri</h2> <h2>Galerie</h2>
<hr> <hr>
</div> </div>
<div class="carousel_wrapper">
<div class="margin-top">
<div id="owl_shop_carousel" class="owl-carousel">
@foreach($gallery as $value)
<div class="shop_carousel">
<div class="shop_item">
<div class="entry">
@if ($setting['external_storage'] == 1)
<img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $value->gallery }}" alt="" class="img-responsive">
@else
<img src="{{ url('/storage/gallery/' . $value->thumbnail) }}" alt="" class="img-responsive">
@endif
<div class="magnifier">
<div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $value->gallery }}" target="_blank">
View
</a>
<h3>{!! $value->title !!}</h3>
</div><!-- end buttons -->
</div><!-- end magnifier -->
</div><!-- end entry -->
</div><!-- end item -->
</div><!-- end shop carousel -->
@endforeach
</div><!-- end padding-top -->
</div><!-- end carousel_wrapper -->
</div> </div>
<!-- end container --> <!-- end container -->{{--
<div class="portfolio_wrapper padding-top" style="position: relative; overflow: hidden; height: 372px;"> <div class="portfolio_wrapper padding-top" style="position: relative; overflow: hidden; height: 372px;">
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(0px, 30px); width: 379px;"> <div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(0px, 30px); width: 379px;">
<div class="entry"> <div class="entry">
<img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[0]->images !!}" alt="" class="img-responsive"> <img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[0]->gallery }}" alt="" class="img-responsive">
<div class="magnifier"> <div class="magnifier">
<div class="buttons"> <div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[0]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[0]->gallery }}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[0]->title !!}</h3> <h3>{!! $gallery[0]->title !!}</h3>
...@@ -245,10 +275,10 @@ ...@@ -245,10 +275,10 @@
@if(isset($gallery[1])) @if(isset($gallery[1]))
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(379px, 30px); width: 379px;"> <div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(379px, 30px); width: 379px;">
<div class="entry"> <div class="entry">
<img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[1]->images !!}" alt="" class="img-responsive"> <img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[1]->gallery }}" alt="" class="img-responsive">
<div class="magnifier"> <div class="magnifier">
<div class="buttons"> <div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[1]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[1]->gallery }}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[1]->title !!}</h3> <h3>{!! $gallery[1]->title !!}</h3>
...@@ -260,10 +290,10 @@ ...@@ -260,10 +290,10 @@
@if(isset($gallery[2])) @if(isset($gallery[2]))
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(758px, 30px); width: 379px;"> <div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(758px, 30px); width: 379px;">
<div class="entry"> <div class="entry">
<img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[2]->images !!}" alt="" class="img-responsive"> <img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[2]->gallery }}" alt="" class="img-responsive">
<div class="magnifier"> <div class="magnifier">
<div class="buttons"> <div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[2]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[2]->gallery }}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[2]->title !!}</h3> <h3>{!! $gallery[2]->title !!}</h3>
...@@ -275,10 +305,10 @@ ...@@ -275,10 +305,10 @@
@if(isset($gallery[3])) @if(isset($gallery[3]))
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(1137px, 30px); width: 379px;"> <div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(1137px, 30px); width: 379px;">
<div class="entry"> <div class="entry">
<img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[3]->images !!}" alt="" class="img-responsive"> <img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[3]->gallery }}" alt="" class="img-responsive">
<div class="magnifier"> <div class="magnifier">
<div class="buttons"> <div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[3]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[3]->gallery }}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[3]->title !!}</h3> <h3>{!! $gallery[3]->title !!}</h3>
...@@ -287,10 +317,11 @@ ...@@ -287,10 +317,11 @@
</div><!-- end entry --> </div><!-- end entry -->
</div><!-- end portfolio_item --> </div><!-- end portfolio_item -->
@endif @endif
</div> </div>--}}
<div class="clearfix"></div> <div class="clearfix"></div>
</section> </section>
@endif --}} @endif
<section class="make-bg-full"> <section class="make-bg-full">
<div id="myCarousel" class="carousel slide" data-ride="carousel"> <div id="myCarousel" class="carousel slide" data-ride="carousel">
......
...@@ -219,22 +219,52 @@ ...@@ -219,22 +219,52 @@
@endif @endif
{{-- Label Gallery --}} {{-- Label Gallery --}}
{{-- @if ($gallery->count() != 0)
@if ($gallery->count() != 0)
<section class="panel-wrapper jt-shadow"> <section class="panel-wrapper jt-shadow">
<div class="container"> <div class="container">
<div class="general-title"> <div class="general-title">
<h2>Galeri</h2> <h2>Galeri</h2>
<hr> <hr>
</div> </div>
<div class="carousel_wrapper">
<div class="margin-top">
<div id="owl_shop_carousel" class="owl-carousel">
@foreach($gallery as $value)
<div class="shop_carousel">
<div class="shop_item">
<div class="entry">
@if ($setting['external_storage'] == 1)
<img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $value->gallery }}" alt="" class="img-responsive">
@else
<img src="{{ url('/storage/gallery/' . $value->thumbnail) }}" alt="" class="img-responsive">
@endif
<div class="magnifier">
<div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $value->gallery }}" target="_blank">
View
</a>
<h3>{!! $value->title !!}</h3>
</div><!-- end buttons -->
</div><!-- end magnifier -->
</div><!-- end entry -->
</div><!-- end item -->
</div><!-- end shop carousel -->
@endforeach
</div><!-- end padding-top -->
</div><!-- end carousel_wrapper -->
</div> </div>
<!-- end container --> <!-- end container -->{{--
<div class="portfolio_wrapper padding-top" style="position: relative; overflow: hidden; height: 372px;"> <div class="portfolio_wrapper padding-top" style="position: relative; overflow: hidden; height: 372px;">
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(0px, 30px); width: 379px;"> <div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(0px, 30px); width: 379px;">
<div class="entry"> <div class="entry">
<img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[0]->images !!}" alt="" class="img-responsive"> <img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[0]->gallery }}" alt="" class="img-responsive">
<div class="magnifier"> <div class="magnifier">
<div class="buttons"> <div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[0]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[0]->gallery }}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[0]->title !!}</h3> <h3>{!! $gallery[0]->title !!}</h3>
...@@ -245,10 +275,10 @@ ...@@ -245,10 +275,10 @@
@if(isset($gallery[1])) @if(isset($gallery[1]))
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(379px, 30px); width: 379px;"> <div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(379px, 30px); width: 379px;">
<div class="entry"> <div class="entry">
<img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[1]->images !!}" alt="" class="img-responsive"> <img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[1]->gallery }}" alt="" class="img-responsive">
<div class="magnifier"> <div class="magnifier">
<div class="buttons"> <div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[1]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[1]->gallery }}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[1]->title !!}</h3> <h3>{!! $gallery[1]->title !!}</h3>
...@@ -260,10 +290,10 @@ ...@@ -260,10 +290,10 @@
@if(isset($gallery[2])) @if(isset($gallery[2]))
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(758px, 30px); width: 379px;"> <div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(758px, 30px); width: 379px;">
<div class="entry"> <div class="entry">
<img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[2]->images !!}" alt="" class="img-responsive"> <img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[2]->gallery }}" alt="" class="img-responsive">
<div class="magnifier"> <div class="magnifier">
<div class="buttons"> <div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[2]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[2]->gallery }}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[2]->title !!}</h3> <h3>{!! $gallery[2]->title !!}</h3>
...@@ -275,10 +305,10 @@ ...@@ -275,10 +305,10 @@
@if(isset($gallery[3])) @if(isset($gallery[3]))
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(1137px, 30px); width: 379px;"> <div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(1137px, 30px); width: 379px;">
<div class="entry"> <div class="entry">
<img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[3]->images !!}" alt="" class="img-responsive"> <img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[3]->gallery }}" alt="" class="img-responsive">
<div class="magnifier"> <div class="magnifier">
<div class="buttons"> <div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[3]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[3]->gallery }}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[3]->title !!}</h3> <h3>{!! $gallery[3]->title !!}</h3>
...@@ -287,10 +317,10 @@ ...@@ -287,10 +317,10 @@
</div><!-- end entry --> </div><!-- end entry -->
</div><!-- end portfolio_item --> </div><!-- end portfolio_item -->
@endif @endif
</div> </div>--}}
<div class="clearfix"></div> <div class="clearfix"></div>
</section> </section>
@endif --}} @endif
<section class="make-bg-full"> <section class="make-bg-full">
<div id="myCarousel" class="carousel slide" data-ride="carousel"> <div id="myCarousel" class="carousel slide" data-ride="carousel">
......
...@@ -220,22 +220,52 @@ ...@@ -220,22 +220,52 @@
@endif @endif
{{-- Label Gallery --}} {{-- Label Gallery --}}
{{-- @if ($gallery->count() != 0)
@if ($gallery->count() != 0)
<section class="panel-wrapper jt-shadow"> <section class="panel-wrapper jt-shadow">
<div class="container"> <div class="container">
<div class="general-title"> <div class="general-title">
<h2>Galeri</h2> <h2>画廊</h2>
<hr> <hr>
</div> </div>
<div class="carousel_wrapper">
<div class="margin-top">
<div id="owl_shop_carousel" class="owl-carousel">
@foreach($gallery as $value)
<div class="shop_carousel">
<div class="shop_item">
<div class="entry">
@if ($setting['external_storage'] == 1)
<img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $value->gallery }}" alt="" class="img-responsive">
@else
<img src="{{ url('/storage/gallery/' . $value->thumbnail) }}" alt="" class="img-responsive">
@endif
<div class="magnifier">
<div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $value->gallery }}" target="_blank">
View
</a>
<h3>{!! $value->title !!}</h3>
</div><!-- end buttons -->
</div><!-- end magnifier -->
</div><!-- end entry -->
</div><!-- end item -->
</div><!-- end shop carousel -->
@endforeach
</div><!-- end padding-top -->
</div><!-- end carousel_wrapper -->
</div> </div>
<!-- end container --> <!-- end container -->{{--
<div class="portfolio_wrapper padding-top" style="position: relative; overflow: hidden; height: 372px;"> <div class="portfolio_wrapper padding-top" style="position: relative; overflow: hidden; height: 372px;">
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(0px, 30px); width: 379px;"> <div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(0px, 30px); width: 379px;">
<div class="entry"> <div class="entry">
<img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[0]->images !!}" alt="" class="img-responsive"> <img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[0]->gallery }}" alt="" class="img-responsive">
<div class="magnifier"> <div class="magnifier">
<div class="buttons"> <div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[0]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[0]->gallery }}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[0]->title !!}</h3> <h3>{!! $gallery[0]->title !!}</h3>
...@@ -246,10 +276,10 @@ ...@@ -246,10 +276,10 @@
@if(isset($gallery[1])) @if(isset($gallery[1]))
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(379px, 30px); width: 379px;"> <div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(379px, 30px); width: 379px;">
<div class="entry"> <div class="entry">
<img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[1]->images !!}" alt="" class="img-responsive"> <img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[1]->gallery }}" alt="" class="img-responsive">
<div class="magnifier"> <div class="magnifier">
<div class="buttons"> <div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[1]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[1]->gallery }}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[1]->title !!}</h3> <h3>{!! $gallery[1]->title !!}</h3>
...@@ -261,10 +291,10 @@ ...@@ -261,10 +291,10 @@
@if(isset($gallery[2])) @if(isset($gallery[2]))
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(758px, 30px); width: 379px;"> <div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(758px, 30px); width: 379px;">
<div class="entry"> <div class="entry">
<img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[2]->images !!}" alt="" class="img-responsive"> <img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[2]->gallery }}" alt="" class="img-responsive">
<div class="magnifier"> <div class="magnifier">
<div class="buttons"> <div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[2]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[2]->gallery }}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[2]->title !!}</h3> <h3>{!! $gallery[2]->title !!}</h3>
...@@ -276,10 +306,10 @@ ...@@ -276,10 +306,10 @@
@if(isset($gallery[3])) @if(isset($gallery[3]))
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(1137px, 30px); width: 379px;"> <div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(1137px, 30px); width: 379px;">
<div class="entry"> <div class="entry">
<img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[3]->images !!}" alt="" class="img-responsive"> <img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[3]->gallery }}" alt="" class="img-responsive">
<div class="magnifier"> <div class="magnifier">
<div class="buttons"> <div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['statik_konten'] !!}/gallery/{!! $gallery[3]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[3]->gallery }}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[3]->title !!}</h3> <h3>{!! $gallery[3]->title !!}</h3>
...@@ -288,10 +318,11 @@ ...@@ -288,10 +318,11 @@
</div><!-- end entry --> </div><!-- end entry -->
</div><!-- end portfolio_item --> </div><!-- end portfolio_item -->
@endif @endif
</div> </div>--}}
<div class="clearfix"></div> <div class="clearfix"></div>
</section> </section>
@endif --}} @endif
<section class="make-bg-full"> <section class="make-bg-full">
<div id="myCarousel" class="carousel slide" data-ride="carousel"> <div id="myCarousel" class="carousel slide" data-ride="carousel">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment