diff --git a/resources/views/components/custom/menu.blade.php b/resources/views/components/custom/menu.blade.php new file mode 100644 index 0000000..3cd7efd --- /dev/null +++ b/resources/views/components/custom/menu.blade.php @@ -0,0 +1,77 @@ + function ($query) { + $query->where('status', 'published') + ->where('show_in_menu', true) + ->orderBy('sort_order', 'asc') + ->orderBy('title', 'asc'); + }, 'children.children' => function ($query) { + $query->where('status', 'published') + ->where('show_in_menu', true) + ->orderBy('sort_order', 'asc') + ->orderBy('title', 'asc'); + }]) + ->whereNull('parent_id') + ->where('status', 'published') + ->where('show_in_menu', true) + ->orderBy('sort_order', 'asc') + ->orderBy('title', 'asc') + ->get(); +?> + +@if($menuItems->isNotEmpty()) +
+@endif \ No newline at end of file diff --git a/resources/views/components/custom/navbar-other.blade.php b/resources/views/components/custom/navbar-other.blade.php new file mode 100644 index 0000000..7a732e5 --- /dev/null +++ b/resources/views/components/custom/navbar-other.blade.php @@ -0,0 +1,17 @@ +asdad \ No newline at end of file diff --git a/resources/views/components/custom/offcanvas.blade.php b/resources/views/components/custom/offcanvas.blade.php new file mode 100644 index 0000000..87b4e0f --- /dev/null +++ b/resources/views/components/custom/offcanvas.blade.php @@ -0,0 +1,13 @@ + \ No newline at end of file