@orangecheck/design 0.24.0 → 0.25.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/dist/chrome.d.mts +4 -1
- package/dist/chrome.d.ts +4 -1
- package/dist/chrome.js +23 -45
- package/dist/chrome.js.map +1 -1
- package/dist/chrome.mjs +23 -45
- package/dist/chrome.mjs.map +1 -1
- package/dist/components.js +23 -45
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +23 -45
- package/dist/components.mjs.map +1 -1
- package/dist/index.js +23 -45
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -45
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/components.mjs
CHANGED
|
@@ -3004,6 +3004,9 @@ function OcFamilyFooter({
|
|
|
3004
3004
|
columns = [],
|
|
3005
3005
|
family,
|
|
3006
3006
|
legalBase = "https://ochk.io",
|
|
3007
|
+
legalCopyright,
|
|
3008
|
+
legalLinks,
|
|
3009
|
+
builtWith,
|
|
3007
3010
|
className
|
|
3008
3011
|
}) {
|
|
3009
3012
|
const familyCols = [];
|
|
@@ -3017,6 +3020,13 @@ function OcFamilyFooter({
|
|
|
3017
3020
|
const grid = GRID[allColumns.length] ?? GRID[3];
|
|
3018
3021
|
const year = (/* @__PURE__ */ new Date()).getFullYear();
|
|
3019
3022
|
const legal = (path) => `${legalBase}${path}`;
|
|
3023
|
+
const links = legalLinks ?? [
|
|
3024
|
+
{ href: legal("/privacy"), label: "privacy" },
|
|
3025
|
+
{ href: legal("/terms"), label: "terms" },
|
|
3026
|
+
{ href: legal("/security"), label: "security" },
|
|
3027
|
+
{ href: legal("/trademark"), label: "trademarks" },
|
|
3028
|
+
{ href: legal("/contact"), label: "contact" }
|
|
3029
|
+
];
|
|
3020
3030
|
return /* @__PURE__ */ jsx("footer", { className: cn("border-t", className), children: /* @__PURE__ */ jsxs("div", { className: "container py-10 sm:py-12 md:py-16", children: [
|
|
3021
3031
|
/* @__PURE__ */ jsxs("div", { className: cn("grid gap-8 sm:grid-cols-2 sm:gap-10", grid), children: [
|
|
3022
3032
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -3030,56 +3040,24 @@ function OcFamilyFooter({
|
|
|
3030
3040
|
allColumns.map((column) => /* @__PURE__ */ jsx(FooterColumnView, { column }, column.label))
|
|
3031
3041
|
] }),
|
|
3032
3042
|
/* @__PURE__ */ jsxs("div", { className: "mt-10 flex flex-col items-start justify-between gap-3 border-t pt-6 font-mono text-[11px] tracking-widest uppercase sm:flex-row sm:items-center", children: [
|
|
3033
|
-
/* @__PURE__ */
|
|
3043
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: legalCopyright ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
3034
3044
|
"\xA9 ",
|
|
3035
3045
|
year,
|
|
3036
3046
|
" orangecheck \xB7 mit + cc-by-4.0"
|
|
3037
|
-
] }),
|
|
3038
|
-
/* @__PURE__ */
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
"a",
|
|
3049
|
-
{
|
|
3050
|
-
href: legal("/terms"),
|
|
3051
|
-
className: "hover:text-foreground transition-colors",
|
|
3052
|
-
children: "terms"
|
|
3053
|
-
}
|
|
3054
|
-
),
|
|
3055
|
-
/* @__PURE__ */ jsx(
|
|
3056
|
-
"a",
|
|
3057
|
-
{
|
|
3058
|
-
href: legal("/security"),
|
|
3059
|
-
className: "hover:text-foreground transition-colors",
|
|
3060
|
-
children: "security"
|
|
3061
|
-
}
|
|
3062
|
-
),
|
|
3063
|
-
/* @__PURE__ */ jsx(
|
|
3064
|
-
"a",
|
|
3065
|
-
{
|
|
3066
|
-
href: legal("/trademark"),
|
|
3067
|
-
className: "hover:text-foreground transition-colors",
|
|
3068
|
-
children: "trademarks"
|
|
3069
|
-
}
|
|
3070
|
-
),
|
|
3071
|
-
/* @__PURE__ */ jsx(
|
|
3072
|
-
"a",
|
|
3073
|
-
{
|
|
3074
|
-
href: legal("/contact"),
|
|
3075
|
-
className: "hover:text-foreground transition-colors",
|
|
3076
|
-
children: "contact"
|
|
3077
|
-
}
|
|
3078
|
-
)
|
|
3079
|
-
] }),
|
|
3047
|
+
] }) }),
|
|
3048
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground/80 flex flex-wrap items-center gap-x-4 gap-y-1", children: links.map((link) => /* @__PURE__ */ jsx(
|
|
3049
|
+
"a",
|
|
3050
|
+
{
|
|
3051
|
+
href: link.href,
|
|
3052
|
+
...link.external ? { target: "_blank", rel: "noreferrer" } : {},
|
|
3053
|
+
className: "hover:text-foreground transition-colors",
|
|
3054
|
+
children: link.label
|
|
3055
|
+
},
|
|
3056
|
+
link.label
|
|
3057
|
+
)) }),
|
|
3080
3058
|
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground inline-flex items-center gap-1.5", children: [
|
|
3081
3059
|
/* @__PURE__ */ jsx("span", { className: "text-primary text-[13px] leading-none", children: "\u20BF" }),
|
|
3082
|
-
/* @__PURE__ */ jsx("span", { children: "built with bitcoin" })
|
|
3060
|
+
/* @__PURE__ */ jsx("span", { children: builtWith ?? "built with bitcoin" })
|
|
3083
3061
|
] })
|
|
3084
3062
|
] })
|
|
3085
3063
|
] }) });
|