Skip to content

Commit 9a21a91

Browse files
authored
Merge pull request #2356 from insectengine/CommonhausFoundation_footer
add CF band to homepage and CF footer
2 parents 5c241e1 + c2fa5e5 commit 9a21a91

File tree

8 files changed

+148
-15
lines changed

8 files changed

+148
-15
lines changed

_data/projectfooter.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
footer_text: "Quarkus is open. All dependencies of this project are available under the <a href='https://www.apache.org/licenses/LICENSE-2.0' target='_blank'>Apache Software License 2.0</a> or compatible license.<br /><br />This website was built with <a href='https://jekyllrb.com/' target='_blank'>Jekyll</a>, is hosted on <a href='https://pages.github.com/' target='_blank'>GitHub Pages</a> and is completely open source. If you want to make it better, <a href='https://github.com/quarkusio/quarkusio.github.io' target='_blank'>fork the website</a> and show us what you’ve got."
1+
footer_text: "Quarkus is open. All dependencies of this project are available under the <a href='https://www.apache.org/licenses/LICENSE-2.0' target='_blank'>Apache Software License 2.0</a> or compatible license. <i class='fab fa-creative-commons'></i><i class='fab fa-creative-commons-by'></i> <a href='https://creativecommons.org/licenses/by/3.0/' target='_blank'>CC by 3.0</a><br /><br />This website was built with <a href='https://jekyllrb.com/' target='_blank'>Jekyll</a>, is hosted on <a href='https://pages.github.com/' target='_blank'>GitHub Pages</a> and is completely open source. If you want to make it better, <a href='https://github.com/quarkusio/quarkusio.github.io' target='_blank'>fork the website</a> and show us what you’ve got."
22

33
links:
44
- title: Navigation
@@ -28,6 +28,8 @@ links:
2828
url: /brand
2929
- page: Wallpapers
3030
url: /desktopwallpapers
31+
- page: Privacy Policy
32+
url: https://www.redhat.com/en/about/privacy-policy
3133

3234
- title: Follow Us
3335
width: 1
@@ -39,6 +41,8 @@ links:
3941
- page: Mastodon
4042
url: https://fosstodon.org/@quarkusio
4143
rel: me
44+
- page: Threads
45+
url: https://www.threads.com/@quarkusio
4246
- page: Facebook
4347
url: https://www.facebook.com/quarkusio
4448
- page: Linkedin

_includes/CF-footerband.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<div class="content cf-footer">
2+
<div class="grid-wrapper">
3+
<span class="cf-logo">
4+
<img src="https://raw.githubusercontent.com/commonhaus/artwork/main/foundation/brand/svg/CF_logo_horizontal_single_reverse.svg"/>
5+
</span>
6+
<span class="license">
7+
Copyright © Quarkus. All rights reserved. For details on our trademarks, please visit our <a href="https://www.commonhaus.org/policies/trademark-policy/">Trademark Policy</a> and <a href="https://www.commonhaus.org/trademarks/">Trademark List</a>. Trademarks of third parties are owned by their respective holders and their mention here does not suggest any endorsement or association.
8+
</span>
9+
<span class="sponsor">
10+
Sponsored by
11+
</span>
12+
<span class="sponsor-logo">
13+
<a href="https://www.redhat.com/" target="_blank"><img src="{{site.baseurl}}/assets/images/redhat_reversed.svg"></a>
14+
</span>
15+
</div>
16+
</div>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<div class="full-width-bg component">
2+
<div class="grid-wrapper">
3+
<div class="width-5-12 width-12-12-m block-image">
4+
<a href="https://www.commonhaus.org/"><img src="https://raw.githubusercontent.com/commonhaus/artwork/main/foundation/brand/project/svg/CF_logo_quarkus_default.svg" alt="Quarkus is part of the Commonhaus Foundation." class="img-md light-only"><img src="https://raw.githubusercontent.com/commonhaus/artwork/main/foundation/brand/project/svg/CF_logo_quarkus_reverse.svg" alt="Quarkus is part of the Commonhaus Foundation." class="img-md dark-only"></a>
5+
</div>
6+
<div class="grid__item width-7-12 width-12-12-m">
7+
<h2>Quarkus is part of the Commonhaus Foundation</h2>
8+
<p>In order to fulfill our goal of being a more inclusive and fostering a more collaborative environment, we have moved to the Commonhaus Foundation. This is a step to further solidify our commitment to open-source development and enterprise adoption, addressing the perception that it was overly dependent on a single vendor (Red Hat). This move aims to provide a neutral ground where other organizations and contributors can feel equally valued and involved, ensuring Quarkus continues to thrive, supported by a broad base of contributors from multiple organizations.</p>
9+
<p><a href="https://www.commonhaus.org/">Learn more about Commonhaus Foundation.</a></p>
10+
</div>
11+
</div>
12+
</div>

_layouts/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
</div>
9292

9393
{% include project-footer.html %}
94-
{% include redhat-footer.html %}
94+
{% include CF-footerband.html %}
9595

9696
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js" integrity="sha384-8gBf6Y4YYq7Jx97PIqmTwLPin4hxIzQw5aDmUg/DDhul9fFpbbLcLh3nTIIDJKhx" crossorigin="anonymous"></script>
9797
<script type="text/javascript" src="{{ '/assets/javascript/mobile-nav.js' | relative_url }}"></script>

_layouts/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
{% include homepage-userstory-callout.html %}
88
{% include homepage-performance-band.html %}
99
{% include recent-posts-band.html %}
10+
{% include homepage-commonhaus-band.html %}
1011
{% include homepage-newsletter-band.html %}
1112
{% include feedback-community-band.html %}
1213
</div>

_sass/includes/cf-footer.scss

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
.cf-footer {
2+
background-color: $black;
3+
font-size: .75rem;
4+
font-weight: 200;
5+
6+
.grid-wrapper { padding: 1rem 0;
7+
8+
@media screen and (max-width: 1024px) {
9+
padding: 1.25rem 0;
10+
}
11+
12+
@media screen and (max-width: 480px) {
13+
padding: 1.5rem 0;
14+
}
15+
}
16+
17+
.cf-logo {
18+
grid-column: 1/4;
19+
align-self: center;
20+
padding-right: 2rem;
21+
22+
img {min-width: 200px;}
23+
24+
@media screen and (max-width: 1024px) {
25+
grid-column: 1/6;
26+
}
27+
28+
@media screen and (max-width: 480px) {
29+
grid-column: 1/13;
30+
justify-self: normal;
31+
order: 1;
32+
}
33+
}
34+
35+
36+
37+
.license {
38+
grid-column: 4/11;
39+
align-self: center;
40+
color: $grey-1;
41+
42+
i {
43+
color: $grey-1;
44+
}
45+
46+
a {
47+
color: $grey-1;
48+
font-size: .75rem;
49+
font-weight: 200;
50+
}
51+
52+
@media screen and (max-width: 1024px) {
53+
grid-column: 1/13;
54+
justify-self: left;
55+
}
56+
57+
@media screen and (max-width: 480px) {
58+
grid-column: 1/13;
59+
justify-self: center;
60+
order: 2;
61+
}
62+
}
63+
64+
.sponsor {
65+
grid-column: 11/12;
66+
align-self: center;
67+
justify-self: end;
68+
color: $grey-1;
69+
70+
71+
@media screen and (max-width: 1024px) {
72+
grid-column: 5/12;
73+
justify-self: right;
74+
}
75+
@media screen and (max-width: 480px) {
76+
grid-column: 1/6;
77+
justify-self: right;
78+
order: 3;
79+
}
80+
}
81+
.sponsor-logo {
82+
grid-column: 12/13;
83+
justify-self: end;
84+
align-self: center;
85+
img { width: 6rem; max-width: none !important;}
86+
@media screen and (max-width: 480px) {
87+
grid-column: 6/13;
88+
justify-self: left;
89+
order: 4;
90+
}
91+
}
92+
}

_sass/includes/project-footer.scss

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,21 @@
77
@media screen and (min-width: 1024px) {
88
background-image: url($baseurl + '/assets/images/bg-footer.png');
99
background-repeat: no-repeat;
10-
background-size: 100%;
10+
background-size: cover;
1111
}
1212
}
1313

1414
.project-footer,
1515
.content.project-footer {
1616
color: $white;
1717
background-color: $dark-blue-alt;
18-
padding-top: 4rem;
19-
padding-bottom: 6rem;
18+
padding-top: 2rem;
19+
padding-bottom: 3rem;
2020

2121
.logo-wrapper {
2222
text-align: center;
2323
display: block;
24+
2425
.project-logo {
2526
max-width: 18rem;
2627
@media screen and (max-width: 768px) {
@@ -35,7 +36,7 @@
3536
font-size: .875rem;
3637

3738
@media screen and (max-width: 1024px) {
38-
grid-column: 1/6;
39+
grid-column: span 12;
3940
}
4041
@media screen and (max-width: 480px) {
4142
order: 2;
@@ -45,10 +46,12 @@
4546

4647
.project-links {
4748
font-size: .875rem;
49+
4850
@media screen and (max-width: 1024px) {
49-
grid-column: span 2;
51+
grid-column: span 3;
5052
}
51-
@media screen and (max-width: 480px) {
53+
54+
@media screen and (max-width: 768px) {
5255
order: 1;
5356
grid-column: span 6;
5457
}
@@ -66,20 +69,25 @@
6669
font-size: .875rem;
6770
padding-left: 2rem;
6871
margin-left: 2rem;
69-
border-left: 2px solid $white;
72+
border-left: 1px solid $white;
7073

7174
ul {
7275
a { font-size: .875rem; }
7376
}
7477
@media screen and (max-width: 1024px) {
78+
grid-column: span 6;
79+
padding-left: 0rem;
80+
margin-left: 0rem;
81+
border-left: none;
82+
}
83+
84+
@media screen and (max-width: 768px) {
7585
grid-column: span 12;
76-
border-top: 4px solid $white;
86+
border-top: 1px solid $white;
7787
border-left: none;
78-
padding: 3rem 0 2rem 0;
79-
margin-bottom: 1rem;
88+
padding: 2rem 0 0 0;
89+
margin-top: 1rem;
8090
margin-left: 0;
81-
}
82-
@media screen and (max-width: 480px) {
8391
order: 3;
8492
}
8593
}

assets/css/main.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ $baseurl: "{{ site.baseurl }}";
5454
@import "includes/homepage-features-band";
5555
@import "includes/recent-posts-band";
5656
@import "includes/project-footer";
57-
@import "includes/redhat-footer";
57+
@import "includes/cf-footer";
5858
@import "includes/tabs";
5959
@import "includes/share-page";
6060
@import "includes/awards-band";

0 commit comments

Comments
 (0)