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..9089833d4f3 100644 --- a/app/assets/v2/js/pages/new_bounty.js +++ b/app/assets/v2/js/pages/new_bounty.js @@ -19,19 +19,20 @@ if (localStorage['quickstart_dontshow'] !== 'true' && window.location = quickstartURL; } -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 = [quickstartURL]; - for (var i = 0; i < blacklist.length; i++) { - if (url.match(blacklist[i])) { + blacklist.push(document.location.origin + '/bounty/new\\?'); + blacklist.push(document.location.origin + '/funding/new\\?'); + blacklist.push(document.location.origin + '/new\\?'); + + 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" %}