@thoughthub/hq 1.0.0 → 1.1.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/Roxborough-CF_Regular-RKID7EPV.otf +0 -0
- package/dist/index.js +45 -22
- package/dist/index.mjs +46 -23
- package/package.json +2 -2
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -32,36 +32,59 @@ var import_react = require("react");
|
|
|
32
32
|
// src/assets/th-logo.png
|
|
33
33
|
var th_logo_default = "./th-logo-SIZX3HFF.png";
|
|
34
34
|
|
|
35
|
+
// src/assets/Roxborough-CF_Regular.otf
|
|
36
|
+
var Roxborough_CF_Regular_default = "./Roxborough-CF_Regular-RKID7EPV.otf";
|
|
37
|
+
|
|
35
38
|
// src/CraftingCredit.tsx
|
|
36
39
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
37
40
|
var CraftingCredit = () => {
|
|
38
41
|
const [logoSrc, setLogoSrc] = (0, import_react.useState)(
|
|
39
42
|
"https://cdn.thoughthubhq.com/th-logo.png"
|
|
40
43
|
);
|
|
41
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
45
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("style", { children: `
|
|
46
|
+
@font-face {
|
|
47
|
+
font-family: 'RoxboroughCF';
|
|
48
|
+
src: url(${Roxborough_CF_Regular_default}) format('opentype');
|
|
49
|
+
font-weight: bold;
|
|
50
|
+
font-style: normal;
|
|
51
|
+
font-display: swap;
|
|
52
|
+
}
|
|
53
|
+
.font-roxborough {
|
|
54
|
+
font-family: 'RoxboroughCF', serif;
|
|
55
|
+
}
|
|
56
|
+
` }),
|
|
57
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
58
|
+
"a",
|
|
59
|
+
{
|
|
60
|
+
href: "https://thoughthubhq.com",
|
|
61
|
+
target: "_blank",
|
|
62
|
+
rel: "noopener noreferrer",
|
|
63
|
+
className: "block w-fit no-underline",
|
|
64
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
65
|
+
"div",
|
|
50
66
|
{
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
67
|
+
className: "group relative flex items-center gap-4 text-xs tracking-tight sm:text-sm cursor-pointer hover:scale-105 transition-transform duration-500 \n after:content-[''] after:absolute after:-bottom-2 after:left-0 after:h-0.5 after:w-full after:origin-left after:scale-x-0 hover:after:scale-x-100 after:transition-transform after:duration-500 after:ease-in-out \n after:bg-neutral-800 dark:after:bg-[#e7eacd]",
|
|
68
|
+
children: [
|
|
69
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "shrink-0 pr-4 border-r border-neutral-200 dark:border-neutral-700 transition-colors duration-300", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
70
|
+
"img",
|
|
71
|
+
{
|
|
72
|
+
src: logoSrc,
|
|
73
|
+
alt: "ThoughtHub Logo",
|
|
74
|
+
className: "w-9 h-9 object-contain",
|
|
75
|
+
onError: () => setLogoSrc(th_logo_default)
|
|
76
|
+
}
|
|
77
|
+
) }),
|
|
78
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex flex-col justify-center", children: [
|
|
79
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-[10px] uppercase tracking-widest text-neutral-500 font-bold leading-none mb-1", children: "Crafted by" }),
|
|
80
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "flex flex-col text-lg font-bold text-neutral-900 dark:text-[#e7eacd] font-roxborough", children: "ThoughtHub" })
|
|
81
|
+
] })
|
|
82
|
+
]
|
|
56
83
|
}
|
|
57
|
-
)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
] })
|
|
62
|
-
] })
|
|
63
|
-
}
|
|
64
|
-
) });
|
|
84
|
+
)
|
|
85
|
+
}
|
|
86
|
+
)
|
|
87
|
+
] });
|
|
65
88
|
};
|
|
66
89
|
|
|
67
90
|
// src/index.ts
|
package/dist/index.mjs
CHANGED
|
@@ -4,36 +4,59 @@ import { useState } from "react";
|
|
|
4
4
|
// src/assets/th-logo.png
|
|
5
5
|
var th_logo_default = "./th-logo-SIZX3HFF.png";
|
|
6
6
|
|
|
7
|
+
// src/assets/Roxborough-CF_Regular.otf
|
|
8
|
+
var Roxborough_CF_Regular_default = "./Roxborough-CF_Regular-RKID7EPV.otf";
|
|
9
|
+
|
|
7
10
|
// src/CraftingCredit.tsx
|
|
8
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
12
|
var CraftingCredit = () => {
|
|
10
13
|
const [logoSrc, setLogoSrc] = useState(
|
|
11
14
|
"https://cdn.thoughthubhq.com/th-logo.png"
|
|
12
15
|
);
|
|
13
|
-
return /* @__PURE__ */
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
17
|
+
/* @__PURE__ */ jsx("style", { children: `
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: 'RoxboroughCF';
|
|
20
|
+
src: url(${Roxborough_CF_Regular_default}) format('opentype');
|
|
21
|
+
font-weight: bold;
|
|
22
|
+
font-style: normal;
|
|
23
|
+
font-display: swap;
|
|
24
|
+
}
|
|
25
|
+
.font-roxborough {
|
|
26
|
+
font-family: 'RoxboroughCF', serif;
|
|
27
|
+
}
|
|
28
|
+
` }),
|
|
29
|
+
/* @__PURE__ */ jsx(
|
|
30
|
+
"a",
|
|
31
|
+
{
|
|
32
|
+
href: "https://thoughthubhq.com",
|
|
33
|
+
target: "_blank",
|
|
34
|
+
rel: "noopener noreferrer",
|
|
35
|
+
className: "block w-fit no-underline",
|
|
36
|
+
children: /* @__PURE__ */ jsxs(
|
|
37
|
+
"div",
|
|
22
38
|
{
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
39
|
+
className: "group relative flex items-center gap-4 text-xs tracking-tight sm:text-sm cursor-pointer hover:scale-105 transition-transform duration-500 \n after:content-[''] after:absolute after:-bottom-2 after:left-0 after:h-0.5 after:w-full after:origin-left after:scale-x-0 hover:after:scale-x-100 after:transition-transform after:duration-500 after:ease-in-out \n after:bg-neutral-800 dark:after:bg-[#e7eacd]",
|
|
40
|
+
children: [
|
|
41
|
+
/* @__PURE__ */ jsx("div", { className: "shrink-0 pr-4 border-r border-neutral-200 dark:border-neutral-700 transition-colors duration-300", children: /* @__PURE__ */ jsx(
|
|
42
|
+
"img",
|
|
43
|
+
{
|
|
44
|
+
src: logoSrc,
|
|
45
|
+
alt: "ThoughtHub Logo",
|
|
46
|
+
className: "w-9 h-9 object-contain",
|
|
47
|
+
onError: () => setLogoSrc(th_logo_default)
|
|
48
|
+
}
|
|
49
|
+
) }),
|
|
50
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-center", children: [
|
|
51
|
+
/* @__PURE__ */ jsx("span", { className: "text-[10px] uppercase tracking-widest text-neutral-500 font-bold leading-none mb-1", children: "Crafted by" }),
|
|
52
|
+
/* @__PURE__ */ jsx("span", { className: "flex flex-col text-lg font-bold text-neutral-900 dark:text-[#e7eacd] font-roxborough", children: "ThoughtHub" })
|
|
53
|
+
] })
|
|
54
|
+
]
|
|
28
55
|
}
|
|
29
|
-
)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
] })
|
|
34
|
-
] })
|
|
35
|
-
}
|
|
36
|
-
) });
|
|
56
|
+
)
|
|
57
|
+
}
|
|
58
|
+
)
|
|
59
|
+
] });
|
|
37
60
|
};
|
|
38
61
|
|
|
39
62
|
// src/index.ts
|
package/package.json
CHANGED