support articles

This commit is contained in:
jude
2022-03-20 21:04:24 +00:00
parent af9d8bea62
commit 9e6a387f82
13 changed files with 202 additions and 64 deletions

View File

@ -45,14 +45,26 @@ pub async fn terms() -> Template {
Template::render("terms", &map)
}
#[get("/help")]
#[get("/")]
pub async fn help() -> Template {
let map: HashMap<&str, String> = HashMap::new();
Template::render("help", &map)
}
#[get("/help/timezone")]
#[get("/timezone")]
pub async fn help_timezone() -> Template {
let map: HashMap<&str, String> = HashMap::new();
Template::render("help_timezone", &map)
Template::render("support/timezone", &map)
}
#[get("/create_reminder")]
pub async fn help_create_reminder() -> Template {
let map: HashMap<&str, String> = HashMap::new();
Template::render("support/create_reminder", &map)
}
#[get("/delete_reminder")]
pub async fn help_delete_reminder() -> Template {
let map: HashMap<&str, String> = HashMap::new();
Template::render("support/delete_reminder", &map)
}