fix
This commit is contained in:
@@ -24,8 +24,8 @@ class HomeController extends Controller
|
|||||||
$data = self::init();
|
$data = self::init();
|
||||||
$data['display_by_rows'] = $input['by_rows'] ?? false;
|
$data['display_by_rows'] = $input['by_rows'] ?? false;
|
||||||
$data['shelves'] = Articles::getArticlesByHomepage();
|
$data['shelves'] = Articles::getArticlesByHomepage();
|
||||||
// dump($data['shelves']);
|
dump($data['shelves']);
|
||||||
// exit;
|
exit;
|
||||||
$data['tags'] = TagGroups::getWithTagsAndCountOffers();
|
$data['tags'] = TagGroups::getWithTagsAndCountOffers();
|
||||||
return view('Shop.home', $data);
|
return view('Shop.home', $data);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@if (count($shelve['articles']))
|
@if ($shelve['articles'])
|
||||||
<div class="mb-3 bg-light">
|
<div class="mb-3 bg-light">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
|
|||||||
Reference in New Issue
Block a user