Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions kitsune/landings/templates/landings/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,22 @@
{{ product_cards(products, show_thunderbird=True) }}
</section>
</div>
<section id="get-involved-box" class="grid_12">
<div class="highlight-box">
<h2>{{ _('Save the world') }}</h2>
<h3>{{ _('from the comfort of your couch') }}</h3>
<a class="btn btn-submit" href="{{ url('landings.get_involved') }}">
{{ _('Get involved - Help other users') }}
</a>
<img class="hero-butler" src="{{ STATIC_URL }}img/gi-hero-butler.png" alt="">
</div>
</section>
{% if moz_news %}
<section id="mozilla-news" class="grid_12">
<h1>{{ _('Mozilla News') }}</h1>
{{ moz_news.html|safe }}
</section>
{% endif %}
<div id="get-involved-button" class="grid_12">
<a class="btn btn-submit" href="{{ url('landings.get_involved') }}">
{{ _('Get involved - Help other users') }}
</a>
</div>
{% endblock %}

{% block outer_side %}
Expand Down
28 changes: 25 additions & 3 deletions kitsune/sumo/static/less/home.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,33 @@
@import 'includes/for-contributors-hot-topics.less';
@import 'includes/help-topics.less';

#get-involved-button {
text-align: center;
#get-involved-box {
position: relative;

> .btn {
h2,
h3 {
margin: 0;
}

h2 {
font-size: 72px;
}

h3 {
font-size: 30px;
margin-bottom: 30px;
}

.hero-butler {
height: 95%;
position: absolute;
right: 30px;
top: 2.5%;
}

.btn {
font-size: 16px;
margin-bottom: 20px;
padding: 8px 40px;
}
}
Expand Down