@meith/theme-clubhouse 0.29.1 → 0.30.1
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 +4 -4
- package/src/slots/footer.tsx +9 -1
- package/src/theme.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meith/theme-clubhouse",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.1",
|
|
4
4
|
"description": "A sports club theme for Meith — GAA, soccer, basketball — painted from the club's own two colours.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@meith/theme-default": "^0.
|
|
24
|
-
"@meith/theme-kit": "^0.
|
|
25
|
-
"@meith/ui": "^0.
|
|
23
|
+
"@meith/theme-default": "^0.30.1",
|
|
24
|
+
"@meith/theme-kit": "^0.30.1",
|
|
25
|
+
"@meith/ui": "^0.30.1"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": "^19.2.0"
|
package/src/slots/footer.tsx
CHANGED
|
@@ -8,6 +8,7 @@ export function Footer({
|
|
|
8
8
|
links,
|
|
9
9
|
timezoneLabel,
|
|
10
10
|
poweredBy,
|
|
11
|
+
regions,
|
|
11
12
|
copy,
|
|
12
13
|
}: FooterModel & { copy: SlotCopy }) {
|
|
13
14
|
const c = (key: string) => fromSlotCopy(copy, `clubhouse.footer.${key}`)
|
|
@@ -16,6 +17,13 @@ export function Footer({
|
|
|
16
17
|
<footer className="mt-auto">
|
|
17
18
|
<ClubRule />
|
|
18
19
|
<div className="bg-card">
|
|
20
|
+
{regions?.controls && (
|
|
21
|
+
<div
|
|
22
|
+
className={`${PAGE} flex flex-wrap items-center justify-end gap-x-6 gap-y-2 border-b border-border py-3`}
|
|
23
|
+
>
|
|
24
|
+
{regions.controls}
|
|
25
|
+
</div>
|
|
26
|
+
)}
|
|
19
27
|
<div
|
|
20
28
|
className={`${PAGE} flex flex-col gap-2 py-4 sm:flex-row sm:items-center sm:justify-between sm:gap-6`}
|
|
21
29
|
>
|
|
@@ -36,7 +44,7 @@ export function Footer({
|
|
|
36
44
|
{c('timesShownIn')} {timezoneLabel}
|
|
37
45
|
</span>
|
|
38
46
|
{poweredBy && (
|
|
39
|
-
<a href={poweredBy.href} className={MUTED_LINK}>
|
|
47
|
+
<a href={poweredBy.href} target="_blank" rel="noreferrer" className={MUTED_LINK}>
|
|
40
48
|
{poweredBy.label}
|
|
41
49
|
</a>
|
|
42
50
|
)}
|
package/src/theme.ts
CHANGED