norman-huth / nova-hide-navigation
Hiding Sidebar, Header or Footer in Laravel Nova.
Package info
github.com/Muetze42/nova-hide-navigation
Language:JavaScript
pkg:composer/norman-huth/nova-hide-navigation
Requires
- php: ^7.3|^8.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
This repository is archived and no longer maintained.
If you offer, maintain, or know of an actively maintained alternative to this project, please contact me at maintainers@huth.it.
If the alternative references this repository as its source, inspiration, predecessor, or migration path, I may list it here so existing users can find a maintained replacement.
Nova Hide Navigation
Hiding Sidebar, Header or Footer in Laravel Nova.
Just a small package. Useful if, for example, you want to use the Nova Dashboard on a smart TV in the office or
something. ☕
Installation
composer require norman-huth/nova-hide-navigation
Usage
Add hide query param to the Nova url.
Hide Nova Header
https://my-nova.app/dashboards/main?hide=h
Hide Nova Sidebar
https://my-nova.app/dashboards/main?hide=s
Hide Nova Footer
https://my-nova.app/dashboards/main?hide=f
Combine
Examples
https://my-nova.app/dashboards/main?hide=fs
https://my-nova.app/dashboards/main?hide=hs
https://my-nova.app/dashboards/main?hide=hf
Hide Header, Sidebar and Footer
https://my-nova.app/dashboards/main?hide=all
Optional: Add Custom CSS Code To The Content Container
Publish the config file and set up:
php artisan vendor:publish --provider="NormanHuth\NovaHideNavigation\AssetServiceProvider"
Example:
<?php return [ 'if_hide_header' => 'padding-top: 1.0rem;', 'if_hide_sidebar' => 'padding-left: 1.5rem;padding-right: 1.5rem;', 'if_hide_footer' => 'padding-bottom: 1.5rem;', ];