@half-built/astro 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/Footer.astro +9 -22
package/package.json
CHANGED
|
@@ -3,7 +3,6 @@ import type { SitemapGroup, EcosystemEntry } from "./models";
|
|
|
3
3
|
import { BP_PHONE_MAX } from "../scripts/core/breakpoints";
|
|
4
4
|
|
|
5
5
|
interface Props {
|
|
6
|
-
siteName: string;
|
|
7
6
|
legalHolder: string;
|
|
8
7
|
sitemap: SitemapGroup[];
|
|
9
8
|
ecosystem: EcosystemEntry[];
|
|
@@ -12,7 +11,6 @@ interface Props {
|
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
const {
|
|
15
|
-
siteName,
|
|
16
14
|
legalHolder,
|
|
17
15
|
sitemap,
|
|
18
16
|
ecosystem,
|
|
@@ -28,17 +26,15 @@ const year = new Date().getFullYear();
|
|
|
28
26
|
<div class="shell">
|
|
29
27
|
<div class="bottom-footer-info">
|
|
30
28
|
<div class="site-info">
|
|
31
|
-
{/*
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
the
|
|
35
|
-
so a narrow screen wraps
|
|
29
|
+
{/* The copyright line alone (owner call 2026-09-14). The
|
|
30
|
+
site-name home link that used to sit under it retired.
|
|
31
|
+
The masthead and the Ecosystem group's bold entry already
|
|
32
|
+
say where you are, and the notice is complete without it.
|
|
33
|
+
The segments stay unbreakable so a narrow screen wraps
|
|
34
|
+
only after the year. */}
|
|
36
35
|
<slot name="site-info">
|
|
37
|
-
<span class="site-info-
|
|
38
|
-
|
|
39
|
-
<span class="site-info-seg">{legalHolder}</span>
|
|
40
|
-
</span>
|
|
41
|
-
<span class="site-info-line"><a href="/">{siteName}</a></span>
|
|
36
|
+
<span class="site-info-seg">Copyright © {year}</span>{" "}
|
|
37
|
+
<span class="site-info-seg">{legalHolder}</span>
|
|
42
38
|
</slot>
|
|
43
39
|
</div>
|
|
44
40
|
</div>
|
|
@@ -128,18 +124,9 @@ const year = new Date().getFullYear();
|
|
|
128
124
|
font-size: var(--font-size-sm);
|
|
129
125
|
}
|
|
130
126
|
|
|
131
|
-
/*
|
|
132
|
-
(owner report 2026-08-25). */
|
|
127
|
+
/* Centered like the sitemap below (owner report 2026-08-25). */
|
|
133
128
|
.site-info { text-align: center; }
|
|
134
|
-
.site-info-line { display: block; }
|
|
135
|
-
|
|
136
|
-
/* Underlined, unlike the sitemap links below: this one sits inside
|
|
137
|
-
running text (the copyright block), where the same ink at 0.8
|
|
138
|
-
opacity is not a visible link mark (WCAG 1.4.1, axe
|
|
139
|
-
link-in-text-block; the line break is all that frames it). */
|
|
140
|
-
.site-info a { text-decoration: underline; opacity: 0.8; transition: var(--transition); color: var(--ink); }
|
|
141
129
|
.site-info-seg { white-space: nowrap; }
|
|
142
|
-
.site-info a:hover { opacity: 1; }
|
|
143
130
|
|
|
144
131
|
/* Sitemap columns under the copyright line, centered like it (owner
|
|
145
132
|
feedback 2026-08-01). position: relative lifts the content above the
|