Skip to content

Commit

Permalink
add: Feature Hackathon on townsquare #6870
Browse files Browse the repository at this point in the history
  • Loading branch information
developerfred committed Jul 14, 2020
1 parent 8b5e485 commit 868553a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
24 changes: 24 additions & 0 deletions app/assets/v2/css/town_square.css
Original file line number Diff line number Diff line change
Expand Up @@ -1364,3 +1364,27 @@ body.green.offer_view .announce {
margin-bottom: 2px;
margin-top: 2px;
}

/* alerts */
/* todo:
New design feature tags for cards
*/
.tag-hackathon{
background-color: rgb(247, 241, 252);
color: rgb(146, 66, 195);
padding: 4px;
display: inline-block;
}

.tag-workshop{
background-color: rgb(239, 250, 249);
color: rgb(59, 169, 153);
padding: 4px;

}

.tag-grants{
background-color: rgb(240, 240, 245);
color: rgb(22, 14, 93);
padding: 4px;
}
4 changes: 2 additions & 2 deletions app/townsquare/templates/townsquare/shared/hackathons.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div>
<div class="townsquare_block-header accordion active my-1" data-target="hackathons">
Gitcoin Hackathons
Happing Now
</div>
<div id="hackathons" class="mb-4 box-hackathons panel-active bg-shade-0">
{% for hackathon in hackathon_tabs|slice:":5" %}
Expand Down Expand Up @@ -44,7 +44,7 @@ <h5 class="font-body font-weight-semibold mb-2">
</div>
{% endfor %}
<p class="text-center bg-shade-0 mb-0 pb-3">
<a href="https://gitcoin.co/hackathon-list/" class="font-caption py-2" style="color: var(--link-color);">VIEW ALL</a>
<a href="{% url 'get_hackathons' %}" class="font-caption py-2" style="color: var(--link-color);">{% trans "VIEW ALL" %}</a>
</p>
</div>
</div>
Expand Down

0 comments on commit 868553a

Please sign in to comment.