Skip to content

Commit

Permalink
Merge pull request #40 from centre-for-effective-altruism/dev
Browse files Browse the repository at this point in the history
Deploy updated GWWC login screen
  • Loading branch information
mordaroso authored Jan 16, 2024
2 parents a385966 + 16735ed commit 4f506a7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
1 change: 0 additions & 1 deletion cli/manifests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export const RULE_MANIFEST: RuleDefinition[] = [
const applicationNames = [
'EA Funds',
'Giving What We Can',
'Giving What We Can - Lyra',
'Parfit Admin',
]
const Clients = await getAllClients()
Expand Down
21 changes: 21 additions & 0 deletions templates/login.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@
#prompt-logo-center {
display: none;
}
header p {
text-indent: -9999999px;
font-size: 0px !important;
}
header p:after {
content: "Log in to your Giving What We Can account";
text-indent: 0;
display: block;
font-size: 1rem;
line-height: initial;
}
h1 {
text-indent: -9999999px;
font-size: 0px !important;
Expand Down Expand Up @@ -102,13 +113,23 @@
<div class="widget-wrapper">
{%- auth0:widget -%}
</div>
{% if application.name contains "Giving" %}
<div class="secondary-box">
By creating a <a href="https://www.givingwhatwecan.org/" target="_blank" rel="noreferrer">Giving What We Can</a> account,
you agree to the <a href="https://www.givingwhatwecan.org/terms" target="_blank" rel="noreferrer">Terms of Use</a> and <a href="https://www.givingwhatwecan.org/privacy" target="_blank" rel="noreferrer">Privacy Policy</a>.
</div>
<div class="secondary-box contact-us">
Having issues? <strong><a href="https://www.givingwhatwecan.org/about-us/contact-us">Get in touch</a></strong>.
</div>
{% else %}
<div class="secondary-box">
By creating an <a href="https://effectivealtruism.org" target="_blank" rel="noreferrer">EffectiveAltruism.org</a> account,
you agree to the <a href="https://effectivealtruism.org/terms-and-conditions" target="_blank" rel="noreferrer">Terms of Use</a> and <a href="https://ev.org/ops/about/privacy-policy" target="_blank" rel="noreferrer">Privacy Policy</a>.
</div>
<div class="secondary-box contact-us">
Having issues? <strong><a href="https://centreforeffectivealtruism.org/contact">Get in touch</a></strong>.
</div>
{% endif %}
</div>
</body>
</html>

0 comments on commit 4f506a7

Please sign in to comment.