🎨 Incluye componentes base originales de PageTop

This commit is contained in:
Manuel Cillero 2023-05-14 18:11:51 +02:00
parent fc579fc29d
commit ee46003c15
29 changed files with 4276 additions and 11 deletions

View 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"))
}
}