@stnd/layout 0.6.14 → 0.6.16
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/CHANGELOG.md +16 -0
- package/Footer.astro +22 -26
- package/Header.astro +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @stnd/layout
|
|
2
2
|
|
|
3
|
+
## 0.6.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Auto-bumped @stnd/layout due to modified code.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- @stnd/lab@1.0.14
|
|
11
|
+
- @stnd/ui@0.7.3
|
|
12
|
+
|
|
13
|
+
## 0.6.15
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Auto-bumped @stnd/layout due to modified code.
|
|
18
|
+
|
|
3
19
|
## 0.6.14
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/Footer.astro
CHANGED
|
@@ -48,26 +48,24 @@ const year = new Date().getFullYear();
|
|
|
48
48
|
!hideBrand && (
|
|
49
49
|
<div class="col-2 sm:col-1">
|
|
50
50
|
<h4 class="footer-title mb-2">
|
|
51
|
-
<a href={config.url} class="no-decoration">
|
|
51
|
+
<a href={config.url} class="no-decoration">
|
|
52
|
+
{title}
|
|
53
|
+
</a>
|
|
52
54
|
</h4>
|
|
53
55
|
|
|
54
|
-
{
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
config.description && (
|
|
68
|
-
<p class="text-2xs mt-half compact">{config.description}</p>
|
|
69
|
-
)
|
|
70
|
-
}
|
|
56
|
+
{footerNav.length > 0 && !hideNav && (
|
|
57
|
+
<ul class="no-bullet">
|
|
58
|
+
{footerNav.map((item: any) => (
|
|
59
|
+
<li>
|
|
60
|
+
<a href={item.url}>{item.title}</a>
|
|
61
|
+
</li>
|
|
62
|
+
))}
|
|
63
|
+
</ul>
|
|
64
|
+
)}
|
|
65
|
+
|
|
66
|
+
{config.description && (
|
|
67
|
+
<p class="text-2xs mt-half compact">{config.description}</p>
|
|
68
|
+
)}
|
|
71
69
|
|
|
72
70
|
<p class="text-2xs mt-half">© {year}.</p>
|
|
73
71
|
</div>
|
|
@@ -75,7 +73,8 @@ const year = new Date().getFullYear();
|
|
|
75
73
|
}
|
|
76
74
|
|
|
77
75
|
<!-- Column 2: Navigation -->
|
|
78
|
-
{
|
|
76
|
+
{
|
|
77
|
+
/*
|
|
79
78
|
footerNav.length > 0 && (
|
|
80
79
|
<div class="col-1">
|
|
81
80
|
<h4>Navigation</h4>
|
|
@@ -88,7 +87,8 @@ const year = new Date().getFullYear();
|
|
|
88
87
|
</ul>
|
|
89
88
|
</div>
|
|
90
89
|
)
|
|
91
|
-
*/
|
|
90
|
+
*/
|
|
91
|
+
}
|
|
92
92
|
|
|
93
93
|
<!-- Column 3, 4, etc. -->
|
|
94
94
|
<slot />
|
|
@@ -134,15 +134,12 @@ const year = new Date().getFullYear();
|
|
|
134
134
|
font-size: var(--scale);
|
|
135
135
|
font-family: var(--font-interface);
|
|
136
136
|
margin-block-end: var(--space-half) !important;
|
|
137
|
-
font-weight: var(--font-header
|
|
137
|
+
font-weight: var(--font-weight-header);
|
|
138
138
|
margin-top: 0 !important;
|
|
139
139
|
}
|
|
140
140
|
h4 {
|
|
141
141
|
font-size: var(--scale-d2);
|
|
142
142
|
}
|
|
143
|
-
li {
|
|
144
|
-
margin-block-end: var(--leading) !important;
|
|
145
|
-
}
|
|
146
143
|
|
|
147
144
|
/* Styling for link lists inside footer */
|
|
148
145
|
ul {
|
|
@@ -153,7 +150,6 @@ const year = new Date().getFullYear();
|
|
|
153
150
|
|
|
154
151
|
ul li {
|
|
155
152
|
font-size: var(--scale-d4);
|
|
156
|
-
margin-bottom: var(--space-2);
|
|
157
153
|
padding-inline-start: 0;
|
|
158
154
|
margin-top: 0 !important;
|
|
159
155
|
}
|
|
@@ -171,7 +167,7 @@ const year = new Date().getFullYear();
|
|
|
171
167
|
.footer-title {
|
|
172
168
|
font-family: var(--font-heading);
|
|
173
169
|
font-size: var(--scale);
|
|
174
|
-
font-weight: var(--font-header
|
|
170
|
+
font-weight: var(--font-weight-header);
|
|
175
171
|
color: var(--color-foreground);
|
|
176
172
|
margin: 0;
|
|
177
173
|
}
|
package/Header.astro
CHANGED
|
@@ -361,7 +361,7 @@ const renderedItems = safeItems.map((item) => {
|
|
|
361
361
|
/* ── Brand ── */
|
|
362
362
|
.stnd-header-brand {
|
|
363
363
|
font-size: var(--scale);
|
|
364
|
-
font-weight: var(--font-header
|
|
364
|
+
font-weight: var(--font-weight-header);
|
|
365
365
|
text-decoration: none;
|
|
366
366
|
color: var(--color-foreground);
|
|
367
367
|
z-index: 10;
|
|
@@ -490,7 +490,7 @@ const renderedItems = safeItems.map((item) => {
|
|
|
490
490
|
|
|
491
491
|
.stnd-header-menu-mobile a {
|
|
492
492
|
font-size: var(--scale-4);
|
|
493
|
-
font-weight: var(--font-header
|
|
493
|
+
font-weight: var(--font-weight-header);
|
|
494
494
|
color: var(--color-foreground);
|
|
495
495
|
text-decoration: none;
|
|
496
496
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stnd/layout",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "Francis Fontaine",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"wrangler": "^4.129.0",
|
|
18
|
-
"@stnd/lab": "1.0.
|
|
18
|
+
"@stnd/lab": "1.0.14",
|
|
19
19
|
"@stnd/log": "0.5.1",
|
|
20
|
-
"@stnd/ui": "0.7.
|
|
20
|
+
"@stnd/ui": "0.7.3"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"astro": ">=5.0.0"
|