🎨 Incluye componentes base originales de PageTop
This commit is contained in:
parent
fc579fc29d
commit
ee46003c15
29 changed files with 4276 additions and 11 deletions
21
pagetop-minimal/src/module/menu.rs
Normal file
21
pagetop-minimal/src/module/menu.rs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
use pagetop::prelude::*;
|
||||
|
||||
pub_handle!(MODULE_MENU);
|
||||
|
||||
pub_locale!("src/module/menu/locales");
|
||||
|
||||
pub struct Menu;
|
||||
|
||||
impl ModuleTrait for Menu {
|
||||
fn handle(&self) -> Handle {
|
||||
MODULE_MENU
|
||||
}
|
||||
|
||||
fn name(&self) -> String {
|
||||
l("module_name")
|
||||
}
|
||||
|
||||
fn description(&self) -> Option<String> {
|
||||
Some(l("module_description"))
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue