add annual link to the rendered signup page

This commit is contained in:
Joe Ardent 2024-03-11 22:47:08 -07:00
parent 884e51b84f
commit e551c5e8f3

View file

@ -33,9 +33,11 @@ lazy_static! {
/// Displays the signup page with links to Stripe
pub async fn get_signup() -> impl IntoResponse {
let annual_link = &*ANNUAL_LINK;
let monthly_link = &*MONTHLY_LINK;
SignupPage {
monthly_link: Some((*MONTHLY_LINK).to_string()),
annual_link: Some((&*ANNUAL_LINK).to_string()),
monthly_link: Some(monthly_link.to_string()),
annual_link: Some(annual_link.to_string()),
..Default::default()
}
}