support articles

This commit is contained in:
jude
2022-03-20 21:41:38 +00:00
parent 9e6a387f82
commit 93da746bdc
8 changed files with 116 additions and 6 deletions

View File

@ -90,7 +90,10 @@ pub async fn initialize(
routes::help,
routes::help_timezone,
routes::help_create_reminder,
routes::help_delete_reminder
routes::help_delete_reminder,
routes::help_timers,
routes::help_todo_lists,
routes::help_macros,
],
)
.mount("/login", routes![routes::login::discord_login, routes::login::discord_callback])

View File

@ -68,3 +68,21 @@ pub async fn help_delete_reminder() -> Template {
let map: HashMap<&str, String> = HashMap::new();
Template::render("support/delete_reminder", &map)
}
#[get("/timers")]
pub async fn help_timers() -> Template {
let map: HashMap<&str, String> = HashMap::new();
Template::render("support/timers", &map)
}
#[get("/todo_lists")]
pub async fn help_todo_lists() -> Template {
let map: HashMap<&str, String> = HashMap::new();
Template::render("support/todo_lists", &map)
}
#[get("/macros")]
pub async fn help_macros() -> Template {
let map: HashMap<&str, String> = HashMap::new();
Template::render("support/macros", &map)
}