Skip to content

Commit 24d8e4f

Browse files
committed
Add banner
1 parent b5d85dc commit 24d8e4f

3 files changed

Lines changed: 35 additions & 0 deletions

File tree

app/_generator-base.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ <h1 class="page-header-title">{{ title }}</h1>
3333
</div>
3434
{% endblock %}
3535
</div>
36+
{% block banner %}{% endblock %}
3637
{% endblock %}

app/components/page-header.scss

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,29 @@
3232
transform: translateZ(0);
3333
}
3434

35+
.page-header-banner {
36+
display: flex;
37+
align-items: center;
38+
justify-content: center;
39+
padding: 16px 0;
40+
box-shadow: material-shadow(4);
41+
background-color: $colorAccent;
42+
color: $colorWhitePrimary;
43+
font-weight: 500;
44+
z-index: 4;
45+
46+
a {
47+
color: $colorWhitePrimary;
48+
// background-color: rgba($colorBlackPrimary, .2);
49+
// padding: 4px 8px;
50+
// border-radius: 4px;
51+
}
52+
53+
.material-icons {
54+
margin-right: 8px;
55+
}
56+
}
57+
3558
.page-header-back-button {
3659
position: absolute;
3760
font-size: 24px;

app/pages/launcher-icon-generator.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@
66

77
{% extends '_generator-base.html' %}
88

9+
{% block banner %}
10+
<div class="page-header-banner">
11+
<i class="material-icons">new_releases</i>
12+
<span>
13+
<a href="https://icon.kitchen">Try IconKitchen</a>, the successor to the
14+
Android Asset Studio, and a great new way to make highly customizable
15+
app icons for Android, iOS, and the web.
16+
</span>
17+
</div>
18+
{% endblock %}
19+
920
{% block body %}
1021
{{ super() }}
1122
<script>

0 commit comments

Comments
 (0)