Skip to content

Commit 9709ac8

Browse files
Merge pull request #167 from phel-lang/add-legal-footer
2 parents 491b368 + c6d2789 commit 9709ac8

File tree

3 files changed

+11
-21
lines changed

3 files changed

+11
-21
lines changed

css/components/api.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
box-shadow: none;
211211
opacity: 0;
212212
pointer-events: none;
213-
animation: fadeInButton 0.3s ease-out 0.2s forwards;
213+
animation: fadeInButton 0.35s cubic-bezier(0, 0, 1, 0.5) 0.2s forwards;
214214
}
215215

216216
@keyframes fadeInButton {

css/components/footer.css

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
letter-spacing: 0.05em;
113113
}
114114

115-
.footer-column:not(.footer-column-spacer) {
115+
.footer-column {
116116
margin-top: 0;
117117
}
118118

@@ -146,10 +146,6 @@
146146
color: var(--color-light-link);
147147
}
148148

149-
.footer-column-spacer {
150-
display: none;
151-
}
152-
153149
/* Footer Bottom Section */
154150
.footer-bottom {
155151
margin-top: var(--space-2xl);
@@ -203,14 +199,6 @@
203199
font-size: 0.65rem;
204200
}
205201

206-
/* Tablet Layout */
207-
@media (min-width: 640px) {
208-
.footer-links {
209-
grid-template-columns: repeat(2, 1fr);
210-
gap: var(--space-2xl);
211-
}
212-
}
213-
214202
/* Desktop Layout */
215203
@media (min-width: 768px) {
216204
.site-footer {
@@ -258,7 +246,7 @@
258246
font-size: var(--text-base);
259247
}
260248

261-
.footer-column:not(.footer-column-spacer) {
249+
.footer-column {
262250
margin-top: calc(1.5em + var(--space-lg) + var(--space-md));
263251
}
264252

@@ -293,10 +281,6 @@
293281
gap: var(--space-3xl);
294282
}
295283

296-
.footer-column-spacer {
297-
display: block;
298-
}
299-
300284
.footer-bottom {
301285
margin-top: var(--space-3xl);
302286
}

templates/footer.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
</div>
2323

2424
<div class="footer-links">
25-
<div class="footer-column footer-column-spacer"></div>
26-
2725
<div class="footer-column">
2826
<h3>Documentation</h3>
2927
<ul>
@@ -41,6 +39,14 @@ <h3>Community</h3>
4139
<li><a href="https://github.com/phel-lang/phel-lang/blob/main/.github/CODE_OF_CONDUCT.md" target="_blank" rel="noopener noreferrer">Code of conduct</a></li>
4240
</ul>
4341
</div>
42+
43+
<div class="footer-column">
44+
<h3>Legal</h3>
45+
<ul>
46+
<li><a href="/legal/data-protection/">Data Protection</a></li>
47+
<li><a href="/legal/disclosure/">Disclosure</a></li>
48+
</ul>
49+
</div>
4450
</div>
4551
</div>
4652

0 commit comments

Comments
 (0)