@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/chrome.mjs
CHANGED
|
@@ -2121,6 +2121,9 @@ function OcFamilyFooter({
|
|
|
2121
2121
|
columns = [],
|
|
2122
2122
|
family,
|
|
2123
2123
|
legalBase = "https://ochk.io",
|
|
2124
|
+
legalCopyright,
|
|
2125
|
+
legalLinks,
|
|
2126
|
+
builtWith,
|
|
2124
2127
|
className
|
|
2125
2128
|
}) {
|
|
2126
2129
|
const familyCols = [];
|
|
@@ -2134,6 +2137,13 @@ function OcFamilyFooter({
|
|
|
2134
2137
|
const grid = GRID[allColumns.length] ?? GRID[3];
|
|
2135
2138
|
const year = (/* @__PURE__ */ new Date()).getFullYear();
|
|
2136
2139
|
const legal = (path) => `${legalBase}${path}`;
|
|
2140
|
+
const links = legalLinks ?? [
|
|
2141
|
+
{ href: legal("/privacy"), label: "privacy" },
|
|
2142
|
+
{ href: legal("/terms"), label: "terms" },
|
|
2143
|
+
{ href: legal("/security"), label: "security" },
|
|
2144
|
+
{ href: legal("/trademark"), label: "trademarks" },
|
|
2145
|
+
{ href: legal("/contact"), label: "contact" }
|
|
2146
|
+
];
|
|
2137
2147
|
return /* @__PURE__ */ jsx("footer", { className: cn("border-t", className), children: /* @__PURE__ */ jsxs("div", { className: "container py-10 sm:py-12 md:py-16", children: [
|
|
2138
2148
|
/* @__PURE__ */ jsxs("div", { className: cn("grid gap-8 sm:grid-cols-2 sm:gap-10", grid), children: [
|
|
2139
2149
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -2147,56 +2157,24 @@ function OcFamilyFooter({
|
|
|
2147
2157
|
allColumns.map((column) => /* @__PURE__ */ jsx(FooterColumnView, { column }, column.label))
|
|
2148
2158
|
] }),
|
|
2149
2159
|
/* @__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: [
|
|
2150
|
-
/* @__PURE__ */
|
|
2160
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: legalCopyright ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2151
2161
|
"\xA9 ",
|
|
2152
2162
|
year,
|
|
2153
2163
|
" orangecheck \xB7 mit + cc-by-4.0"
|
|
2154
|
-
] }),
|
|
2155
|
-
/* @__PURE__ */
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
"a",
|
|
2166
|
-
{
|
|
2167
|
-
href: legal("/terms"),
|
|
2168
|
-
className: "hover:text-foreground transition-colors",
|
|
2169
|
-
children: "terms"
|
|
2170
|
-
}
|
|
2171
|
-
),
|
|
2172
|
-
/* @__PURE__ */ jsx(
|
|
2173
|
-
"a",
|
|
2174
|
-
{
|
|
2175
|
-
href: legal("/security"),
|
|
2176
|
-
className: "hover:text-foreground transition-colors",
|
|
2177
|
-
children: "security"
|
|
2178
|
-
}
|
|
2179
|
-
),
|
|
2180
|
-
/* @__PURE__ */ jsx(
|
|
2181
|
-
"a",
|
|
2182
|
-
{
|
|
2183
|
-
href: legal("/trademark"),
|
|
2184
|
-
className: "hover:text-foreground transition-colors",
|
|
2185
|
-
children: "trademarks"
|
|
2186
|
-
}
|
|
2187
|
-
),
|
|
2188
|
-
/* @__PURE__ */ jsx(
|
|
2189
|
-
"a",
|
|
2190
|
-
{
|
|
2191
|
-
href: legal("/contact"),
|
|
2192
|
-
className: "hover:text-foreground transition-colors",
|
|
2193
|
-
children: "contact"
|
|
2194
|
-
}
|
|
2195
|
-
)
|
|
2196
|
-
] }),
|
|
2164
|
+
] }) }),
|
|
2165
|
+
/* @__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(
|
|
2166
|
+
"a",
|
|
2167
|
+
{
|
|
2168
|
+
href: link.href,
|
|
2169
|
+
...link.external ? { target: "_blank", rel: "noreferrer" } : {},
|
|
2170
|
+
className: "hover:text-foreground transition-colors",
|
|
2171
|
+
children: link.label
|
|
2172
|
+
},
|
|
2173
|
+
link.label
|
|
2174
|
+
)) }),
|
|
2197
2175
|
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground inline-flex items-center gap-1.5", children: [
|
|
2198
2176
|
/* @__PURE__ */ jsx("span", { className: "text-primary text-[13px] leading-none", children: "\u20BF" }),
|
|
2199
|
-
/* @__PURE__ */ jsx("span", { children: "built with bitcoin" })
|
|
2177
|
+
/* @__PURE__ */ jsx("span", { children: builtWith ?? "built with bitcoin" })
|
|
2200
2178
|
] })
|
|
2201
2179
|
] })
|
|
2202
2180
|
] }) });
|