summaryrefslogtreecommitdiff
path: root/src/handlers.rs
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2025-05-19 21:43:38 -0400
committerAdam T. Carpenter <atc@53hor.net>2025-05-19 21:43:38 -0400
commitf8ecb3c0f228101f9da7589527e73525ebec1d1f (patch)
tree1e589ea452ddfdff89de9049640939e138096027 /src/handlers.rs
parent7b23f7ff329bd463ae2e8736390b479bf5501a5f (diff)
downloadcarpentertutoring-f8ecb3c0f228101f9da7589527e73525ebec1d1f.tar.xz
carpentertutoring-f8ecb3c0f228101f9da7589527e73525ebec1d1f.zip
feat: begin higheredHEADmaster
Diffstat (limited to 'src/handlers.rs')
-rw-r--r--src/handlers.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/handlers.rs b/src/handlers.rs
index 43d31fd..8b3ea27 100644
--- a/src/handlers.rs
+++ b/src/handlers.rs
@@ -2,11 +2,13 @@ use crate::posts::abstractions::repo::PostRepo;
use crate::tutors::abstractions::tutor_repo::TutorRepo;
use crate::views::about::AboutView;
use crate::views::brochure::BrochureTemplate;
+use crate::views::highered::HigherEdTemplate;
use crate::views::index::IndexTemplate;
use crate::views::k12::K12Template;
use crate::views::policies::PoliciesTemplate;
use crate::views::post::PostView;
use crate::views::posts::PostsView;
+use crate::views::pro::ProTemplate;
use askama::Template;
use axum::extract::{Path, State};
use axum::response::Html;
@@ -45,3 +47,11 @@ pub async fn post_handler(
pub async fn k12_handler() -> Html<String> {
Html(K12Template {}.render().unwrap())
}
+
+pub async fn highered_handler() -> Html<String> {
+ Html(HigherEdTemplate {}.render().unwrap())
+}
+
+pub async fn pro_handler() -> Html<String> {
+ Html(ProTemplate {}.render().unwrap())
+}