@fastr-pro/global-header 1.0.11 → 1.0.12
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/index.cjs +1 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -83
- package/dist/index.js.map +1 -1
- package/dist/logo/dark.jpeg +0 -0
- package/dist/logo/light.jpeg +0 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,9 +6,9 @@ import { cva as d } from "class-variance-authority";
|
|
|
6
6
|
import { Activity as f, ArrowRight as p, ArrowUpDown as m, Award as h, BarChart2 as g, BookmarkCheck as _, Briefcase as v, Calendar as y, Check as b, ChevronDown as ee, ChevronDownIcon as x, ChevronRight as te, CircleDollarSign as S, ClipboardList as C, Clock as w, Coins as T, Compass as E, CreditCard as ne, ExternalLink as D, Gem as re, GitFork as O, Globe as ie, Layers as k, Lock as A, LogOut as j, Menu as ae, Monitor as M, Moon as N, Newspaper as oe, Percent as se, Radio as ce, Scan as le, Settings as P, ShoppingBasket as F, Shuffle as I, Sliders as L, SlidersHorizontal as ue, Sparkles as de, Sun as fe, TrendingUp as R, User as pe, Wallet as me, X as he, Zap as ge } from "lucide-react";
|
|
7
7
|
import { Popover as z } from "@base-ui/react/popover";
|
|
8
8
|
//#region src/components/FasterProLogo.jsx
|
|
9
|
-
var _e = ({ className: e = "h-9 w-auto cursor-pointer", isDarkMode: t, theme: n, ...i }) => {
|
|
9
|
+
var _e = ({ className: e = "h-9 w-auto overflow-hidden cursor-pointer", isDarkMode: t, theme: n, ...i }) => {
|
|
10
10
|
let [a, l] = o(!1);
|
|
11
|
-
r(() => {
|
|
11
|
+
return r(() => {
|
|
12
12
|
if (typeof window > "u") return;
|
|
13
13
|
let e = () => {
|
|
14
14
|
let e = document.documentElement.classList.contains("dark") || document.body.classList.contains("dark");
|
|
@@ -20,89 +20,16 @@ var _e = ({ className: e = "h-9 w-auto cursor-pointer", isDarkMode: t, theme: n,
|
|
|
20
20
|
attributes: !0,
|
|
21
21
|
attributeFilter: ["class"]
|
|
22
22
|
}), () => t.disconnect();
|
|
23
|
-
}, [])
|
|
24
|
-
let u = (t === void 0 ? n === "dark" || n !== "light" && a : t) ? "#F5F7FA" : "#17212B";
|
|
25
|
-
return /* @__PURE__ */ c("svg", {
|
|
26
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
-
viewBox: "0 0 1000 500",
|
|
23
|
+
}, []), /* @__PURE__ */ c("div", {
|
|
28
24
|
className: e,
|
|
29
25
|
...i,
|
|
30
|
-
children: [
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
children: [
|
|
38
|
-
/* @__PURE__ */ s("stop", {
|
|
39
|
-
offset: "0%",
|
|
40
|
-
stopColor: "#1455E8"
|
|
41
|
-
}),
|
|
42
|
-
/* @__PURE__ */ s("stop", {
|
|
43
|
-
offset: "55%",
|
|
44
|
-
stopColor: "#087FF5"
|
|
45
|
-
}),
|
|
46
|
-
/* @__PURE__ */ s("stop", {
|
|
47
|
-
offset: "100%",
|
|
48
|
-
stopColor: "#08B9E8"
|
|
49
|
-
})
|
|
50
|
-
]
|
|
51
|
-
}) }),
|
|
52
|
-
/* @__PURE__ */ s("rect", {
|
|
53
|
-
x: "170",
|
|
54
|
-
y: "120",
|
|
55
|
-
width: "120",
|
|
56
|
-
height: "14",
|
|
57
|
-
rx: "7",
|
|
58
|
-
fill: "#087FF5"
|
|
59
|
-
}),
|
|
60
|
-
/* @__PURE__ */ s("rect", {
|
|
61
|
-
x: "130",
|
|
62
|
-
y: "158",
|
|
63
|
-
width: "170",
|
|
64
|
-
height: "14",
|
|
65
|
-
rx: "7",
|
|
66
|
-
fill: "#5BB5FA"
|
|
67
|
-
}),
|
|
68
|
-
/* @__PURE__ */ s("rect", {
|
|
69
|
-
x: "160",
|
|
70
|
-
y: "196",
|
|
71
|
-
width: "130",
|
|
72
|
-
height: "14",
|
|
73
|
-
rx: "7",
|
|
74
|
-
fill: "#087FF5"
|
|
75
|
-
}),
|
|
76
|
-
/* @__PURE__ */ s("path", {
|
|
77
|
-
d: "M360 80 C380 48 410 32 448 32 H680 L650 78\n C638 97 616 108 585 108 H330 Z",
|
|
78
|
-
fill: "url(#faster-blue)"
|
|
79
|
-
}),
|
|
80
|
-
/* @__PURE__ */ s("path", {
|
|
81
|
-
d: "M410 125 H635 L605 174 C594 191 576 199 552 199\n H492 L450 305 C439 333 418 350 385 350 H325\n L400 165 C403 151 406 137 410 125 Z",
|
|
82
|
-
fill: u
|
|
83
|
-
}),
|
|
84
|
-
/* @__PURE__ */ s("path", {
|
|
85
|
-
d: "M465 225 H565 L540 270 H447 Z",
|
|
86
|
-
fill: u
|
|
87
|
-
}),
|
|
88
|
-
/* @__PURE__ */ c("text", {
|
|
89
|
-
x: "500",
|
|
90
|
-
y: "440",
|
|
91
|
-
textAnchor: "middle",
|
|
92
|
-
fontFamily: "Arial, Helvetica, sans-serif",
|
|
93
|
-
fontSize: "130",
|
|
94
|
-
fontWeight: "900",
|
|
95
|
-
fontStyle: "italic",
|
|
96
|
-
letterSpacing: "-3",
|
|
97
|
-
children: [/* @__PURE__ */ s("tspan", {
|
|
98
|
-
fill: u,
|
|
99
|
-
children: "FASTER"
|
|
100
|
-
}), /* @__PURE__ */ s("tspan", {
|
|
101
|
-
fill: "url(#faster-blue)",
|
|
102
|
-
children: " PRO"
|
|
103
|
-
})]
|
|
104
|
-
})
|
|
105
|
-
]
|
|
26
|
+
children: [/* @__PURE__ */ s("img", {
|
|
27
|
+
src: "/logo/dark.jpeg",
|
|
28
|
+
className: "hidden h-full object-contain dark:inline"
|
|
29
|
+
}), /* @__PURE__ */ s("img", {
|
|
30
|
+
src: "/logo/light.jpeg",
|
|
31
|
+
className: "dark:hidden h-full object-contain"
|
|
32
|
+
})]
|
|
106
33
|
});
|
|
107
34
|
}, ve = 48, B = (e, t = 0) => {
|
|
108
35
|
let n = new Int32Array(e.length);
|