Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Malebestia committed Aug 28, 2024
1 parent 644477b commit 90643ea
Show file tree
Hide file tree
Showing 4 changed files with 2,887 additions and 1 deletion.
1 change: 1 addition & 0 deletions Resources/dist/assets/app-P8V_o66S.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Resources/dist/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Resources/css/app.css": {
"file": "assets/app-Bk8uavRe.css",
"file": "assets/app-P8V_o66S.css",
"src": "Resources/css/app.css",
"isEntry": true
},
Expand Down
38 changes: 38 additions & 0 deletions Resources/views/pages/categories/[category_slug].blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?php
use Modules\Blog\Models\Category;
use Illuminate\Support\Arr;
use Illuminate\View\View;
use function Laravel\Folio\{withTrashed,middleware, name,render};
withTrashed();
name('category_slug.show');
//middleware(['auth', 'verified']);
render(function (View $view, string $category_slug) {
$category = Category::firstWhere(['slug' => $category_slug]);
if($category == null){
return view('pub_theme::404');
}
return $view->with('category', $category);
});
?>

<x-layouts.marketing>
<section>
wip
{{-- {{ dddx(get_defined_vars()) }} --}}
{{-- @include('pub_theme::categories.show.single_swiper')
@include('pub_theme::categories.show.hot_topics')
@include('blog::components.blocks.article_list.play_money_markets') --}}

</section>



</x-layouts.marketing>
Loading

0 comments on commit 90643ea

Please sign in to comment.