Skip to content

Commit 72601f9

Browse files
committed
Merge branch 'main' into 785-fix/403-forbidden-form-submission-in-production
2 parents 352b2b9 + 63f849e commit 72601f9

3 files changed

Lines changed: 140 additions & 8 deletions

File tree

Lines changed: 106 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,112 @@
1+
.sf-footer {
2+
background-color: $white;
3+
margin-top: auto;
4+
5+
.sf-footer__content {
6+
max-width: 1200px;
7+
margin: 0 auto;
8+
padding-bottom: 16px;
9+
10+
@include breakpoint-medium {
11+
padding-bottom: 24px;
12+
}
13+
}
14+
15+
.sf-footer__top {
16+
text-align: center;
17+
margin-bottom: 32px;
18+
display: block;
19+
@include breakpoint-medium {
20+
display: block;
21+
width: fit-content;
22+
margin-left: auto;
23+
margin-right: auto;
24+
}
25+
}
26+
27+
.sf-footer__tagline {
28+
font-size: $font-size-footer-mobile;
29+
font-weight: $font-weight-300;
30+
color: $gray-300;
31+
margin: 0;
32+
line-height: 120%;
33+
display: block;
34+
35+
&:first-child {
36+
display: block;
37+
}
38+
39+
&:not(:first-child) {
40+
display: block;
41+
@include breakpoint-medium {
42+
display: inline-block;
43+
}
44+
}
45+
}
46+
47+
.sf-footer__links {
48+
display: flex;
49+
flex-direction: column;
50+
align-items: flex-start;
51+
font-size: $font-size-footer-mobile;
52+
font-weight: $font-weight-300;
53+
line-height: 120%;
54+
55+
@include breakpoint-medium {
56+
flex-direction: row;
57+
justify-content: space-between;
58+
gap: 32px;
59+
text-align: left;
60+
}
61+
}
62+
63+
.sf-footer__links-group {
64+
display: flex;
65+
flex-direction: column;
66+
gap: 12px;
67+
68+
@include breakpoint-medium {
69+
flex-direction: row;
70+
align-items: center;
71+
gap: 32px;
72+
}
73+
}
74+
75+
.sf-footer__links-item {
76+
font-size: $font-size-footer-mobile;
77+
font-weight: $font-weight-normal;
78+
color: $gray-500;
79+
text-decoration: none;
80+
transition: color 0.2s ease;
81+
82+
&:hover,
83+
&:focus {
84+
color: $gray-400;
85+
text-decoration: underline;
86+
}
87+
}
88+
89+
.sf-footer__links-item--policy {
90+
margin-top: 44px;
91+
@include breakpoint-medium {
92+
margin-top: 0;
93+
}
94+
}
95+
96+
.sf-footer__bottom {
97+
text-align: center;
98+
padding-top: 32px;
99+
}
100+
101+
.sf-copy {
102+
margin: 0;
103+
}
104+
}
105+
1106
.sf-copy {
2107
text-align: center;
3108
font-weight: $font-weight-medium;
4-
font-size: $font-size-body-small;
109+
font-size: $font-size-body-medium-mobile;
5110
line-height: 140%;
6-
margin-top: 0;
7-
margin-bottom: 10px;
8111
color: $gray-300;
9-
@include breakpoint-medium {
10-
margin-bottom: 34px;
11-
}
12112
}

website/modules/asset/ui/src/scss/_variables.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ $font-size-body-large-mobile: 22px;
6060
$font-size-body-medium-mobile: 14px;
6161
$font-size-body-small-mobile: 12px;
6262

63+
// Footer text sizes
64+
$font-size-footer: 11px;
65+
$font-size-footer-mobile: 11px;
66+
6367
// Line heights
6468
$line-height-h1: 140%;
6569
$line-height-h2: 100%;

website/views/fragments/fragments.html

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,36 @@
2828
</div>
2929
</header>
3030
{% endfragment %} {% fragment footer() %}
31-
<footer class="sf-container">
32-
<p class="sf-copy">&#169; {{ data.currentYear or '2025' }} S&F</p>
31+
<footer class="sf-footer sf-container">
32+
<div class="sf-footer__content">
33+
<div class="sf-footer__top">
34+
<p class="sf-footer__tagline">A Deliberately Developmental Organization.</p>
35+
<p class="sf-footer__tagline">Built by real people, for real impact.</p>
36+
<p class="sf-footer__tagline">Let's grow something meaningful together.</p>
37+
</div>
38+
39+
<div class="sf-footer__links">
40+
<div class="sf-footer__links-group">
41+
<a href="https://www.linkedin.com/company/speed-and-function/"
42+
class="sf-footer__links-item"
43+
target="_blank"
44+
rel="noopener noreferrer">
45+
linkedin
46+
</a>
47+
<a href="mailto:connect@speedandfunction.com"
48+
class="sf-footer__links-item">
49+
connect@speedandfunction.com
50+
</a>
51+
</div>
52+
<a href="/privacy-policy" class="sf-footer__links-item sf-footer__links-item--policy">
53+
privacy policy
54+
</a>
55+
</div>
56+
57+
<div class="sf-footer__bottom">
58+
<p class="sf-copy">&#169; {{ data.currentYear or '2025' }} S&amp;F</p>
59+
</div>
60+
</div>
3361
</footer>
3462
{% endfragment %} {% fragment breadcrumbs() %} {% if data.page._url !=
3563
data.home._url %}

0 commit comments

Comments
 (0)