-
Notifications
You must be signed in to change notification settings - Fork 2
/
footer.astro
163 lines (146 loc) · 3.53 KB
/
footer.astro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
---
import Logo from "../components/logo-symbol.astro";
import GitHubIcon from "~icons/ph/github-logo-fill";
import LinkedInIcon from "~icons/ph/linkedin-logo-fill";
---
<footer>
<section class="call-to-action">
<h2>La oss utgjøre en forskjell <em>sammen</em></h2>
<a href="/kontakt" class="button">Kontakt oss →</a>
</section>
<div class="footer-content">
<section aria-labelledby="footer-about" class="about">
<h2 id="footer-about" class="sr-only">Om Bjerk</h2>
<p>
Vi vil være med å lage en verden hvor folk kan gjøre mer av det de er
gode på, og hvor teknologien tar seg av resten. Vi skaper digitale
løsninger som forbedre og forenkle måten mennesker lærer, tenker, jobber
og kommuniserer på.
</p>
</section>
<nav>
<ul>
<li><a href="/om">Om oss →</a></li>
<li><a href="/arbeid">Arbeider →</a></li>
<li><a href="/tjenester">Tjenester →</a></li>
<li><a href="/artikler">Artikler →</a></li>
<li><a href="/kontakt">Kontakt oss →</a></li>
</ul>
</nav>
<section class="contact">
<address>
<p>Arbins gate 11, 0253 Oslo</p>
<a href="tel:+4722120512">22 12 05 12</a>
<a href="mailto:[email protected]"> [email protected] </a>
</address>
<div class="socials">
<a
aria-label="GitHub-profile for Bjerk"
href="https://github.com/bjerkio"
>
<GitHubIcon />
</a>
<a
aria-label="Linked-profile for Bjerk"
href="https://www.linkedin.com/company/bjerk"
>
<LinkedInIcon />
</a>
</div>
</section>
</div>
<div class="bottom-footer">
<div class="footer-logo" aria-hidden="true">
<Logo />
</div>
<nav class="links">
<a href="/vilkar">Vilkår</a>
<a href="/personvern">Personvernerklæring</a>
</nav>
</div>
</footer>
<style>
a {
--color-link: var(--color-app-text);
}
section.about {
display: flex;
flex-direction: column;
gap: 2rem;
& > p {
max-width: 40ch;
}
}
.footer-logo > svg {
height: 100px;
}
.call-to-action {
background-color: var(--color-focus-bg);
color: var(--color-focus-text);
margin-block-start: var(--gap);
padding-block: 8rem;
text-align: center;
& > a {
gap: 0.5rem;
color: inherit;
font-size: 1.25rem;
text-decoration-color: inherit;
text-decoration-thickness: 0.1rem;
text-underline-offset: 0.25rem;
}
}
footer > .footer-content {
padding-inline: 2rem;
padding-block: 4rem;
display: flex;
align-items: flex-start;
justify-content: space-between;
flex-wrap: wrap;
gap: 2rem;
max-width: 1125px;
& > nav > ul {
display: grid;
gap: 0.5rem;
list-style: none;
}
}
footer > .bottom-footer {
display: flex;
justify-content: space-between;
align-items: center;
padding: 2rem;
& > .links {
display: flex;
flex-direction: row;
align-self: flex-end;
flex-wrap: wrap;
gap: 2rem;
& > a {
display: block;
}
}
}
.contact {
display: flex;
flex-direction: column;
gap: 1rem;
}
.contact > address {
& > p {
margin-bottom: 0;
}
font-style: normal;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.socials {
margin-top: 1.2rem;
font-size: 1.7rem;
display: flex;
gap: 0.5rem;
}
.socials a {
color: inherit;
}
</style>