use askama::Template;
use askama_web::WebTemplate;

#[derive(Template, WebTemplate)]
#[template(path = "landing.html")]
pub struct LandingTemplate {
  pub price: &'static str,
}

pub async fn landing_page() -> LandingTemplate {
  LandingTemplate {
    price: crate::constants::PRICE,
  }
}
