diff --git a/app/assets/v2/css/quickstart.css b/app/assets/v2/css/quickstart.css index 5853b7a0170..d1663cd98f8 100644 --- a/app/assets/v2/css/quickstart.css +++ b/app/assets/v2/css/quickstart.css @@ -1,27 +1,14 @@ -body.quickstart, -.quickstart { - background: #f6f6f6; -} - .quickstart .title { color: #0d0764; letter-spacing: 0; } -.quickstart .container-fluid.content { - margin-bottom: 13rem; - text-align: left; -} - .quickstart h4.title { font-size: 2.75rem; } .quickstart .dont-show { - text-align: right; - font-style: italic; color: #4a4a4a; - width: 100%; } .quickstart .dont-show .checkbox_container .filter-label { @@ -61,7 +48,6 @@ body.quickstart, } .steps-list p { - font-size: 1.1rem; color: #4a4a4a } @@ -69,7 +55,6 @@ body.quickstart, color: #3d3d46; list-style-type: none; line-height: 2.5rem; - font-size: 1.1rem; } .steps-list .action-footer { @@ -77,11 +62,11 @@ body.quickstart, } .action-footer .video-link { - width: 30%; + width: 40%; } .action-footer .btn { - border-radius: 2px; + border-radius: 3px; background-color: #0c0763; border-color: #0c0763; } @@ -92,12 +77,11 @@ body.quickstart, } .tips-list ul li { - font-size: 0.95rem !important; line-height: 2rem !important; } .issuetypes-container { - background-color: #efefef; + background-color: #fafafa; } .issuetypes-container .subheading { diff --git a/app/assets/v2/js/pages/new_bounty.js b/app/assets/v2/js/pages/new_bounty.js index fdae9c9853e..8a10b3038e8 100644 --- a/app/assets/v2/js/pages/new_bounty.js +++ b/app/assets/v2/js/pages/new_bounty.js @@ -5,8 +5,6 @@ load_tokens(); var localStorage = window.localStorage ? window.localStorage : {}; -const quickstartURL = document.location.origin + '/bounty/quickstart'; - const FEE_PERCENTAGE = document.FEE_PERCENTAGE / 100.0; var new_bounty = { @@ -16,22 +14,24 @@ var new_bounty = { if (localStorage['quickstart_dontshow'] !== 'true' && doShowQuickstart(document.referrer) && doShowQuickstart(document.URL)) { - window.location = quickstartURL; + window.location = document.location.origin + '/bounty/quickstart'; } -function doShowQuickstart(url) { - var fundingURL = document.location.origin + '/funding/new\\?'; - var bountyURL = document.location.origin + '/bounty/new\\?'; - var blacklist = [ fundingURL, bountyURL, quickstartURL ]; +const doShowQuickstart = url => { + let blacklist = []; + + blacklist.push(document.location.origin + '/bounty/quickstart'); + blacklist.push(document.location.origin + '/bounty/new\\?'); + blacklist.push(document.location.origin + '/funding/new\\?'); + blacklist.push(document.location.origin + '/new\\?'); - for (var i = 0; i < blacklist.length; i++) { - if (url.match(blacklist[i])) { + for (let i = 0; i < blacklist.length; i++) { + if (url.match(blacklist[i])) return false; - } } return true; -} +}; var processedData; diff --git a/app/dashboard/templates/quickstart.html b/app/dashboard/templates/quickstart.html index 580bd891df2..78f78487e75 100644 --- a/app/dashboard/templates/quickstart.html +++ b/app/dashboard/templates/quickstart.html @@ -31,14 +31,14 @@ {% include 'shared/top_nav.html' with class='d-md-flex' %} {% include 'shared/nav.html' %} -
{% trans "Ideas, discussions, contests, consulting" %}
{% blocktrans %}
- Builders/Project Managers:
- Leverage our global, on-demand workforce. Find expert freelance developers to design, test, code, and build your project teams today. Save time via direct Github integration. Crowdfund for your open source startup or project to increase your budget and bring in more developers.
+ Builders/Project Managers:
+ Leverage our global, on-demand workforce. Find expert freelance developers to design,\
+ test, code, and build your project teams today. Save time via direct Github integration.
+ Crowdfund for your open source startup or project to increase your budget and bring in
+ more developers.
+ {% endblocktrans %}
- Fund an Issue/Project
- Grants
+ Fund an Issue/Project
+ Grants
- {% endblocktrans %}
{% blocktrans %}
Coders/Software Developers:
Get paid in crypto for freelance jobs, building features, and solving bug bounties! Work with top open source projects and get paid out fast.
{% endblocktrans %}
- {% trans "Bug Bounties" %}
+ {% trans "Bug Bounties" %}