From 616dc6d5597aff22288375a0b56293365421e598 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 8 Sep 2022 16:49:46 +0000 Subject: [PATCH] Merge pull request #474 from hydephp/breaking-namespace-changes Breaking move of navigation related namespaces https://github.com/hydephp/develop/commit/f2f8c0dd7d3796f000627b617b93e5a0ca5b9d53 --- config/hyde.php | 1 - .../views/components/docs/sidebar.blade.php | 5 +- resources/views/layouts/navigation.blade.php | 74 ++++++++++--------- .../{ => Navigation}/DocumentationSidebar.php | 3 +- src/Models/{ => Navigation}/NavItem.php | 2 +- .../{ => Navigation}/NavigationMenu.php | 3 +- tests/Feature/NavigationMenuTest.php | 6 +- .../Services/DocumentationSidebarTest.php | 6 +- tests/Unit/NavItemTest.php | 4 +- tests/Unit/Views/NavigationBrandViewTest.php | 2 +- tests/Unit/Views/NavigationLinkViewTest.php | 2 +- 11 files changed, 56 insertions(+), 52 deletions(-) rename src/Models/{ => Navigation}/DocumentationSidebar.php (95%) rename src/Models/{ => Navigation}/NavItem.php (98%) rename src/Models/{ => Navigation}/NavigationMenu.php (95%) diff --git a/config/hyde.php b/config/hyde.php index e53a7cad..796017aa 100644 --- a/config/hyde.php +++ b/config/hyde.php @@ -14,7 +14,6 @@ use Hyde\Framework\Helpers\Features; use Hyde\Framework\Helpers\Meta; use Hyde\Framework\Models\Author; -use Hyde\Framework\Models\NavItem; return [ /* diff --git a/resources/views/components/docs/sidebar.blade.php b/resources/views/components/docs/sidebar.blade.php index 3028ce2e..3ce61288 100644 --- a/resources/views/components/docs/sidebar.blade.php +++ b/resources/views/components/docs/sidebar.blade.php @@ -3,9 +3,10 @@ class="bg-gray-100 dark:bg-gray-800 dark:text-gray-200 h-screen w-64 fixed z-30 -