-
-
Notifications
You must be signed in to change notification settings - Fork 775
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add beyond_blockhain hackathon page
- update typeform link - updated hackahton banner - updated model to add unique identifer - created config file to store sponsors list - added custom styling for the page
- Loading branch information
1 parent
60ed0a0
commit 5079620
Showing
11 changed files
with
327 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
.banner .img-holder { | ||
margin: 1em; | ||
align-items: center; | ||
display: flex; | ||
transition: all .2s ease-in-out; | ||
} | ||
|
||
.banner .img-holder--dark { | ||
background-color:#333; | ||
} | ||
|
||
.banner .img-holder--light { | ||
background-color:#eee; | ||
} | ||
|
||
.banner .sponsors-gold .img-holder { | ||
width: 113px; | ||
height: 113px; | ||
padding: 1em; | ||
} | ||
|
||
.banner .sponsors-silver .img-holder { | ||
width: 75px; | ||
height: 75px; | ||
padding: 0.8em; | ||
} | ||
|
||
.banner .img-holder:hover { | ||
transform: scale(1.1); | ||
} | ||
|
||
.ui-tooltip { | ||
padding-top: 6px; | ||
padding-bottom: 6px; | ||
} | ||
|
||
.ui-tooltip-content { | ||
font-size: 0.75rem; | ||
font-weight: 600; | ||
} | ||
|
||
.banner { | ||
background: linear-gradient(161deg, rgba(55,27,181,1) 37%, rgba(255,51,117,1) 100%); | ||
} | ||
|
||
.banner .hackathon-logo { | ||
max-width: 40rem; | ||
} | ||
|
||
.banner .img-holder { | ||
width: 113px; | ||
height: 113px; | ||
padding: 1em; | ||
} | ||
|
||
.banner .hackathon-name { | ||
font-size: 3rem; | ||
letter-spacing: 12px; | ||
line-height: 72px; | ||
text-transform: uppercase; | ||
} | ||
|
||
/* Beyond Blockchain 2019 */ | ||
#beyondblockchain_2019 { | ||
background: #121315; | ||
} | ||
|
||
#beyondblockchain_2019 .hackathon-name { | ||
font-size: 4rem; | ||
} | ||
|
||
#beyondblockchain_2019 .sponsors-gold img { | ||
width: 12rem; | ||
} | ||
|
||
#beyondblockchain_2019 .img-holder { | ||
width: auto; | ||
height: auto; | ||
padding: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
# -*- coding: utf-8 -*- | ||
''' | ||
Copyright (C) 2019 Gitcoin Core | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Affero General Public License as published | ||
by the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Affero General Public License for more details. | ||
You should have received a copy of the GNU Affero General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
''' | ||
|
||
from django.templatetags.static import static | ||
from django.utils.translation import gettext_lazy as _ | ||
|
||
eth_hack = { | ||
'hackathon_id' : 'eth_hack', | ||
'sponsors_gold' : [ | ||
{ | ||
'name' : 'Quorum', | ||
'logo' : static('v2/images/hackathon/ethhack/sponsors/big/quorum.svg') | ||
}, | ||
{ | ||
'name' : 'Consensys Labs', | ||
'logo' : static('v2/images/hackathon/ethhack/sponsors/big/labs-logo-blue.svg') | ||
}, | ||
{ | ||
'name' : 'MythX', | ||
'logo' : static('v2/images/hackathon/ethhack/sponsors/big/mythx-light.png') | ||
}, | ||
{ | ||
'name' : 'Pegasys', | ||
'logo' : static('v2/images/hackathon/ethhack/sponsors/big/pegasys-logo.svg') | ||
}, | ||
{ | ||
'name' : 'Microsoft', | ||
'logo' : static('v2/images/hackathon/ethhack/sponsors/big/microsoft.svg') | ||
}, | ||
{ | ||
'name' : 'Adex', | ||
'logo' : static('v2/images/hackathon/ethhack/sponsors/big/adex-vector-logo.svg') | ||
} | ||
], | ||
'sponsors_silver' : [ | ||
{ | ||
'name' : 'Chainlink', | ||
'logo' : static('v2/images/hackathon/ethhack/sponsors/small/chainlink-hexagon.svg') | ||
}, | ||
{ | ||
'name' : 'Kauri', | ||
'logo' : static('v2/images/hackathon/ethhack/sponsors/small/kauri_logo_vertical.svg') | ||
}, | ||
{ | ||
'name' : 'LeapDAO', | ||
'logo' : static('v2/images/hackathon/ethhack/sponsors/small/leapdao.svg') | ||
}, | ||
{ | ||
'name' : 'Kleros', | ||
'logo' : static('v2/images/hackathon/ethhack/sponsors/small/kleros-logo-vertical.svg') | ||
}, | ||
{ | ||
'name' : 'Alethio', | ||
'logo' : static('v2/images/hackathon/ethhack/sponsors/small/alethio-no-bg.svg') | ||
}, | ||
{ | ||
'name' : 'Coinmark', | ||
'logo' : static('v2/images/hackathon/ethhack/sponsors/small/coinmark_blue_lg.svg') | ||
}, | ||
{ | ||
'name' : 'Autom(8)', | ||
'logo' : static('v2/images/hackathon/ethhack/sponsors/small/autom8.svg') | ||
}, | ||
{ | ||
'name' : 'POA', | ||
'logo' : static('v2/images/hackathon/ethhack/sponsors/small/logo_poa.svg') | ||
} | ||
] | ||
} | ||
|
||
beyondblockchain_2019 = { | ||
'sponsor_bg' : 'none', | ||
'sponsors_gold' : [ | ||
{ | ||
'name' : 'Consensys Labs', | ||
'logo' : static('v2/images/hackathon/ethhack/sponsors/big/labs-logo-blue.svg') | ||
} | ||
] | ||
} |
18 changes: 18 additions & 0 deletions
18
app/dashboard/migrations/0034_hackathonevent_identifier.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 2.1.7 on 2019-06-19 18:21 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('dashboard', '0033_bounty_bounty_categories'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='hackathonevent', | ||
name='identifier', | ||
field=models.CharField(default='', max_length=255), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.