Skip to content

Commit cbf046b

Browse files
committed
Commonhaus Foundation badging in the project footer
1 parent 20ce126 commit cbf046b

File tree

3 files changed

+69
-7
lines changed

3 files changed

+69
-7
lines changed

_includes/project-footer.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@
55
</div>
66
</div>
77
<div class="grid-wrapper">
8-
<p class="grid__item width-3-12">{{ site.data.projectfooter.footer_text }}</p>
8+
<div class="project-summary">
9+
<p>{{ site.data.projectfooter.footer_text }}</p>
10+
<a class="commonhaus" href="https://www.commonhaus.org/">
11+
<img src="{{site.baseurl}}/assets/images/CF_logo_horizontal_reverse.svg" title="Commonhaus Foundation">
12+
</a>
13+
<p>Quarkus is part of the Commonhaus Foundation.</p>
14+
</div>
915

1016
{% for item in site.data.projectfooter.links %}
1117
<div class="width-{{ item.width }}-12 project-links">

_sass/includes/project-footer.scss

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,30 @@
2929
}
3030
}
3131

32+
.project-summary {
33+
34+
grid-column: span 3;
35+
36+
@media screen and (max-width: 1024px) {
37+
grid-column: span 4;
38+
}
39+
@media screen and (max-width: 480px) {
40+
order: 2;
41+
grid-column: span 12;
42+
}
43+
3244
p {
3345
margin-top: 0;
3446
margin-bottom: 0;
3547
font-size: .875rem;
48+
}
3649

37-
@media screen and (max-width: 1024px) {
38-
grid-column: 1/6;
39-
}
40-
@media screen and (max-width: 480px) {
41-
order: 2;
42-
grid-column: span 12;
50+
.commonhaus {
51+
img {
52+
margin: 2rem auto .3rem auto;
53+
width: 85%;
4354
}
55+
}
4456
}
4557

4658
.project-links {
Lines changed: 44 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)