Skip to content

Commit

Permalink
Add additional homepage links (#671)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jujhar authored and dajohi committed Jun 6, 2019
1 parent 276f176 commit da4bc7f
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ src/resources/_gen
src/public/
src/i18n/*
node_modules/
.DS_Store
44 changes: 44 additions & 0 deletions src/assets/css/decred-v5.css
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,33 @@ body {
flex: 0 0 auto;
}

.footer-inline {
padding-top: 23px!important;
padding-right: 7px;
padding-left: 21px;
display: inline-block!important;
}

.footer-inline-el {
margin-bottom: -5px !important;
padding-top: 20px!important;
padding-right: 0px;
padding-left: 67px;
display: inline-block!important;
}

#explorer-links {
margin-top: 26px;
}

.footer-margin-left {
margin-left: -14px;
}

.footer-margin-bottom {
margin-bottom: -3px;
}

.margin65 {
margin-bottom: 65px;
}
Expand Down Expand Up @@ -7265,4 +7292,21 @@ p.get-into__link {
.subpage-description {
margin-top: 63%;
}

@media (min-width: 842px) {
#explorer-links {
text-align: center;
}
}

@media (max-width: 991px) {
.footer-inline-el {
padding-left: 0px;
}
}

@media (min-width: 993px) {
.footer-inline-el {
padding-left: 60px;
}
}
9 changes: 6 additions & 3 deletions src/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
<div class="footercolumns width1100">
<div class="footerrows w-row">
<div class="footerrowscolumn1 w-col w-col-3 w-col-medium-3">
<a href="https://github.com/decred" target="_blank" rel="noopener noreferrer" class="footerblocklinkdev">{{ T "general_copyright" }}</a>
<a href="https://github.com/decred" target="_blank" rel="noopener noreferrer" class="footerblocklinkdev footer-margin-bottom">{{ T "general_copyright" }}</a>
<a href="https://timestamp.decred.org" target="_blank" rel="noopener noreferrer" class="footer-inline footerblocklink transition footer-margin-top footer-margin-left">{{ T "nav_time" }}</a>
<a href="https://bounty.decred.org" target="_blank" rel="noopener noreferrer" class="footer-inline footerblocklink transition">{{ T "nav_bounty" }}</a>
</div>
<div class="footerrowscolumn1 w-col w-col-3 w-col-medium-3">
<a href="{{ "brand/" | relLangURL }}" class="footerblocklink transition">{{ T "nav_brand_resources" }}</a>
Expand All @@ -26,6 +28,9 @@
</div>
<div class="footerblockstatsrow w-clearfix"><a id="footerDownloads" class="backgroundwashedblue borderradius4 dropshadow footerblockstatslink" href="{{ "downloads/" | relLangURL }}">52k {{ T "general_total" }}</a>
<div class="footerblockstatsname">{{ T "general_downloads" }}</div>
<div id="explorer-links">
<a href="https://dcrdata.decred.org/" target="_blank" rel="noopener noreferrer" class="footer-inline-el footerblocklink transition">{{ T "nav_dcrdata" }}</a>
</div>
</div>
</div>
<div class="footerblockicon footerrowscolumn1 w-clearfix w-col w-col-2 w-col-medium-2">
Expand All @@ -37,5 +42,3 @@
</div>
</div>
</div>


3 changes: 3 additions & 0 deletions transifex_catalogs/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"description": "Decred is an autonomous digital currency. With a hybrid consensus system, it is built to be a decentralized, sustainable, and self-ruling currency where stakeholders make the rules.",
"general_copyright": "Decred Developers",
"nav_brand_resources": "Brand Resources",
"nav_bounty": "bounty",
"nav_dcrdata": "Block Explorer",
"nav_time": "timestamp",
"nav_in_the_press": "Decred in the Press",
"nav_become_contributor": "Become a Contributor",
"nav_tech_overview": "Technical Overview",
Expand Down

0 comments on commit da4bc7f

Please sign in to comment.