Skip to content

Commit

Permalink
Update nav settings #major (#29)
Browse files Browse the repository at this point in the history
* Refactor navigation-scroll.blade.php to update the class names and background colors based on the scroll position and pre-scrolled route, improving the visual appearance and user experience of the navigation component.

* Update ralphjsmit/laravel-glide requirement from 1.2.1 to 1.2.2 (#28)

Updates the requirements on [ralphjsmit/laravel-glide](https://github.com/ralphjsmit/laravel-glide) to permit the latest version.
- [Release notes](https://github.com/ralphjsmit/laravel-glide/releases)
- [Changelog](https://github.com/ralphjsmit/laravel-glide/blob/main/CHANGELOG.md)
- [Commits](ralphjsmit/laravel-glide@1.2.1...1.2.2)

---
updated-dependencies:
- dependency-name: ralphjsmit/laravel-glide
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
thejmitchener and dependabot[bot] authored Nov 14, 2024
1 parent f3c3b12 commit 410717d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"pestphp/pest": "^2.34",
"pestphp/pest-plugin-arch": "^2.7",
"pestphp/pest-plugin-laravel": "^2.3",
"ralphjsmit/laravel-glide": "1.2.1",
"ralphjsmit/laravel-glide": "1.2.2",
"fuelviews/laravel-forms": "^0.0",
"livewire/livewire": "^3.5"
},
Expand Down
4 changes: 2 additions & 2 deletions resources/views/components/navigation-scroll.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
});
"
:class="{
'bg-white text-gray-700': scrolled || {{ Navigation::getPreScrolledRoute() }},
'{{ Navigation::isTransparentNavBackground() ? 'bg-transparent text-white' : 'bg-white text-gray-700' }}': !scrolled && !{{ Navigation::getPreScrolledRoute() }}
'bg-nav text-nav-type': scrolled || {{ Navigation::getPreScrolledRoute() }},
'{{ Navigation::isTransparentNavBackground() ? 'bg-transparent text-nav-type-trans' : 'bg-nav text-nav-type' }}': !scrolled && !{{ Navigation::getPreScrolledRoute() }}
}"
class="duration-600 fixed inset-x-0 top-0 z-40 drop-shadow-2xl transition-all"
x-cloak
Expand Down

0 comments on commit 410717d

Please sign in to comment.