Timezone
+Learn how to configure your timezone
++ Read +
+ +diff --git a/web/src/lib.rs b/web/src/lib.rs index 28fa07d..8665ffd 100644 --- a/web/src/lib.rs +++ b/web/src/lib.rs @@ -81,9 +81,16 @@ pub async fn initialize( routes::cookies, routes::privacy, routes::terms, + routes::return_to_same_site + ], + ) + .mount( + "/help", + routes![ routes::help, routes::help_timezone, - routes::return_to_same_site + routes::help_create_reminder, + routes::help_delete_reminder ], ) .mount("/login", routes![routes::login::discord_login, routes::login::discord_callback]) diff --git a/web/src/routes/mod.rs b/web/src/routes/mod.rs index 33737d8..01ceb0f 100644 --- a/web/src/routes/mod.rs +++ b/web/src/routes/mod.rs @@ -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) } diff --git a/web/static/img/support/delete_reminder/1.png b/web/static/img/support/delete_reminder/1.png new file mode 100644 index 0000000..56bf390 Binary files /dev/null and b/web/static/img/support/delete_reminder/1.png differ diff --git a/web/static/img/support/delete_reminder/2.png b/web/static/img/support/delete_reminder/2.png new file mode 100644 index 0000000..5fd4dec Binary files /dev/null and b/web/static/img/support/delete_reminder/2.png differ diff --git a/web/static/img/support/delete_reminder/3.png b/web/static/img/support/delete_reminder/3.png new file mode 100644 index 0000000..de199c6 Binary files /dev/null and b/web/static/img/support/delete_reminder/3.png differ diff --git a/web/static/img/support/delete_reminder/cmd-1.png b/web/static/img/support/delete_reminder/cmd-1.png new file mode 100644 index 0000000..0236a74 Binary files /dev/null and b/web/static/img/support/delete_reminder/cmd-1.png differ diff --git a/web/static/img/support/delete_reminder/cmd-2.png b/web/static/img/support/delete_reminder/cmd-2.png new file mode 100644 index 0000000..ce8f655 Binary files /dev/null and b/web/static/img/support/delete_reminder/cmd-2.png differ diff --git a/web/templates/base.html.tera b/web/templates/base.html.tera index 3af2575..788ad7f 100644 --- a/web/templates/base.html.tera +++ b/web/templates/base.html.tera @@ -24,7 +24,6 @@ -
{% if flashed_message %} @@ -49,15 +48,18 @@