@orangecheck/design 0.32.1 → 0.32.2
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/dist/chrome.js +37 -37
- package/dist/chrome.js.map +1 -1
- package/dist/chrome.mjs +37 -37
- package/dist/chrome.mjs.map +1 -1
- package/dist/components.js +42 -42
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +42 -42
- package/dist/components.mjs.map +1 -1
- package/dist/composites.js +5 -5
- package/dist/composites.js.map +1 -1
- package/dist/composites.mjs +5 -5
- package/dist/composites.mjs.map +1 -1
- package/dist/index.js +49 -49
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +49 -49
- package/dist/index.mjs.map +1 -1
- package/dist/primitives.js +7 -7
- package/dist/primitives.js.map +1 -1
- package/dist/primitives.mjs +7 -7
- package/dist/primitives.mjs.map +1 -1
- package/dist/styles/theme.css +10 -0
- package/package.json +2 -1
package/dist/chrome.mjs
CHANGED
|
@@ -535,7 +535,7 @@ var SECTIONS = [
|
|
|
535
535
|
function CategoryChip({ category }) {
|
|
536
536
|
if (category === "hub") return null;
|
|
537
537
|
const label = category === "product" ? "product" : category === "protocol" ? "protocol" : "owner";
|
|
538
|
-
const tone = category === "product" ? "border-primary/25 bg-primary/10 text-primary" : category === "protocol" ? "border-muted-foreground/20 bg-muted/40 text-muted-foreground
|
|
538
|
+
const tone = category === "product" ? "border-primary/25 bg-primary/10 text-primary" : category === "protocol" ? "border-muted-foreground/20 bg-muted/40 text-muted-foreground" : "border-warning/30 bg-warning/10 text-warning";
|
|
539
539
|
return /* @__PURE__ */ jsx(
|
|
540
540
|
"span",
|
|
541
541
|
{
|
|
@@ -552,7 +552,7 @@ function SiteStateBadge({ state }) {
|
|
|
552
552
|
"span",
|
|
553
553
|
{
|
|
554
554
|
"aria-label": `site lifecycle: ${state}`,
|
|
555
|
-
className: "text-muted-foreground
|
|
555
|
+
className: "text-muted-foreground ml-1 hidden font-mono text-[9px] font-medium tracking-widest uppercase sm:inline-block",
|
|
556
556
|
"data-oc-site-state": state,
|
|
557
557
|
children: SITE_STATE_LABEL[state]
|
|
558
558
|
}
|
|
@@ -561,7 +561,7 @@ function SiteStateBadge({ state }) {
|
|
|
561
561
|
function MenuCategoryChip({ category }) {
|
|
562
562
|
if (category === "hub") return null;
|
|
563
563
|
const label = category === "product" ? "pro" : category === "protocol" ? "spec" : "own";
|
|
564
|
-
const tone = category === "product" ? "bg-primary/10 text-primary" : category === "protocol" ? "bg-muted/60 text-muted-foreground
|
|
564
|
+
const tone = category === "product" ? "bg-primary/10 text-primary" : category === "protocol" ? "bg-muted/60 text-muted-foreground" : "bg-warning/15 text-warning";
|
|
565
565
|
return /* @__PURE__ */ jsx(
|
|
566
566
|
"span",
|
|
567
567
|
{
|
|
@@ -678,7 +678,7 @@ function OcLogoDropdown({
|
|
|
678
678
|
ChevronDown,
|
|
679
679
|
{
|
|
680
680
|
"aria-hidden": true,
|
|
681
|
-
className: "text-muted-foreground
|
|
681
|
+
className: "text-muted-foreground group-hover:text-foreground/80 h-3.5 w-3.5 shrink-0 transition-transform duration-200 " + (open ? "rotate-180" : "")
|
|
682
682
|
}
|
|
683
683
|
)
|
|
684
684
|
]
|
|
@@ -693,7 +693,7 @@ function OcLogoDropdown({
|
|
|
693
693
|
"aria-label": "go to " + homeHref + " (this site's home)",
|
|
694
694
|
onClick: () => setOpen(false),
|
|
695
695
|
tabIndex: open ? 0 : -1,
|
|
696
|
-
className: "hover:text-primary group/home -ml-1 hidden items-center gap-1 rounded-sm px-1.5 py-1 font-mono text-[9px] tracking-widest uppercase transition-all duration-200 sm:inline-flex " + (open ? "pointer-events-auto translate-x-0 text-muted-foreground
|
|
696
|
+
className: "hover:text-primary group/home -ml-1 hidden items-center gap-1 rounded-sm px-1.5 py-1 font-mono text-[9px] tracking-widest uppercase transition-all duration-200 sm:inline-flex " + (open ? "pointer-events-auto translate-x-0 text-muted-foreground opacity-100 hover:bg-accent/30" : "pointer-events-none -translate-x-1 opacity-0"),
|
|
697
697
|
"data-oc-logo-dropdown-home-hint": "",
|
|
698
698
|
children: [
|
|
699
699
|
/* @__PURE__ */ jsx(
|
|
@@ -729,7 +729,7 @@ function OcLogoDropdown({
|
|
|
729
729
|
{
|
|
730
730
|
role: "separator",
|
|
731
731
|
"aria-hidden": true,
|
|
732
|
-
className: "text-muted-foreground
|
|
732
|
+
className: "text-muted-foreground px-4 pt-2.5 pb-1 font-mono text-[9px] font-medium tracking-widest uppercase " + (category === "hub" ? "" : "border-t mt-1"),
|
|
733
733
|
children: label
|
|
734
734
|
}
|
|
735
735
|
),
|
|
@@ -951,7 +951,7 @@ function CopyableDid({ did }) {
|
|
|
951
951
|
/* @__PURE__ */ jsx(
|
|
952
952
|
"span",
|
|
953
953
|
{
|
|
954
|
-
className: "mt-px shrink-0 transition-colors " + (copied ? "text-primary" : "text-muted-foreground
|
|
954
|
+
className: "mt-px shrink-0 transition-colors " + (copied ? "text-primary" : "text-muted-foreground group-hover/did:text-foreground/80"),
|
|
955
955
|
"aria-hidden": true,
|
|
956
956
|
children: copied ? /* @__PURE__ */ jsx(Check, { className: "size-3.5" }) : /* @__PURE__ */ jsx(Copy, { className: "size-3.5" })
|
|
957
957
|
}
|
|
@@ -1026,10 +1026,10 @@ function PromoteRow({
|
|
|
1026
1026
|
"data-oc-account-menu-promote-copy": kind,
|
|
1027
1027
|
"data-copied": copied ? "" : void 0,
|
|
1028
1028
|
className: "hover:bg-background/70 focus-visible:ring-ring/60 flex size-6 shrink-0 items-center justify-center rounded transition-colors focus-visible:ring-2 focus-visible:outline-none",
|
|
1029
|
-
children: copied ? /* @__PURE__ */ jsx(Check, { className: "text-primary size-3.5" }) : /* @__PURE__ */ jsx(Copy, { className: "text-muted-foreground
|
|
1029
|
+
children: copied ? /* @__PURE__ */ jsx(Check, { className: "text-primary size-3.5" }) : /* @__PURE__ */ jsx(Copy, { className: "text-muted-foreground size-3.5" })
|
|
1030
1030
|
}
|
|
1031
1031
|
),
|
|
1032
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
1032
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground w-14 shrink-0 text-right text-[9px] tracking-widest uppercase", children: busy ? /* @__PURE__ */ jsx(Loader2, { className: "ml-auto size-3 animate-spin" }) : kindLabel }),
|
|
1033
1033
|
/* @__PURE__ */ jsx("span", { className: "sr-only", "aria-live": "polite", children: copied ? "Copied to clipboard" : "" })
|
|
1034
1034
|
]
|
|
1035
1035
|
}
|
|
@@ -1086,7 +1086,7 @@ function IdentityPromoteSection({
|
|
|
1086
1086
|
}
|
|
1087
1087
|
};
|
|
1088
1088
|
return /* @__PURE__ */ jsxs("div", { className: "border-border border-b p-1", "data-oc-account-menu-section": "show-as", children: [
|
|
1089
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
1089
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 show as" }),
|
|
1090
1090
|
options.map((opt) => /* @__PURE__ */ jsx(
|
|
1091
1091
|
PromoteRow,
|
|
1092
1092
|
{
|
|
@@ -1180,7 +1180,7 @@ function MobileMenu({
|
|
|
1180
1180
|
"data-oc-account-mobile-popover": "",
|
|
1181
1181
|
children: [
|
|
1182
1182
|
links.length > 0 && /* @__PURE__ */ jsxs("div", { className: "border-b p-1", children: [
|
|
1183
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
1183
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 navigate" }),
|
|
1184
1184
|
links.map(
|
|
1185
1185
|
(l) => l.external ? /* @__PURE__ */ jsxs(
|
|
1186
1186
|
"a",
|
|
@@ -1194,7 +1194,7 @@ function MobileMenu({
|
|
|
1194
1194
|
children: [
|
|
1195
1195
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", "aria-hidden": true, children: "\u2192" }),
|
|
1196
1196
|
/* @__PURE__ */ jsx("span", { className: "flex-1", children: l.label }),
|
|
1197
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
1197
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[10px]", "aria-hidden": true, children: "\u2197" })
|
|
1198
1198
|
]
|
|
1199
1199
|
},
|
|
1200
1200
|
l.href
|
|
@@ -1358,7 +1358,7 @@ function OcAccountMenuView({
|
|
|
1358
1358
|
tabPinned ? /* @__PURE__ */ jsxs(
|
|
1359
1359
|
"span",
|
|
1360
1360
|
{
|
|
1361
|
-
className: "text-muted-foreground
|
|
1361
|
+
className: "text-muted-foreground normal-case",
|
|
1362
1362
|
"data-oc-account-menu-tab-pin": "",
|
|
1363
1363
|
title: "This tab keeps this account even if you switch accounts in another tab",
|
|
1364
1364
|
children: [
|
|
@@ -1370,10 +1370,10 @@ function OcAccountMenuView({
|
|
|
1370
1370
|
] }),
|
|
1371
1371
|
/* @__PURE__ */ jsx(CopyableDid, { did: account.didOc }),
|
|
1372
1372
|
account.displayIdentity.kind !== "did" && account.displayIdentity.value ? /* @__PURE__ */ jsxs("div", { className: "mt-1 flex items-center gap-1.5 font-mono text-[10px] tracking-wide", children: [
|
|
1373
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
1373
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground uppercase", children: IDENTITY_KIND_LABEL[account.displayIdentity.kind] }),
|
|
1374
1374
|
/* @__PURE__ */ jsx("span", { className: "text-foreground/75", children: obscureIdentity(account.displayIdentity.value) })
|
|
1375
1375
|
] }) : null,
|
|
1376
|
-
displayName ? /* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
1376
|
+
displayName ? /* @__PURE__ */ jsx("div", { className: "text-muted-foreground mt-1 font-mono text-[10px] tracking-wide", children: displayName }) : null
|
|
1377
1377
|
] }),
|
|
1378
1378
|
/* @__PURE__ */ jsx(
|
|
1379
1379
|
IdentityPromoteSection,
|
|
@@ -1414,7 +1414,7 @@ function OcAccountMenuView({
|
|
|
1414
1414
|
item.external ? /* @__PURE__ */ jsx(
|
|
1415
1415
|
"span",
|
|
1416
1416
|
{
|
|
1417
|
-
className: "text-muted-foreground
|
|
1417
|
+
className: "text-muted-foreground text-[10px]",
|
|
1418
1418
|
"aria-hidden": true,
|
|
1419
1419
|
children: "\u2197"
|
|
1420
1420
|
}
|
|
@@ -1463,7 +1463,7 @@ function OcAccountMenuView({
|
|
|
1463
1463
|
/* @__PURE__ */ jsx(
|
|
1464
1464
|
"span",
|
|
1465
1465
|
{
|
|
1466
|
-
className: "text-muted-foreground
|
|
1466
|
+
className: "text-muted-foreground text-[10px]",
|
|
1467
1467
|
"aria-hidden": true,
|
|
1468
1468
|
children: "\u2197"
|
|
1469
1469
|
}
|
|
@@ -1535,7 +1535,7 @@ function AccountsSection({
|
|
|
1535
1535
|
}
|
|
1536
1536
|
};
|
|
1537
1537
|
return /* @__PURE__ */ jsxs("div", { className: "border-border border-b p-1", "data-oc-account-menu-section": "accounts", children: [
|
|
1538
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
1538
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 accounts" }),
|
|
1539
1539
|
roster.map((peer) => /* @__PURE__ */ jsx(
|
|
1540
1540
|
SwitchRow,
|
|
1541
1541
|
{
|
|
@@ -1613,7 +1613,7 @@ function SwitchRow({
|
|
|
1613
1613
|
}
|
|
1614
1614
|
),
|
|
1615
1615
|
/* @__PURE__ */ jsx("span", { className: "text-foreground/90 min-w-0 flex-1 truncate", children: label }),
|
|
1616
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
1616
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground w-14 shrink-0 text-right text-[9px] tracking-widest uppercase", children: busy ? /* @__PURE__ */ jsx(Loader2, { className: "ml-auto size-3 animate-spin" }) : kindLabel })
|
|
1617
1617
|
]
|
|
1618
1618
|
}
|
|
1619
1619
|
);
|
|
@@ -1632,7 +1632,7 @@ function PopoverSection({
|
|
|
1632
1632
|
className: cn("p-1", bordered && "border-border border-t", className),
|
|
1633
1633
|
"data-oc-account-menu-section": label,
|
|
1634
1634
|
children: [
|
|
1635
|
-
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground
|
|
1635
|
+
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground px-3 pt-2 pb-1 font-mono text-[10px] tracking-widest uppercase", children: [
|
|
1636
1636
|
"\xA7 ",
|
|
1637
1637
|
label
|
|
1638
1638
|
] }),
|
|
@@ -1650,7 +1650,7 @@ function PopoverSection({
|
|
|
1650
1650
|
children: [
|
|
1651
1651
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", "aria-hidden": true, children: "\u2192" }),
|
|
1652
1652
|
/* @__PURE__ */ jsx("span", { className: "flex-1", children: item.label }),
|
|
1653
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
1653
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[10px]", "aria-hidden": true, children: "\u2197" })
|
|
1654
1654
|
]
|
|
1655
1655
|
},
|
|
1656
1656
|
item.href
|
|
@@ -1685,16 +1685,16 @@ function BuildFooter({
|
|
|
1685
1685
|
return /* @__PURE__ */ jsxs(
|
|
1686
1686
|
"div",
|
|
1687
1687
|
{
|
|
1688
|
-
className: "text-muted-foreground
|
|
1688
|
+
className: "text-muted-foreground border-border border-t px-3 py-2 font-mono text-[9.5px] tracking-widest uppercase",
|
|
1689
1689
|
"data-oc-account-menu-build": "",
|
|
1690
1690
|
children: [
|
|
1691
1691
|
hostname,
|
|
1692
1692
|
state && state !== "live" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1693
1693
|
" \xB7 ",
|
|
1694
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
1694
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: state })
|
|
1695
1695
|
] }) : null,
|
|
1696
1696
|
" ",
|
|
1697
|
-
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
1697
|
+
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground", children: [
|
|
1698
1698
|
"v",
|
|
1699
1699
|
build.version,
|
|
1700
1700
|
showSha ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -1741,7 +1741,7 @@ function OcPrimaryNav({
|
|
|
1741
1741
|
"span",
|
|
1742
1742
|
{
|
|
1743
1743
|
"aria-hidden": true,
|
|
1744
|
-
className: "text-muted-foreground
|
|
1744
|
+
className: "text-muted-foreground ml-1 text-[9px]",
|
|
1745
1745
|
children: "\u2197"
|
|
1746
1746
|
}
|
|
1747
1747
|
) : null
|
|
@@ -1924,10 +1924,10 @@ function Sidebar({
|
|
|
1924
1924
|
}
|
|
1925
1925
|
) : null
|
|
1926
1926
|
] }),
|
|
1927
|
-
siteLabel ? /* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
1927
|
+
siteLabel ? /* @__PURE__ */ jsx("div", { className: "text-muted-foreground mt-1 font-mono text-[10px] tracking-widest uppercase", children: siteLabel }) : null
|
|
1928
1928
|
] }),
|
|
1929
1929
|
/* @__PURE__ */ jsxs("nav", { className: "flex-1 overflow-y-auto px-2 py-3", children: [
|
|
1930
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
1930
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground mb-1 px-3 font-mono text-[10px] tracking-widest uppercase", children: "\xA7 tools" }),
|
|
1931
1931
|
/* @__PURE__ */ jsx("ul", { className: "space-y-0.5", children: tools.map((tool) => {
|
|
1932
1932
|
const isActive2 = tool.id === active;
|
|
1933
1933
|
const innerCls = "flex items-baseline gap-2 rounded px-3 py-1.5 text-[12.5px] transition-colors " + (isActive2 ? "bg-primary/10 text-primary font-semibold" : "text-muted-foreground hover:text-foreground hover:bg-muted/30");
|
|
@@ -1935,19 +1935,19 @@ function Sidebar({
|
|
|
1935
1935
|
tool.icon ? /* @__PURE__ */ jsx(
|
|
1936
1936
|
"span",
|
|
1937
1937
|
{
|
|
1938
|
-
className: "shrink-0 font-mono text-[11px] " + (isActive2 ? "text-primary" : "text-muted-foreground
|
|
1938
|
+
className: "shrink-0 font-mono text-[11px] " + (isActive2 ? "text-primary" : "text-muted-foreground"),
|
|
1939
1939
|
"aria-hidden": true,
|
|
1940
1940
|
children: tool.icon
|
|
1941
1941
|
}
|
|
1942
1942
|
) : null,
|
|
1943
1943
|
/* @__PURE__ */ jsxs("span", { className: "flex-1 leading-tight", children: [
|
|
1944
1944
|
/* @__PURE__ */ jsx("span", { children: tool.label }),
|
|
1945
|
-
tool.tagline ? /* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
1945
|
+
tool.tagline ? /* @__PURE__ */ jsx("span", { className: "text-muted-foreground mt-0.5 block font-mono text-[10px] tracking-wide normal-case", children: tool.tagline }) : null
|
|
1946
1946
|
] }),
|
|
1947
1947
|
tool.external ? /* @__PURE__ */ jsx(
|
|
1948
1948
|
"span",
|
|
1949
1949
|
{
|
|
1950
|
-
className: "text-muted-foreground
|
|
1950
|
+
className: "text-muted-foreground text-[10px]",
|
|
1951
1951
|
"aria-hidden": true,
|
|
1952
1952
|
children: "\u2197"
|
|
1953
1953
|
}
|
|
@@ -2002,14 +2002,14 @@ function OcDashboardHub({ tools, className }) {
|
|
|
2002
2002
|
tool.external ? /* @__PURE__ */ jsx(
|
|
2003
2003
|
"span",
|
|
2004
2004
|
{
|
|
2005
|
-
className: "text-muted-foreground
|
|
2005
|
+
className: "text-muted-foreground ml-auto text-xs",
|
|
2006
2006
|
"aria-hidden": true,
|
|
2007
2007
|
children: "\u2197"
|
|
2008
2008
|
}
|
|
2009
2009
|
) : /* @__PURE__ */ jsx(
|
|
2010
2010
|
"span",
|
|
2011
2011
|
{
|
|
2012
|
-
className: "text-muted-foreground
|
|
2012
|
+
className: "text-muted-foreground ml-auto text-xs",
|
|
2013
2013
|
"aria-hidden": true,
|
|
2014
2014
|
children: "\u2192"
|
|
2015
2015
|
}
|
|
@@ -2077,7 +2077,7 @@ function LayoutSubHeader({
|
|
|
2077
2077
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground hidden tracking-widest whitespace-nowrap uppercase sm:inline", children: status }),
|
|
2078
2078
|
/* @__PURE__ */ jsx("span", { className: "text-foreground truncate", children: product })
|
|
2079
2079
|
] }),
|
|
2080
|
-
tags.length > 0 && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
2080
|
+
tags.length > 0 && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground hidden shrink-0 items-center gap-x-3 tracking-wider whitespace-nowrap uppercase sm:flex", children: tags.map((tag, i) => /* @__PURE__ */ jsx("span", { className: tag.hideBelow ? HIDE[tag.hideBelow] : void 0, children: tag.label }, i)) })
|
|
2081
2081
|
] }) });
|
|
2082
2082
|
}
|
|
2083
2083
|
function OcAppBar({
|
|
@@ -2120,7 +2120,7 @@ var GRID = {
|
|
|
2120
2120
|
4: "md:grid-cols-[1.2fr_1fr_1fr_1fr_1fr]",
|
|
2121
2121
|
5: "md:grid-cols-[1.2fr_1fr_1fr_1fr_1fr_1fr]"
|
|
2122
2122
|
};
|
|
2123
|
-
var LINK_CLS = "text-muted-foreground hover:text-foreground font-mono text-xs tracking-wide lowercase transition-colors";
|
|
2123
|
+
var LINK_CLS = "text-muted-foreground hover:text-foreground inline-flex min-h-11 min-w-11 items-center font-mono text-xs tracking-wide lowercase transition-colors md:min-h-0 md:min-w-0";
|
|
2124
2124
|
function FooterLinkItem({ link }) {
|
|
2125
2125
|
if (link.external) {
|
|
2126
2126
|
return /* @__PURE__ */ jsxs("a", { href: link.href, target: "_blank", rel: "noreferrer", className: LINK_CLS, children: [
|
|
@@ -2137,7 +2137,7 @@ function FooterLinkItem({ link }) {
|
|
|
2137
2137
|
function FooterColumnView({ column }) {
|
|
2138
2138
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
2139
2139
|
/* @__PURE__ */ jsx("div", { className: "label-mono text-primary mb-3", children: column.label }),
|
|
2140
|
-
/* @__PURE__ */ jsx("ul", { className: "space-y-2", children: column.links.map((link) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(FooterLinkItem, { link }) }, `${column.label}:${link.href}`)) })
|
|
2140
|
+
/* @__PURE__ */ jsx("ul", { className: "md:space-y-2", children: column.links.map((link) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(FooterLinkItem, { link }) }, `${column.label}:${link.href}`)) })
|
|
2141
2141
|
] });
|
|
2142
2142
|
}
|
|
2143
2143
|
function familyColumn(category, label) {
|
|
@@ -2198,12 +2198,12 @@ function OcFamilyFooter({
|
|
|
2198
2198
|
year,
|
|
2199
2199
|
" orangecheck \xB7 mit + cc-by-4.0"
|
|
2200
2200
|
] }) }),
|
|
2201
|
-
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
2201
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground flex flex-wrap items-center gap-x-4 md:gap-y-1", children: links.map((link) => /* @__PURE__ */ jsx(
|
|
2202
2202
|
"a",
|
|
2203
2203
|
{
|
|
2204
2204
|
href: link.href,
|
|
2205
2205
|
...link.external ? { target: "_blank", rel: "noreferrer" } : {},
|
|
2206
|
-
className: "hover:text-foreground transition-colors",
|
|
2206
|
+
className: "hover:text-foreground inline-flex min-h-11 items-center transition-colors md:min-h-0",
|
|
2207
2207
|
children: link.label
|
|
2208
2208
|
},
|
|
2209
2209
|
link.label
|