Skip to content

Commit 8400459

Browse files
authored
Merge branch 'gitcoinco:master' into master
2 parents bb4edd0 + 3f1032c commit 8400459

File tree

6 files changed

+45
-9
lines changed

6 files changed

+45
-9
lines changed
Lines changed: 1 addition & 0 deletions
Loading

app/assets/v2/scss/colors.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,7 @@ html.dark-mode {
139139
.gc-alert-yellow {
140140
background-color: #FFF4CB;
141141
}
142+
143+
.text-dark-purple {
144+
color: #0E0333;
145+
}

app/assets/v2/scss/profile.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,11 @@
180180
border-radius: 50%;
181181
}
182182

183+
.trust-bonus-message {
184+
background-color: #F3587D;
185+
color: #0E0333;
186+
}
187+
183188
@media (max-width: 1200px) {
184189
.profile-header{
185190
min-height: 350px;

app/dashboard/templates/profiles/trust-vue.html

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,33 @@ <h4>Processing...</h4>
144144
:show-modal="modalShow" :type="modalName"
145145
@modal-dismissed="hideModal()">
146146
</state-modal> -->
147-
<div class="row spacer-mt-4" :class="{ trustBonusBg: apuScoreStatus === 'complete' }">
148-
<div class="col-12 col-lg-6 spacer-pb-3 pl-0 pl-lg-5">
147+
<div>
148+
<div>
149+
<div class="d-flex flex-row p-2 mb-lg-4 mx-lg-5 trust-bonus-message">
150+
<div class="d-flex flex-column p-3 p-md-2">
151+
<div class="order-0 d-lg-none w-50 w-md-25 mb-2 align-self-start">
152+
<img src="{% static 'v2/images/trust/no-trust-man.svg' %}" alt="Pink robot" />
153+
</div>
154+
<div class="order-1">
155+
<h3 class="line-height-1">Goodbye Trust Bonus. Soon Grants Protocol Launch.</h3>
156+
</div>
157+
<div class="order-2">
158+
<p class="line-height-2 font-weight-light">You cannot create a Trust Bonus score for your Passport anymore. Trust Bonus is exclusively relevant to the legacy Grants app here, which we will not continue operating much longer. On the positive flip side, as you may know, we are in full swing, working toward launching a fully revamped version of Gitcoin Grants: the Gitcoin Grants Protocol. When we roll out the new Grants app, we'll widely communicate with you how to verify your identity in the new app. See ya in the Quadratic Lands!</p>
159+
<p>
160+
<span><i class="fas fa-exclamation-circle"></i></span><a class="text-dark-purple" href="https://gov.gitcoin.co/t/request-for-feedback-proposed-future-for-the-grant-programs-and-gr16-as-we-transition-to-the-protocol/11624/42" target="_blank"><u> Find out more here.</u></a>
161+
</p>
162+
</div>
163+
</div>
164+
<div class="d-none d-lg-block align-self-center w-75 p-lg-3 pr-5">
165+
<div>
166+
<img src="{% static 'v2/images/trust/no-trust-man.svg' %}" alt="Pink robot" />
167+
</div>
168+
</div>
169+
</div>
170+
</div>
171+
</div>
172+
<div class="row spacer-mt-4 trustBonusBg mx-1 px-md-3" :class="{ trustBonusBg: apuScoreStatus === 'complete' }">
173+
<div class="col-12 col-lg-6 spacer-pb-3 pr-0 pr-lg-5 pl-0 pl-lg-4">
149174
<h1>Trust Bonus</h1>
150175
<span class="line-height-2">
151176
Trust Bonus is powered by <a href="https://passport.gitcoin.co/" target="_blank">Gitcoin Passport</a>, a decentralized identity verification application. Trust Bonus scores are calculated based on the identification stamps you complete.
@@ -156,17 +181,16 @@ <h1>Trust Bonus</h1>
156181
<br/>
157182
For more information check out, <a href="https://go.gitcoin.co/blog/wtf-is-trust-bonus/" target="_blank">"WTF is Trust Bonus?"</a>.
158183
</span>
159-
<b-button v-if="apuScoreStatus === 'complete'" :disabled="!isStaff && !isSubmissionEnabled" variant="primary" class="col-12 col-md-auto btn btn-lg mt-3 flex-shrink-0 btn-primary mt-3 refresh-button" @click="() => checkForPassport()">
184+
185+
<b-button disabled="disabled" v-if="apuScoreStatus === 'complete'" variant="primary" class="btn col-12 col-md-auto btn btn-lg mt-3 flex-shrink-0 mt-3" @click="() => checkForPassport()">
160186
Resubmit Passport
161187
</b-button>
162-
<b-button v-else variant="primary" :disabled="!isStaff && !isSubmissionEnabled" class="col-12 col-md-auto btn btn-lg mt-3 flex-shrink-0 btn-primary mt-3" @click="() => checkForPassport()">
188+
<b-button disabled="disabled" v-else class="col-12 col-md-auto btn btn-lg mt-3 flex-shrink-0 mt-3" @click="() => checkForPassport()">
163189
Submit Passport
164190
</b-button>
165-
166-
<p v-if="!isSubmissionEnabled" class="text-grey-400 spacer-mt-2 text-left small">GR15 Countdown [[countDown]]</p>
167-
<p v-if="!isSubmissionEnabled" class="text-grey-400 spacer-mt-2 text-left small">You will be able to connect your Passport when the Round begins.</p>
191+
168192
</div>
169-
<div class="col-12 col-lg-6 position-relative pr-0 pl-0 pr-lg-5">
193+
<div class="col-12 col-lg-6 position-relative pr-0 pl-0 pr-lg-3">
170194
<div class="h-100 shadow bg-white rounded flex-column text-center">
171195
<div class="d-flex flex-row-reverse"><div class="badge badge-pill bg-lightpurple mt-3 mr-3 font-subheader font-weight-light">GR[[clrRound]]</div></div>
172196
<div class="px-3 pt-3">
@@ -196,7 +220,6 @@ <h1 class="display-3 text-grey-400 currentScore" :class="{ saved: apuScoreStatus
196220
</div>
197221
</active-trust-manager>
198222

199-
200223
</div>
201224

202225
{% endif %}

app/retail/templates/shared/head.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
{% endcomment %}
1717
{% load i18n static is_in_list matches bundle %}
1818

19+
<script src="https://www.googleoptimize.com/optimize.js?id=OPT-PKX8Z87"></script>
20+
1921
<meta charset="utf-8">
2022

2123
<link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml" />

infra/production/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ const staticAssetsBucket = new aws.s3.Bucket("bucket", {
7272
website: {
7373
indexDocument: "index.html",
7474
},
75+
bucket: "bucket-0427bb4",
7576
forceDestroy: true,
7677
});
7778

0 commit comments

Comments
 (0)