♻️ Reorganización de macros declarativas
This commit is contained in:
parent
99b08fa201
commit
19af38cb06
13 changed files with 80 additions and 70 deletions
|
|
@ -21,10 +21,11 @@ impl ModuleTrait for Admin {
|
|||
Some(l("module_description"))
|
||||
}
|
||||
|
||||
#[rustfmt::skip]
|
||||
fn dependencies(&self) -> Vec<ModuleStaticRef> {
|
||||
vec![
|
||||
&pagetop_minimal::Minimal,
|
||||
&pagetop_megamenu::MegaMenu
|
||||
&pagetop_megamenu::MegaMenu,
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
use super::l;
|
||||
use pagetop::prelude::*;
|
||||
use pagetop_minimal::component::*;
|
||||
use pagetop_megamenu::component::{MegaMenu, MegaMenuItem};
|
||||
use pagetop_minimal::component::*;
|
||||
|
||||
pub async fn summary(request: server::HttpRequest) -> ResultPage<Markup, FatalError> {
|
||||
let top_menu = MegaMenu::new()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue