norman-huth/nova-hide-navigation
Composer 安装命令:
composer require norman-huth/nova-hide-navigation
包简介
Hiding Sidebar, Header or Footer in Laravel Nova.
README 文档
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;', ];
统计信息
- 总下载量: 1.56k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-11-04