Skip to content

Commit 7b1f2ea

Browse files
author
Felix Hennig
committed
Added social icons
1 parent 4d0bf8d commit 7b1f2ea

File tree

3 files changed

+55
-10
lines changed

3 files changed

+55
-10
lines changed

src/css/footer.css

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,54 @@ footer.footer {
1010
margin: 0.5rem 0;
1111
}
1212

13-
.footer a {
14-
color: var(--footer-link-font-color);
13+
.c-and-socials {
14+
display: flex;
15+
gap: 24px;
16+
align-items: center;
17+
justify-content: space-between;
1518
}
1619

1720
@media screen and (max-width: 720px) {
1821
.c-and-socials {
19-
display: flex;
2022
flex-direction: column;
21-
align-items: center;
2223
}
2324
}
2425

2526
@media screen and (min-width: 720px) {
2627
.c-and-socials {
27-
display: flex;
28-
justify-content: space-between;
28+
flex-direction: row;
2929
}
3030
}
31+
32+
.footer-container {
33+
display: flex;
34+
flex-direction: column;
35+
gap: 24px;
36+
}
37+
38+
.social-icons-container {
39+
display: flex;
40+
flex-direction: row;
41+
gap: 10px;
42+
}
43+
44+
.social-icon {
45+
background-color: var(--footer-font-color);
46+
color: var(--body-font-color);
47+
border-radius: 50%;
48+
display: inline-flex;
49+
align-items: center;
50+
justify-content: center;
51+
font-size: 20px;
52+
aspect-ratio: 1;
53+
height: 36px;
54+
cursor: pointer;
55+
transition: all .3s;
56+
}
57+
58+
.social-icon:hover {
59+
background-color: var(--color-brand-primary);
60+
color: var(--footer-font-color);
61+
text-decoration: none;
62+
63+
}

src/css/site.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@
1717
@import "highlight.css";
1818
@import "print.css";
1919
@import "landing.css";
20+
@import "vendor/fontawesome.css";

src/partials/footer-content.hbs

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,23 @@
11
<footer class="footer">
22
<div class="container">
3-
<div>
3+
<div class="footer-container">
44
<div class="c-and-socials">
55
<div>© 2022 Stackable.</div>
6-
<div>social links go here</div>
6+
<div class="social-icons-container">
7+
<a class="social-icon" href="https://www.xing.com/pages/stackable" target="_blank">
8+
<i class="fab fa-xing"></i>
9+
</a>
10+
<a class="social-icon" href="https://www.linkedin.com/company/stackabletech/" target="_blank">
11+
<i class="fab fa-linkedin"></i>
12+
</a>
13+
<a class="social-icon" href="https://github.com/stackabletech" target="_blank">
14+
<i class="fab fa-github"></i>
15+
</a>
16+
<a class="social-icon" href="https://twitter.com/stackabletech" target="_blank">
17+
<i class="fab fa-twitter"></i>
18+
</a>
19+
</div>
720
</div>
8-
9-
</p>
1021
<!-- copyright notice -->
1122
<p>
1223
Apache, Apache Kafka®, Kafka, and the Kafka logo, Apache Druid, Druid, and the Druid logo,

0 commit comments

Comments
 (0)