@stnd/layout 0.6.13 → 0.6.15
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 +14 -0
- package/Footer.astro +20 -24
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @stnd/layout
|
|
2
2
|
|
|
3
|
+
## 0.6.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Auto-bumped @stnd/layout due to modified code.
|
|
8
|
+
|
|
9
|
+
## 0.6.14
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
- @stnd/ui@0.7.2
|
|
15
|
+
- @stnd/lab@1.0.13
|
|
16
|
+
|
|
3
17
|
## 0.6.13
|
|
4
18
|
|
|
5
19
|
### 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 />
|
|
@@ -140,9 +140,6 @@ const year = new Date().getFullYear();
|
|
|
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
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stnd/layout",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.15",
|
|
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.13",
|
|
19
19
|
"@stnd/log": "0.5.1",
|
|
20
|
-
"@stnd/ui": "0.7.
|
|
20
|
+
"@stnd/ui": "0.7.2"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"astro": ">=5.0.0"
|