Commit c24d651d by Bagus Pambudi

fix gallery index view

parent c049e4c2
...@@ -23,7 +23,7 @@ class FrontController extends Controller ...@@ -23,7 +23,7 @@ class FrontController extends Controller
if (Session::get('selected_language') == 'id') { if (Session::get('selected_language') == 'id') {
$data = $this->getDataId($setting); $data = $this->getDataId($setting);
dd($data);
return view('webprofile.front.'.$setting['theme'].'.index', $data); return view('webprofile.front.'.$setting['theme'].'.index', $data);
} elseif (Session::get('selected_language') == 'en') { } elseif (Session::get('selected_language') == 'en') {
$data = $this->getDataEn($setting); $data = $this->getDataEn($setting);
......
...@@ -211,10 +211,10 @@ ...@@ -211,10 +211,10 @@
<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')['directory'] !!}/gallery/{!! $gallery[0]->images !!}" alt="" class="img-responsive"> <img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_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')['directory'] !!}/gallery/{!! $gallery[0]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['directory'] !!}/gallery/{!! $gallery[0]->gallery !!}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[0]->title !!}</h3> <h3>{!! $gallery[0]->title !!}</h3>
...@@ -225,10 +225,10 @@ ...@@ -225,10 +225,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')['directory'] !!}/gallery/{!! $gallery[1]->images !!}" alt="" class="img-responsive"> <img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_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')['directory'] !!}/gallery/{!! $gallery[1]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['directory'] !!}/gallery/{!! $gallery[1]->gallery !!}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[1]->title !!}</h3> <h3>{!! $gallery[1]->title !!}</h3>
...@@ -240,10 +240,10 @@ ...@@ -240,10 +240,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')['directory'] !!}/gallery/{!! $gallery[2]->images !!}" alt="" class="img-responsive"> <img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_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')['directory'] !!}/gallery/{!! $gallery[2]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['directory'] !!}/gallery/{!! $gallery[2]->gallery !!}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[2]->title !!}</h3> <h3>{!! $gallery[2]->title !!}</h3>
...@@ -255,10 +255,10 @@ ...@@ -255,10 +255,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')['directory'] !!}/gallery/{!! $gallery[3]->images !!}" alt="" class="img-responsive"> <img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_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')['directory'] !!}/gallery/{!! $gallery[3]->images !!}" target="_blank"> <a class="st btn btn-default" rel="bookmark" href="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/{!! Session::get('ss_setting')['directory'] !!}/gallery/{!! $gallery[3]->gallery !!}" target="_blank">
View View
</a> </a>
<h3>{!! $gallery[3]->title !!}</h3> <h3>{!! $gallery[3]->title !!}</h3>
......
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