Skip to content

Commit

Permalink
Merge pull request #533 from yral-dapp/feature/tnc_in_login
Browse files Browse the repository at this point in the history
feat: add tnc in the login modal
  • Loading branch information
tushar-saxena-yral authored Dec 3, 2024
2 parents e0c75fc + 38e4cae commit d9ec5de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ssr/src/component/auth_providers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ pub fn LoginProviders(show_modal: RwSignal<bool>, lock_closing: RwSignal<bool>)
<h1 class="text-xl">Login to Yral</h1>
<img class="h-32 w-32 object-contain my-8" src="/img/logo.webp" />
<span class="text-md">Continue with</span>
<div class="flex w-full gap-4">
<div class="flex flex-col w-full gap-4">

{
#[cfg(feature = "local-auth")]
Expand All @@ -171,7 +171,9 @@ pub fn LoginProviders(show_modal: RwSignal<bool>, lock_closing: RwSignal<bool>)
#[cfg(any(feature = "oauth-ssr", feature = "oauth-hydrate"))]
view! { <google::GoogleAuthProvider></google::GoogleAuthProvider> }
}

<div id="tnc" class="text-white text-center">
By continuing you agree to our <a class="text-primary-600 underline" href="/terms-of-service">Terms of Service</a>
</div>
</div>
</div>
}
Expand Down

0 comments on commit d9ec5de

Please sign in to comment.