Skip to content

Commit

Permalink
Merge pull request #4307 from gitcoinco/seo-landing
Browse files Browse the repository at this point in the history
add links to footer
  • Loading branch information
SaptakS authored May 2, 2019
2 parents 72cd6bc + 4db773e commit e889a69
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 79 deletions.
18 changes: 6 additions & 12 deletions app/assets/v2/css/gitcoin.css
Original file line number Diff line number Diff line change
Expand Up @@ -370,22 +370,16 @@ div.button-pink {
background-size: contain;
background-position: bottom;
background-repeat: no-repeat;
max-width: 1000px;
margin: 0 auto;
min-height: 300px;
min-height: 520px;
}

.footer__top {
max-width: 1000px;
margin: 0 auto;
}

.footer__social .nav-link {
margin-bottom: 1rem;
.footer__text,
.footer__text a {
color: white;
}

.footer .navbar-brand {
flex-grow: 1;
.footer__text a {
text-decoration: underline;
}

.footer {
Expand Down
1 change: 1 addition & 0 deletions app/assets/v2/css/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ img.play {
text-align: left;
padding: 1rem 1.8rem;
margin-bottom: 1.9rem;
max-width: 100%;
}

.button__home i {
Expand Down
2 changes: 1 addition & 1 deletion app/retail/templates/home/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{% include 'shared/top_nav.html' with class='d-md-flex' %}
{% include 'home/nav.html' %}
</div>
<div class="banner header">
<div class="banner header overflow-hidden">
<div class="row">
<div class="col-12 col-md-8 col-xl-6 pl-lg-5">
<div class="mx-4 mx-lg-5 px-lg-5 pb-lg-5">
Expand Down
141 changes: 75 additions & 66 deletions app/retail/templates/shared/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,74 +16,83 @@

{% endcomment %}
{% load i18n static %}
<div class="container-fluid footer">
<div class="d-flex flex-wrap align-items-center footer__top justify-content-around pr-5 pl-5 pt-5">
<a class="navbar-brand text-center pt-0 pb-0 mb-3" href="/">
<img id="logo" src="{% static "v2/images/logo_large.png" %}" data-hover="{% static "v2/images/logo_med_hover.gif" %}" width="150" height="50" />
</a>
<div class="nav footer__social justify-content-center">
<a class="nav-link" href="{% url "medium" %}">
<img src="{% static "v2/images/social/medium.png" %}" alt="Medium">
</a>
<a class="nav-link" href="{% url "gitter" %}">
<img src="{% static "v2/images/social/gitter.png" %}" alt="Gitter">
</a>
<a class="nav-link" href="{% url "github" %}">
<img src="{% static "v2/images/social/github.png" %}" alt="Github">
</a>
<a class="nav-link hide_min_viewport" href="{% url "fb" %}">
<img src="{% static "v2/images/social/facebook.png" %}" alt="Facebook">
</a>
<a class="nav-link" href="{% url "twitter" %}">
<img src="{% static "v2/images/social/twitter.png" %}" alt="Twitter">
</a>
<a class="nav-link" href="{% url "reddit" %}">
<img src="{% static "v2/images/social/reddit.png" %}" alt="Reddit">
</a>
<a class="nav-link" href="{% url "slack" %}">
<img src="{% static "v2/images/social/slack.png" %}" alt="Slack">
</a>
<a class="nav-link" href="{% url "btctalk" %}">
<img src="{% static "v2/images/bitcointalk.png" %}" alt="Bitcoin">
</a>
<a class="nav-link" href="mailto:[email protected]">
<img src="{% static "v2/images/social/mail.png" %}" alt="Mail">
</a>
<footer class="container-fluid no-gutters footer">
<div class="container footer__main">
<div class="row">
<div class="col-md-4">
<a class="navbar-brand text-center pt-0 pb-0 mb-3" href="/">
<img id="logo" src="{% static "v2/images/logo_large.png" %}" data-hover="{% static "v2/images/logo_med_hover.gif" %}" width="150" height="50" />
</a>
<p class="footer__text">Gitcoin is a platform for you to get paid for working on open source software in <a href="{% url 'contributor_bounties' '/python' %}">Python</a>, <a href="{% url 'contributor_bounties' '/rust' %}">Rust</a>, <a href="{% url 'contributor_bounties' '/ruby' %}">Ruby</a>, <a href="{% url 'contributor_bounties' '/javascript' %}">JavaScript</a>, <a href="{% url 'contributor_bounties' '/solidity' %}">Solidity</a>, <a href="{% url 'contributor_bounties' '/html' %}">HTML</a>, <a href="{% url 'contributor_bounties' '/css' %}">CSS</a>, <a href="{% url 'contributor_bounties' '/design' %}">Design</a>, and more.</p>
</div>
<div class="col-md-8">
<div class="nav mb-3">
<a class="nav-link" href="{% url "medium" %}">
<img src="{% static "v2/images/social/medium.png" %}" alt="Medium">
</a>
<a class="nav-link" href="{% url "gitter" %}">
<img src="{% static "v2/images/social/gitter.png" %}" alt="Gitter">
</a>
<a class="nav-link" href="{% url "github" %}">
<img src="{% static "v2/images/social/github.png" %}" alt="Github">
</a>
<a class="nav-link hide_min_viewport" href="{% url "fb" %}">
<img src="{% static "v2/images/social/facebook.png" %}" alt="Facebook">
</a>
<a class="nav-link" href="{% url "twitter" %}">
<img src="{% static "v2/images/social/twitter.png" %}" alt="Twitter">
</a>
<a class="nav-link" href="{% url "reddit" %}">
<img src="{% static "v2/images/social/reddit.png" %}" alt="Reddit">
</a>
<a class="nav-link" href="{% url "slack" %}">
<img src="{% static "v2/images/social/slack.png" %}" alt="Slack">
</a>
<a class="nav-link" href="{% url "btctalk" %}">
<img src="{% static "v2/images/bitcointalk.png" %}" alt="Bitcoin">
</a>
<a class="nav-link" href="mailto:[email protected]">
<img src="{% static "v2/images/social/mail.png" %}" alt="Mail">
</a>
</div>
<div class="d-flex flex-wrap">
<div class="sitenav sitenav__product">
<h5>{% trans "Product" %}</h5>
<a href="{% url "explorer" %}">{% trans "Issue Explorer" %}</a>
<a href="{% url "kudos_main" %}">{% trans "Kudos" %}</a>
<a href="{% url "grants:grants" %}">{% trans "Grants" %}</a>
<a href="{% url "labs" %}">{% trans "Labs" %}</a>
</div>
<div class="sitenav">
<h5>{% trans "Business" %}</h5>
<a href="{% url "about" %}">{% trans "About" %}</a>
<a href="{% url "mission" %}">{% trans "Mission" %}</a>
<a href="{% url "results" %}">{% trans "Results" %}</a>
<a href="{% url "tools" %}">{% trans "Tools" %}</a>
<a href="{% url "jobs" %}">{% trans "Jobs" %}</a>
</div>
<div class="sitenav">
<h5>{% trans "Community" %}</h5>
<a class="slack{% if active == 'slack' %} selected{% endif %}" href="{% url "slack" %}">
Slack ({{num_slack}})
</a>
<a href="{% url "activity" %}">{% trans "Activity Feed" %}</a>
<a href="{% url "help" %}">{% trans "Help" %}</a>
</div>
<div class="sitenav">
<h5>{% trans "Legal" %}</h5>
<a href="{% url "terms" %}" target="_blank" rel="noopener noreferrer">{% trans "Terms" %}</a>
<a href="{% url "privacy" %}" target="_blank" rel="noopener noreferrer">{% trans "Privacy" %}</a>
</div>
</div>
</div>
</div>
</div>
<div class="footer__main d-flex justify-content-end flex-wrap pl-4 pr-5 pb-5">
<div class="sitenav sitenav__product">
<h5>{% trans "Product" %}</h5>
<a href="{% url "explorer" %}">{% trans "Issue Explorer" %}</a>
<a href="{% url "kudos_main" %}">{% trans "Kudos" %}</a>
<a href="{% url "grants:grants" %}">{% trans "Grants" %}</a>
<a href="{% url "labs" %}">{% trans "Labs" %}</a>
</div>
<div class="sitenav">
<h5>{% trans "Business" %}</h5>
<a href="{% url "about" %}">{% trans "About" %}</a>
<a href="{% url "mission" %}">{% trans "Mission" %}</a>
<a href="{% url "results" %}">{% trans "Results" %}</a>
<a href="{% url "tools" %}">{% trans "Tools" %}</a>
<a href="{% url "jobs" %}">{% trans "Jobs" %}</a>
</div>
<div class="sitenav">
<h5>{% trans "Community" %}</h5>
<a class="slack{% if active == 'slack' %} selected{% endif %}" href="{% url "slack" %}">
Slack ({{num_slack}})
<div class="row">
<div class="d-flex w-100 footer__consensys">
<a href="https://media.consensys.net/gitcoin-joins-consensys-announces-pilot-projects-f5a0955de9d6" style="margin: 10px auto;" target="_blank" rel="noopener noreferrer">
<img src="{% static "v2/images/consensys-logo-white-small.png" %}" width="100" height="35"/>
</a>
<a href="{% url "activity" %}">{% trans "Activity Feed" %}</a>
<a href="{% url "help" %}">{% trans "Help" %}</a>
</div>
<div class="sitenav">
<h5>{% trans "Legal" %}</h5>
<a href="{% url "terms" %}" target="_blank" rel="noopener noreferrer">{% trans "Terms" %}</a>
<a href="{% url "privacy" %}" target="_blank" rel="noopener noreferrer">{% trans "Privacy" %}</a>
</div>
</div>
<div class="d-flex footer__consensys">
<a href="https://media.consensys.net/gitcoin-joins-consensys-announces-pilot-projects-f5a0955de9d6" style="margin: 10px auto;" target="_blank" rel="noopener noreferrer">
<img src="{% static "v2/images/consensys-logo-white-small.png" %}" width="100" height="35"/>
</a>
</div>
</div>
</footer>

0 comments on commit e889a69

Please sign in to comment.