feat(home): update features and navbar links

- Updated the link in the "features.blade.php" file to point to "/sale-rotation".
- Updated the link in the "navbar.blade.php" file to use the route "sales.index".

These changes improve navigation and ensure consistency across pages.
This commit is contained in:
Rico van Zelst
2023-12-05 15:46:44 +01:00
parent 0b63d862e6
commit a659b4a855
2 changed files with 3 additions and 3 deletions

View File

@@ -50,7 +50,7 @@
</a> </a>
<a class="block p-8 transition bg-stone-800/40 border shadow-xl border-stone-800 rounded-xl hover:border-orange-500/10 hover:shadow-orange-500/10" <a class="block p-8 transition bg-stone-800/40 border shadow-xl border-stone-800 rounded-xl hover:border-orange-500/10 hover:shadow-orange-500/10"
href="#"> href="/sale-rotation">
<x-iconsax-bul-money-change class="h-10 text-orange-400"/> <x-iconsax-bul-money-change class="h-10 text-orange-400"/>
<h2 class="mt-4 text-xl font-bold text-white">Sale Rotation</h2> <h2 class="mt-4 text-xl font-bold text-white">Sale Rotation</h2>

View File

@@ -52,11 +52,11 @@
Assets</a> Assets</a>
</li> </li>
<li> <li>
<a href="#" <a href="{{route('sales.index')}}"
class="flex py-2 pl-3 pr-2 rounded hover:bg-stone-100 md:hover:bg-transparent class="flex py-2 pl-3 pr-2 rounded hover:bg-stone-100 md:hover:bg-transparent
md:border-0 md:hover:text-orange-500 md:p-0 md:dark:hover:text-orange-400 md:border-0 md:hover:text-orange-500 md:p-0 md:dark:hover:text-orange-400
dark:hover:bg-stone-700 dark:hover:text-white md:dark:hover:bg-transparent dark:hover:bg-stone-700 dark:hover:text-white md:dark:hover:bg-transparent
{{ request()->routeIs('sale.*') ? 'text-orange-400 font-medium' : 'text-white' }}"> {{ request()->routeIs('sales.*') ? 'text-orange-400 font-medium' : 'text-white' }}">
<x-iconsax-bul-card class="w-6 h-6 mr-1"/> <x-iconsax-bul-card class="w-6 h-6 mr-1"/>
Sale Rotation</a> Sale Rotation</a>
</li> </li>