Skip to content

Commit 669eb31

Browse files
authored
GITC-632: dedupe Gitcoin Building Gitcoin mini banner (#9768)
1 parent 403da76 commit 669eb31

File tree

2 files changed

+35
-34
lines changed

2 files changed

+35
-34
lines changed

app/grants/templates/grants/landing/active_clr_round.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{% load humanize i18n static %}
2+
13
{% if has_active_rounds %}
24
<div class="container-fluid grants-container">
35
<div class="container">
@@ -18,6 +20,39 @@ <h4 class="font-weight-bold mb-2">Discover Match Pools</h4>
1820
{% if active_sponsor_rounds %}
1921
{% include 'grants/landing/round_by_type.html' with active_rounds=active_sponsor_rounds %}
2022
{% endif %}
23+
24+
{# Hard-coding the Gitcoin Building Gitcoin mini banner ... #}
25+
<div class="col-12 col-lg-6">
26+
<a
27+
href="https://grants.gtcdao.net/"
28+
class="active-clr-banner d-block text-decoration-none position-relative mt-3"
29+
>
30+
<div class="position-absolute w-100 h-100" style="
31+
top: 0;
32+
right: 0;
33+
background: url('{% static 'landingpage/Gitcoin_Building_Gitcoin.jpg' %}') no-repeat center;
34+
"
35+
>
36+
</div>
37+
<div style="color: #0E0333" class="round-details d-flex p-3 justify-content-between position-relative">
38+
<div>
39+
<p class="pr-5 font-bigger-1" style="max-height: 30px; overflow: hidden;">GR12 - GITCOIN BUILDING GITCOIN</p>
40+
<button class="btn btn-primary" type="submit" style="border:none; background-color: #0E0333 ">Launch App &nbsp;<i class="fa fa-external-link"></i></button>
41+
</div>
42+
<div class="text-right">
43+
<p class="mb-0 font-bigger-2 font-weight-light">$25K</span>
44+
<p class="mt-0 font-smaller-1">available</span>
45+
</div>
46+
</div>
47+
</a>
48+
49+
<div class="font-body d-flex" style="background-color: #fff;">
50+
<p class="px-3 py-2 my-auto" style="color: #0E0333 ">
51+
Main: Decentralized projects building for Gitcoin
52+
</p>
53+
</div>
54+
</div>
55+
2156
</div>
2257

2358
</div>

app/grants/templates/grants/landing/round_by_type.html

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -32,37 +32,3 @@
3232
</div>
3333
</div>
3434
{% endfor %}
35-
36-
{# Hard-coding the Gitcoin Building Gitcoin mini banner ... #}
37-
38-
<div class="col-12 col-lg-6">
39-
<a
40-
href="https://grants.gtcdao.net/"
41-
class="active-clr-banner d-block text-decoration-none position-relative mt-3"
42-
>
43-
<div class="position-absolute w-100 h-100" style="
44-
top: 0;
45-
right: 0;
46-
background: url('{% static 'landingpage/Gitcoin_Building_Gitcoin.jpg' %}') no-repeat center;
47-
"
48-
>
49-
</div>
50-
<div style="color: #0E0333" class="round-details d-flex p-3 justify-content-between position-relative">
51-
<div>
52-
<p class="pr-5 font-bigger-1" style="max-height: 30px; overflow: hidden;">GR12 - GITCOIN BUILDING GITCOIN</p>
53-
<button class="btn btn-primary" type="submit" style="border:none; background-color: #0E0333 ">Launch App &nbsp;<i class="fa fa-external-link"></i></button>
54-
</div>
55-
<div class="text-right">
56-
<p class="mb-0 font-bigger-2 font-weight-light">$25K</span>
57-
<p class="mt-0 font-smaller-1">available</span>
58-
</div>
59-
</div>
60-
</a>
61-
62-
<div class="font-body d-flex" style="background-color: #fff;">
63-
<p class="px-3 py-2 my-auto" style="color: #0E0333 ">
64-
Main: Decentralized projects building for Gitcoin
65-
</p>
66-
</div>
67-
</div>
68-

0 commit comments

Comments
 (0)