add annual link to the rendered signup page
This commit is contained in:
parent
884e51b84f
commit
e551c5e8f3
1 changed files with 4 additions and 2 deletions
|
@ -33,9 +33,11 @@ lazy_static! {
|
||||||
|
|
||||||
/// Displays the signup page with links to Stripe
|
/// Displays the signup page with links to Stripe
|
||||||
pub async fn get_signup() -> impl IntoResponse {
|
pub async fn get_signup() -> impl IntoResponse {
|
||||||
|
let annual_link = &*ANNUAL_LINK;
|
||||||
|
let monthly_link = &*MONTHLY_LINK;
|
||||||
SignupPage {
|
SignupPage {
|
||||||
monthly_link: Some((*MONTHLY_LINK).to_string()),
|
monthly_link: Some(monthly_link.to_string()),
|
||||||
annual_link: Some((&*ANNUAL_LINK).to_string()),
|
annual_link: Some(annual_link.to_string()),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue