@medialane/ui 0.294.0 → 0.296.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/components/create-sponsorship-aside.cjs +52 -0
- package/dist/components/create-sponsorship-aside.cjs.map +1 -0
- package/dist/components/create-sponsorship-aside.d.cts +5 -0
- package/dist/components/create-sponsorship-aside.d.ts +5 -0
- package/dist/components/create-sponsorship-aside.js +28 -0
- package/dist/components/create-sponsorship-aside.js.map +1 -0
- package/dist/components/fast-mint/asset-form-parts.cjs +194 -0
- package/dist/components/fast-mint/asset-form-parts.cjs.map +1 -0
- package/dist/components/fast-mint/asset-form-parts.d.cts +33 -0
- package/dist/components/fast-mint/asset-form-parts.d.ts +33 -0
- package/dist/components/fast-mint/asset-form-parts.js +158 -0
- package/dist/components/fast-mint/asset-form-parts.js.map +1 -0
- package/dist/components/fast-mint/collection-section.cjs +211 -0
- package/dist/components/fast-mint/collection-section.cjs.map +1 -0
- package/dist/components/fast-mint/collection-section.d.cts +27 -0
- package/dist/components/fast-mint/collection-section.d.ts +27 -0
- package/dist/components/fast-mint/collection-section.js +176 -0
- package/dist/components/fast-mint/collection-section.js.map +1 -0
- package/dist/components/fast-mint/fast-mint.cjs +116 -653
- package/dist/components/fast-mint/fast-mint.cjs.map +1 -1
- package/dist/components/fast-mint/fast-mint.js +115 -661
- package/dist/components/fast-mint/fast-mint.js.map +1 -1
- package/dist/components/fast-mint/form.cjs +40 -0
- package/dist/components/fast-mint/form.cjs.map +1 -0
- package/dist/components/fast-mint/form.d.cts +15 -0
- package/dist/components/fast-mint/form.d.ts +15 -0
- package/dist/components/fast-mint/form.js +16 -0
- package/dist/components/fast-mint/form.js.map +1 -0
- package/dist/components/fast-mint/ip-type-section.cjs +76 -0
- package/dist/components/fast-mint/ip-type-section.cjs.map +1 -0
- package/dist/components/fast-mint/ip-type-section.d.cts +17 -0
- package/dist/components/fast-mint/ip-type-section.d.ts +17 -0
- package/dist/components/fast-mint/ip-type-section.js +52 -0
- package/dist/components/fast-mint/ip-type-section.js.map +1 -0
- package/dist/components/fast-mint/licensing-section.cjs +124 -0
- package/dist/components/fast-mint/licensing-section.cjs.map +1 -0
- package/dist/components/fast-mint/licensing-section.d.cts +14 -0
- package/dist/components/fast-mint/licensing-section.d.ts +14 -0
- package/dist/components/fast-mint/licensing-section.js +99 -0
- package/dist/components/fast-mint/licensing-section.js.map +1 -0
- package/dist/components/fast-mint/media-kind.cjs +48 -0
- package/dist/components/fast-mint/media-kind.cjs.map +1 -0
- package/dist/components/fast-mint/media-kind.d.cts +12 -0
- package/dist/components/fast-mint/media-kind.d.ts +12 -0
- package/dist/components/fast-mint/media-kind.js +22 -0
- package/dist/components/fast-mint/media-kind.js.map +1 -0
- package/dist/components/fast-mint/mint-asset.cjs +124 -0
- package/dist/components/fast-mint/mint-asset.cjs.map +1 -0
- package/dist/components/fast-mint/mint-asset.d.cts +41 -0
- package/dist/components/fast-mint/mint-asset.d.ts +41 -0
- package/dist/components/fast-mint/mint-asset.js +100 -0
- package/dist/components/fast-mint/mint-asset.js.map +1 -0
- package/dist/components/fast-mint/use-ipfs-upload.cjs +64 -0
- package/dist/components/fast-mint/use-ipfs-upload.cjs.map +1 -0
- package/dist/components/fast-mint/use-ipfs-upload.d.cts +9 -0
- package/dist/components/fast-mint/use-ipfs-upload.d.ts +9 -0
- package/dist/components/fast-mint/use-ipfs-upload.js +40 -0
- package/dist/components/fast-mint/use-ipfs-upload.js.map +1 -0
- package/dist/components/fast-mint/use-new-collection-draft.cjs +66 -0
- package/dist/components/fast-mint/use-new-collection-draft.cjs.map +1 -0
- package/dist/components/fast-mint/use-new-collection-draft.d.cts +13 -0
- package/dist/components/fast-mint/use-new-collection-draft.d.ts +13 -0
- package/dist/components/fast-mint/use-new-collection-draft.js +42 -0
- package/dist/components/fast-mint/use-new-collection-draft.js.map +1 -0
- package/dist/components/journey-content.cjs +156 -0
- package/dist/components/journey-content.cjs.map +1 -0
- package/dist/components/journey-content.d.cts +7 -0
- package/dist/components/journey-content.d.ts +7 -0
- package/dist/components/journey-content.js +122 -0
- package/dist/components/journey-content.js.map +1 -0
- package/dist/components/page-skeletons.cjs +152 -0
- package/dist/components/page-skeletons.cjs.map +1 -0
- package/dist/components/page-skeletons.d.cts +10 -0
- package/dist/components/page-skeletons.d.ts +10 -0
- package/dist/components/page-skeletons.js +123 -0
- package/dist/components/page-skeletons.js.map +1 -0
- package/dist/components/rewards-page.cjs +41 -0
- package/dist/components/rewards-page.cjs.map +1 -0
- package/dist/components/rewards-page.d.cts +5 -0
- package/dist/components/rewards-page.d.ts +5 -0
- package/dist/components/rewards-page.js +17 -0
- package/dist/components/rewards-page.js.map +1 -0
- package/dist/components/route-error.cjs +65 -0
- package/dist/components/route-error.cjs.map +1 -0
- package/dist/components/route-error.d.cts +10 -0
- package/dist/components/route-error.d.ts +10 -0
- package/dist/components/route-error.js +41 -0
- package/dist/components/route-error.js.map +1 -0
- package/dist/components/settings-snapshots.cjs +124 -0
- package/dist/components/settings-snapshots.cjs.map +1 -0
- package/dist/components/settings-snapshots.d.cts +12 -0
- package/dist/components/settings-snapshots.d.ts +12 -0
- package/dist/components/settings-snapshots.js +89 -0
- package/dist/components/settings-snapshots.js.map +1 -0
- package/dist/index.cjs +30 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import Link from "./link.js";
|
|
4
|
+
import { Sparkles, ArrowRight } from "lucide-react";
|
|
5
|
+
import { useMedialaneApp } from "./medialane-app.js";
|
|
6
|
+
import { LevelJourneyList } from "./rewards/level-journey-list.js";
|
|
7
|
+
import { BadgeCatalog } from "./rewards/badge-catalog.js";
|
|
8
|
+
import { Skeleton } from "./skeleton.js";
|
|
9
|
+
import { useRewardsConfig } from "../utils/use-rewards.js";
|
|
10
|
+
const EXAMPLE_ACTION_TYPES = [
|
|
11
|
+
"mint_asset",
|
|
12
|
+
"buy_asset",
|
|
13
|
+
"create_collection",
|
|
14
|
+
"comment",
|
|
15
|
+
"launch_launchpad",
|
|
16
|
+
"make_offer",
|
|
17
|
+
"join_club",
|
|
18
|
+
"list_asset"
|
|
19
|
+
];
|
|
20
|
+
function Hero() {
|
|
21
|
+
return /* @__PURE__ */ jsxs("section", { className: "py-14 space-y-5", children: [
|
|
22
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
23
|
+
/* @__PURE__ */ jsx("div", { className: "flex h-10 w-10 items-center justify-center rounded-xl bg-gradient-to-br from-brand-orange to-brand-maeve text-white shrink-0", children: /* @__PURE__ */ jsx(Sparkles, { className: "h-5 w-5" }) }),
|
|
24
|
+
/* @__PURE__ */ jsxs("h1", { className: "text-5xl sm:text-6xl font-black tracking-tight leading-[1.02]", children: [
|
|
25
|
+
"Your",
|
|
26
|
+
" ",
|
|
27
|
+
/* @__PURE__ */ jsx("span", { className: "bg-gradient-to-r from-brand-orange to-brand-maeve bg-clip-text text-transparent", children: "Journey" })
|
|
28
|
+
] })
|
|
29
|
+
] }),
|
|
30
|
+
/* @__PURE__ */ jsxs("p", { className: "text-lg text-foreground/70 max-w-xl leading-relaxed font-medium", children: [
|
|
31
|
+
"Every level, every badge, every way to earn \u2014 the whole system, in one place. Check",
|
|
32
|
+
" ",
|
|
33
|
+
/* @__PURE__ */ jsx(Link, { href: "/rewards", className: "text-foreground underline underline-offset-2 hover:text-brand-orange transition-colors", children: "your own score" }),
|
|
34
|
+
" ",
|
|
35
|
+
"on Rewards."
|
|
36
|
+
] })
|
|
37
|
+
] });
|
|
38
|
+
}
|
|
39
|
+
function LevelsSection() {
|
|
40
|
+
const { data: config, isLoading } = useRewardsConfig();
|
|
41
|
+
return /* @__PURE__ */ jsxs("section", { className: "py-14 space-y-6", children: [
|
|
42
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
43
|
+
/* @__PURE__ */ jsx("h2", { className: "text-2xl font-black tracking-tight", children: "The Level Ladder" }),
|
|
44
|
+
/* @__PURE__ */ jsx("p", { className: "text-base text-foreground/60 mt-1.5 font-medium", children: "50 levels, from Starter to Genesis." })
|
|
45
|
+
] }),
|
|
46
|
+
isLoading || !config ? /* @__PURE__ */ jsx(Skeleton, { className: "h-96 w-full rounded-2xl" }) : /* @__PURE__ */ jsx(LevelJourneyList, { levels: config.levels })
|
|
47
|
+
] });
|
|
48
|
+
}
|
|
49
|
+
function HowXpWorksSection() {
|
|
50
|
+
const { data: config, isLoading } = useRewardsConfig();
|
|
51
|
+
const examples = config?.actions.filter((a) => EXAMPLE_ACTION_TYPES.includes(a.type)) ?? [];
|
|
52
|
+
return /* @__PURE__ */ jsxs("section", { className: "py-14 space-y-6", children: [
|
|
53
|
+
/* @__PURE__ */ jsxs("div", { className: "max-w-2xl", children: [
|
|
54
|
+
/* @__PURE__ */ jsx("h2", { className: "text-2xl font-black tracking-tight", children: "How XP works" }),
|
|
55
|
+
/* @__PURE__ */ jsx("p", { className: "text-base text-foreground/60 mt-1.5 font-medium leading-relaxed", children: "Every action earns real XP, automatically \u2014 no buying points, no gaming the system. Some early actions and loyalty count extra. Scores and badges are recalculated weekly." })
|
|
56
|
+
] }),
|
|
57
|
+
isLoading || !config ? /* @__PURE__ */ jsx(Skeleton, { className: "h-40 w-full rounded-2xl" }) : /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 sm:grid-cols-4 gap-3", children: examples.map((a) => /* @__PURE__ */ jsxs("div", { className: "rounded-2xl bg-foreground/[0.04] p-4", children: [
|
|
58
|
+
/* @__PURE__ */ jsxs("p", { className: "text-lg font-black text-brand-orange", children: [
|
|
59
|
+
"+",
|
|
60
|
+
a.xp
|
|
61
|
+
] }),
|
|
62
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs font-semibold text-foreground/60 mt-1 leading-snug", children: a.label })
|
|
63
|
+
] }, a.type)) })
|
|
64
|
+
] });
|
|
65
|
+
}
|
|
66
|
+
function BadgesSection() {
|
|
67
|
+
const { data: config, isLoading } = useRewardsConfig();
|
|
68
|
+
return /* @__PURE__ */ jsxs("section", { className: "py-14 space-y-6", children: [
|
|
69
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
70
|
+
/* @__PURE__ */ jsx("h2", { className: "text-2xl font-black tracking-tight", children: "Badges" }),
|
|
71
|
+
/* @__PURE__ */ jsx("p", { className: "text-base text-foreground/60 mt-1.5 font-medium", children: "What's achievable, not just what you've done." })
|
|
72
|
+
] }),
|
|
73
|
+
isLoading || !config ? /* @__PURE__ */ jsx(Skeleton, { className: "h-64 w-full rounded-2xl" }) : /* @__PURE__ */ jsx(BadgeCatalog, { badges: config.badges })
|
|
74
|
+
] });
|
|
75
|
+
}
|
|
76
|
+
function CtaSection({ startHint }) {
|
|
77
|
+
const { onRequireWallet } = useMedialaneApp();
|
|
78
|
+
return /* @__PURE__ */ jsxs("section", { className: "py-14 pb-20 grid grid-cols-1 sm:grid-cols-2 gap-4", children: [
|
|
79
|
+
/* @__PURE__ */ jsxs(
|
|
80
|
+
"button",
|
|
81
|
+
{
|
|
82
|
+
type: "button",
|
|
83
|
+
onClick: onRequireWallet,
|
|
84
|
+
className: "flex items-center justify-between rounded-2xl bg-gradient-to-br from-brand-orange to-brand-maeve p-6 text-left text-white",
|
|
85
|
+
children: [
|
|
86
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
87
|
+
/* @__PURE__ */ jsx("p", { className: "font-black text-lg", children: "New here?" }),
|
|
88
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-white/80", children: startHint })
|
|
89
|
+
] }),
|
|
90
|
+
/* @__PURE__ */ jsx(ArrowRight, { className: "h-5 w-5 shrink-0" })
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
),
|
|
94
|
+
/* @__PURE__ */ jsxs(
|
|
95
|
+
Link,
|
|
96
|
+
{
|
|
97
|
+
href: "/rewards",
|
|
98
|
+
className: "flex items-center justify-between rounded-2xl bg-foreground/[0.04] hover:bg-foreground/[0.07] p-6 transition-colors",
|
|
99
|
+
children: [
|
|
100
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
101
|
+
/* @__PURE__ */ jsx("p", { className: "font-black text-lg", children: "Already earning?" }),
|
|
102
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-foreground/60", children: "Check your score." })
|
|
103
|
+
] }),
|
|
104
|
+
/* @__PURE__ */ jsx(ArrowRight, { className: "h-5 w-5 shrink-0" })
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
)
|
|
108
|
+
] });
|
|
109
|
+
}
|
|
110
|
+
function JourneyContent({ startHint }) {
|
|
111
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
112
|
+
/* @__PURE__ */ jsx(Hero, {}),
|
|
113
|
+
/* @__PURE__ */ jsx(LevelsSection, {}),
|
|
114
|
+
/* @__PURE__ */ jsx(HowXpWorksSection, {}),
|
|
115
|
+
/* @__PURE__ */ jsx(BadgesSection, {}),
|
|
116
|
+
/* @__PURE__ */ jsx(CtaSection, { startHint })
|
|
117
|
+
] });
|
|
118
|
+
}
|
|
119
|
+
export {
|
|
120
|
+
JourneyContent
|
|
121
|
+
};
|
|
122
|
+
//# sourceMappingURL=journey-content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/journey-content.tsx"],"sourcesContent":["\"use client\";\n\nimport Link from \"./link.js\";\nimport { Sparkles, ArrowRight } from \"lucide-react\";\nimport { useMedialaneApp } from \"./medialane-app.js\";\nimport { LevelJourneyList } from \"./rewards/level-journey-list.js\";\nimport { BadgeCatalog } from \"./rewards/badge-catalog.js\";\nimport { Skeleton } from \"./skeleton.js\";\nimport { useRewardsConfig } from \"../utils/use-rewards.js\";\n\nconst EXAMPLE_ACTION_TYPES = [\n \"mint_asset\", \"buy_asset\", \"create_collection\", \"comment\",\n \"launch_launchpad\", \"make_offer\", \"join_club\", \"list_asset\",\n];\n\nfunction Hero() {\n return (\n <section className=\"py-14 space-y-5\">\n <div className=\"flex items-center gap-3\">\n <div className=\"flex h-10 w-10 items-center justify-center rounded-xl bg-gradient-to-br from-brand-orange to-brand-maeve text-white shrink-0\">\n <Sparkles className=\"h-5 w-5\" />\n </div>\n <h1 className=\"text-5xl sm:text-6xl font-black tracking-tight leading-[1.02]\">\n Your{\" \"}\n <span className=\"bg-gradient-to-r from-brand-orange to-brand-maeve bg-clip-text text-transparent\">\n Journey\n </span>\n </h1>\n </div>\n <p className=\"text-lg text-foreground/70 max-w-xl leading-relaxed font-medium\">\n Every level, every badge, every way to earn — the whole system, in one place. Check{\" \"}\n <Link href=\"/rewards\" className=\"text-foreground underline underline-offset-2 hover:text-brand-orange transition-colors\">\n your own score\n </Link>{\" \"}\n on Rewards.\n </p>\n </section>\n );\n}\n\nfunction LevelsSection() {\n const { data: config, isLoading } = useRewardsConfig();\n return (\n <section className=\"py-14 space-y-6\">\n <div>\n <h2 className=\"text-2xl font-black tracking-tight\">The Level Ladder</h2>\n <p className=\"text-base text-foreground/60 mt-1.5 font-medium\">50 levels, from Starter to Genesis.</p>\n </div>\n {isLoading || !config ? (\n <Skeleton className=\"h-96 w-full rounded-2xl\" />\n ) : (\n <LevelJourneyList levels={config.levels} />\n )}\n </section>\n );\n}\n\nfunction HowXpWorksSection() {\n const { data: config, isLoading } = useRewardsConfig();\n const examples = config?.actions.filter((a) => EXAMPLE_ACTION_TYPES.includes(a.type)) ?? [];\n\n return (\n <section className=\"py-14 space-y-6\">\n <div className=\"max-w-2xl\">\n <h2 className=\"text-2xl font-black tracking-tight\">How XP works</h2>\n <p className=\"text-base text-foreground/60 mt-1.5 font-medium leading-relaxed\">\n Every action earns real XP, automatically — no buying points, no gaming the system.\n Some early actions and loyalty count extra. Scores and badges are\n recalculated weekly.\n </p>\n </div>\n {isLoading || !config ? (\n <Skeleton className=\"h-40 w-full rounded-2xl\" />\n ) : (\n <div className=\"grid grid-cols-2 sm:grid-cols-4 gap-3\">\n {examples.map((a) => (\n <div key={a.type} className=\"rounded-2xl bg-foreground/[0.04] p-4\">\n <p className=\"text-lg font-black text-brand-orange\">+{a.xp}</p>\n <p className=\"text-xs font-semibold text-foreground/60 mt-1 leading-snug\">{a.label}</p>\n </div>\n ))}\n </div>\n )}\n </section>\n );\n}\n\nfunction BadgesSection() {\n const { data: config, isLoading } = useRewardsConfig();\n return (\n <section className=\"py-14 space-y-6\">\n <div>\n <h2 className=\"text-2xl font-black tracking-tight\">Badges</h2>\n <p className=\"text-base text-foreground/60 mt-1.5 font-medium\">What's achievable, not just what you've done.</p>\n </div>\n {isLoading || !config ? (\n <Skeleton className=\"h-64 w-full rounded-2xl\" />\n ) : (\n <BadgeCatalog badges={config.badges} />\n )}\n </section>\n );\n}\n\nfunction CtaSection({ startHint }: { startHint: string }) {\n const { onRequireWallet } = useMedialaneApp();\n return (\n <section className=\"py-14 pb-20 grid grid-cols-1 sm:grid-cols-2 gap-4\">\n <button\n type=\"button\"\n onClick={onRequireWallet}\n className=\"flex items-center justify-between rounded-2xl bg-gradient-to-br from-brand-orange to-brand-maeve p-6 text-left text-white\"\n >\n <div>\n <p className=\"font-black text-lg\">New here?</p>\n <p className=\"text-sm font-medium text-white/80\">{startHint}</p>\n </div>\n <ArrowRight className=\"h-5 w-5 shrink-0\" />\n </button>\n <Link\n href=\"/rewards\"\n className=\"flex items-center justify-between rounded-2xl bg-foreground/[0.04] hover:bg-foreground/[0.07] p-6 transition-colors\"\n >\n <div>\n <p className=\"font-black text-lg\">Already earning?</p>\n <p className=\"text-sm font-medium text-foreground/60\">Check your score.</p>\n </div>\n <ArrowRight className=\"h-5 w-5 shrink-0\" />\n </Link>\n </section>\n );\n}\n\nexport function JourneyContent({ startHint }: { startHint: string }) {\n return (\n <>\n <Hero />\n <LevelsSection />\n <HowXpWorksSection />\n <BadgesSection />\n <C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AAAA,aAC9D;AAAA,UACA,oBAAC,cAAW,WAAU,oBAAmB;AAAA;AAAA;AAAA,IAC3C;AAAA,IACA;AAAA,MAAC;AAAA;AAAA,QACC,MAAK;AAAA,QACL,WAAU;AAAA,QAEV;AAAA,+BAAC,SACC;AAAA,gCAAC,OAAE,WAAU,sBAAqB,8BAAgB;AAAA,YAClD,oBAAC,OAAE,WAAU,0CAAyC,+BAAiB;AAAA,aACzE;AAAA,UACA,oBAAC,cAAW,WAAU,oBAAmB;AAAA;AAAA;AAAA,IAC3C;AAAA,KACF;AAEJ;AAEO,SAAS,eAAe,EAAE,UAAU,GAA0B;AACnE,SACE,iCACE;AAAA,wBAAC,QAAK;AAAA,IACN,oBAAC,iBAAc;AAAA,IACf,oBAAC,qBAAkB;AAAA,IACnB,oBAAC,iBAAc;AAAA,IACf,oBAAC,cAAW,WAAsB;AAAA,KACpC;AAEJ;","names":[]}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var page_skeletons_exports = {};
|
|
20
|
+
__export(page_skeletons_exports, {
|
|
21
|
+
AccountLoading: () => AccountLoading,
|
|
22
|
+
ActivitiesLoading: () => ActivitiesLoading,
|
|
23
|
+
CollectionsLoading: () => CollectionsLoading,
|
|
24
|
+
CreatorLoading: () => CreatorLoading,
|
|
25
|
+
MarketplaceLoading: () => MarketplaceLoading,
|
|
26
|
+
PortfolioLoading: () => PortfolioLoading
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(page_skeletons_exports);
|
|
29
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
30
|
+
var import_skeleton = require("./skeleton.js");
|
|
31
|
+
function AccountLoading() {
|
|
32
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "pb-20 min-h-screen", children: [
|
|
33
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "w-full h-48 sm:h-64 rounded-none" }),
|
|
34
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "px-6", children: [
|
|
35
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "-mt-14 sm:-mt-16 relative z-10", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex flex-wrap items-end gap-x-4 gap-y-3 pb-6", children: [
|
|
36
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-[88px] w-[88px] rounded-full shrink-0 ring-[3px] ring-background" }),
|
|
37
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex-1 min-w-0 pb-1 space-y-2", children: [
|
|
38
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-5 w-20 rounded-full" }),
|
|
39
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-6 w-52" }),
|
|
40
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-4 w-40" })
|
|
41
|
+
] }),
|
|
42
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-8 w-20 rounded-lg pb-1" })
|
|
43
|
+
] }) }),
|
|
44
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "border-b border-border flex gap-1 pb-0 mb-0", children: [72, 80, 104, 76].map((w, i) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-10 rounded-none", style: { width: w } }, i)) }),
|
|
45
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "mt-6 grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-4", children: Array.from({ length: 8 }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "rounded-2xl border border-border overflow-hidden", children: [
|
|
46
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "aspect-square w-full" }),
|
|
47
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "p-3 space-y-2", children: [
|
|
48
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-4 w-3/4" }),
|
|
49
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-3 w-1/2" })
|
|
50
|
+
] })
|
|
51
|
+
] }, i)) })
|
|
52
|
+
] })
|
|
53
|
+
] });
|
|
54
|
+
}
|
|
55
|
+
function CreatorLoading() {
|
|
56
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "pb-20 min-h-screen", children: [
|
|
57
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "w-full h-48 sm:h-64 rounded-none" }),
|
|
58
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "px-6", children: [
|
|
59
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "-mt-14 sm:-mt-16 relative z-10", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex flex-wrap items-end gap-x-4 gap-y-3 pb-6", children: [
|
|
60
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-[88px] w-[88px] rounded-full shrink-0 ring-[3px] ring-background" }),
|
|
61
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex-1 min-w-0 pb-1 space-y-2", children: [
|
|
62
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-5 w-20 rounded-full" }),
|
|
63
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-6 w-52" }),
|
|
64
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-4 w-40" })
|
|
65
|
+
] }),
|
|
66
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-8 w-20 rounded-lg pb-1" })
|
|
67
|
+
] }) }),
|
|
68
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "border-b border-border flex gap-1 pb-0 mb-0", children: [72, 80, 104, 76].map((w, i) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-10 rounded-none", style: { width: w } }, i)) }),
|
|
69
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "mt-6 grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-4", children: Array.from({ length: 8 }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "rounded-2xl border border-border overflow-hidden", children: [
|
|
70
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "aspect-square w-full" }),
|
|
71
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "p-3 space-y-2", children: [
|
|
72
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-4 w-3/4" }),
|
|
73
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-3 w-1/2" })
|
|
74
|
+
] })
|
|
75
|
+
] }, i)) })
|
|
76
|
+
] })
|
|
77
|
+
] });
|
|
78
|
+
}
|
|
79
|
+
function ActivitiesLoading() {
|
|
80
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "mx-auto w-full px-4 sm:px-6 lg:px-8 py-8 space-y-6", children: [
|
|
81
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-1", children: [
|
|
82
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-4 w-24" }),
|
|
83
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-9 w-40" }),
|
|
84
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-4 w-72" })
|
|
85
|
+
] }),
|
|
86
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "flex gap-2", children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-8 w-20 rounded-md" }, i)) }),
|
|
87
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "rounded-xl border border-border bg-card divide-y divide-border/60 overflow-hidden", children: Array.from({ length: 10 }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center gap-3 px-4 py-3", children: [
|
|
88
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-8 w-8 rounded-lg shrink-0" }),
|
|
89
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex-1 space-y-1.5", children: [
|
|
90
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-3.5 w-40" }),
|
|
91
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-3 w-24" })
|
|
92
|
+
] }),
|
|
93
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-3 w-12" })
|
|
94
|
+
] }, i)) })
|
|
95
|
+
] });
|
|
96
|
+
}
|
|
97
|
+
function CollectionsLoading() {
|
|
98
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "mx-auto w-full px-4 sm:px-6 lg:px-8 py-8 space-y-8", children: [
|
|
99
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-2", children: [
|
|
100
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-4 w-28" }),
|
|
101
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-9 w-56" }),
|
|
102
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-4 w-80" })
|
|
103
|
+
] }),
|
|
104
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "grid grid-cols-2 lg:grid-cols-4 gap-4 sm:gap-5", children: Array.from({ length: 8 }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "relative rounded-xl border border-border overflow-hidden", children: [
|
|
105
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "aspect-square w-full rounded-none" }),
|
|
106
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "absolute bottom-3 left-3 right-3 space-y-1.5", children: [
|
|
107
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-4 w-2/3 bg-muted-foreground/20" }),
|
|
108
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-3 w-1/3 bg-muted-foreground/20" })
|
|
109
|
+
] })
|
|
110
|
+
] }, i)) })
|
|
111
|
+
] });
|
|
112
|
+
}
|
|
113
|
+
function MarketplaceLoading() {
|
|
114
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "px-4 py-8 space-y-6", children: [
|
|
115
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-1", children: [
|
|
116
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-4 w-28" }),
|
|
117
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-8 w-56" }),
|
|
118
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-4 w-96" })
|
|
119
|
+
] }),
|
|
120
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-3 pb-2 border-b border-border/60", children: [
|
|
121
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-9 w-full sm:max-w-sm" }),
|
|
122
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-7 w-full" })
|
|
123
|
+
] }),
|
|
124
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4", children: Array.from({ length: 12 }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "rounded-xl border border-border bg-card overflow-hidden", children: [
|
|
125
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "aspect-square w-full" }),
|
|
126
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "p-3 space-y-2", children: [
|
|
127
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-4 w-3/4" }),
|
|
128
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-3 w-1/2" })
|
|
129
|
+
] })
|
|
130
|
+
] }, i)) })
|
|
131
|
+
] });
|
|
132
|
+
}
|
|
133
|
+
function PortfolioLoading() {
|
|
134
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "mx-auto w-full px-4 sm:px-6 lg:px-8 py-8 space-y-6", children: [
|
|
135
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-1", children: [
|
|
136
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-9 w-36" }),
|
|
137
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-4 w-56" })
|
|
138
|
+
] }),
|
|
139
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "flex gap-1", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-9 w-28 rounded-md" }, i)) }),
|
|
140
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "space-y-3", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { className: "h-20 w-full rounded-xl" }, i)) })
|
|
141
|
+
] });
|
|
142
|
+
}
|
|
143
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
144
|
+
0 && (module.exports = {
|
|
145
|
+
AccountLoading,
|
|
146
|
+
ActivitiesLoading,
|
|
147
|
+
CollectionsLoading,
|
|
148
|
+
CreatorLoading,
|
|
149
|
+
MarketplaceLoading,
|
|
150
|
+
PortfolioLoading
|
|
151
|
+
});
|
|
152
|
+
//# sourceMappingURL=page-skeletons.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/page-skeletons.tsx"],"sourcesContent":["import { Skeleton } from \"./skeleton.js\";\n\nexport function AccountLoading() {\n return (\n <div className=\"pb-20 min-h-screen\">\n\n <Skeleton className=\"w-full h-48 sm:h-64 rounded-none\" />\n\n <div className=\"px-6\">\n\n <div className=\"-mt-14 sm:-mt-16 relative z-10\">\n <div className=\"flex flex-wrap items-end gap-x-4 gap-y-3 pb-6\">\n <Skeleton className=\"h-[88px] w-[88px] rounded-full shrink-0 ring-[3px] ring-background\" />\n <div className=\"flex-1 min-w-0 pb-1 space-y-2\">\n <Skeleton className=\"h-5 w-20 rounded-full\" />\n <Skeleton className=\"h-6 w-52\" />\n <Skeleton className=\"h-4 w-40\" />\n </div>\n <Skeleton className=\"h-8 w-20 rounded-lg pb-1\" />\n </div>\n </div>\n\n <div className=\"border-b border-border flex gap-1 pb-0 mb-0\">\n {[72, 80, 104, 76].map((w, i) => (\n <Skeleton key={i} className=\"h-10 rounded-none\" style={{ width: w }} />\n ))}\n </div>\n\n <div className=\"mt-6 grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-4\">\n {Array.from({ length: 8 }).map((_, i) => (\n <div key={i} className=\"rounded-2xl border border-border overflow-hidden\">\n <Skeleton className=\"aspect-square w-full\" />\n <div className=\"p-3 space-y-2\">\n <Skeleton className=\"h-4 w-3/4\" />\n <Skeleton className=\"h-3 w-1/2\" />\n </div>\n </div>\n ))}\n </div>\n </div>\n </div>\n );\n}\n\nexport function CreatorLoading() {\n return (\n <div className=\"pb-20 min-h-screen\">\n\n <Skeleton className=\"w-full h-48 sm:h-64 rounded-none\" />\n\n <div className=\"px-6\">\n\n <div className=\"-mt-14 sm:-mt-16 relative z-10\">\n <div className=\"flex flex-wrap items-end gap-x-4 gap-y-3 pb-6\">\n <Skeleton className=\"h-[88px] w-[88px] rounded-full shrink-0 ring-[3px] ring-background\" />\n <div className=\"flex-1 min-w-0 pb-1 space-y-2\">\n <Skeleton className=\"h-5 w-20 rounded-full\" />\n <Skeleton className=\"h-6 w-52\" />\n <Skeleton className=\"h-4 w-40\" />\n </div>\n <Skeleton className=\"h-8 w-20 rounded-lg pb-1\" />\n </div>\n </div>\n\n <div className=\"border-b border-border flex gap-1 pb-0 mb-0\">\n {[72, 80, 104, 76].map((w, i) => (\n <Skeleton key={i} className=\"h-10 rounded-none\" style={{ width: w }} />\n ))}\n </div>\n\n <div className=\"mt-6 grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-4\">\n {Array.from({ length: 8 }).map((_, i) => (\n <div key={i} className=\"rounded-2xl border border-border overflow-hidden\">\n <Skeleton className=\"aspect-square w-full\" />\n <div className=\"p-3 space-y-2\">\n <Skeleton className=\"h-4 w-3/4\" />\n <Skeleton className=\"h-3 w-1/2\" />\n </div>\n </div>\n ))}\n </div>\n </div>\n </div>\n );\n}\n\nexport function ActivitiesLoading() {\n return (\n <div className=\"mx-auto w-full px-4 sm:px-6 lg:px-8 py-8 space-y-6\">\n <div className=\"space-y-1\">\n <Skeleton className=\"h-4 w-24\" />\n <Skeleton className=\"h-9 w-40\" />\n <Skeleton className=\"h-4 w-72\" />\n </div>\n <div className=\"flex gap-2\">\n {Array.from({ length: 5 }).map((_, i) => (\n <Skeleton key={i} className=\"h-8 w-20 rounded-md\" />\n ))}\n </div>\n <div className=\"rounded-xl border border-border bg-card divide-y divide-border/60 overflow-hidden\">\n {Array.from({ length: 10 }).map((_, i) => (\n <div key={i} className=\"flex items-center gap-3 px-4 py-3\">\n <Skeleton className=\"h-8 w-8 rounded-lg shrink-0\" />\n <div className=\"flex-1 space-y-1.5\">\n <Skeleton className=\"h-3.5 w-40\" />\n <Skeleton className=\"h-3 w-24\" />\n </div>\n <Skeleton className=\"h-3 w-12\" />\n </div>\n ))}\n </div>\n </div>\n );\n}\n\nexport function CollectionsLoading() {\n return (\n <div className=\"mx-auto w-full px-4 sm:px-6 lg:px-8 py-8 space-y-8\">\n <div className=\"space-y-2\">\n <Skeleton className=\"h-4 w-28\" />\n <Skeleton className=\"h-9 w-56\" />\n <Skeleton className=\"h-4 w-80\" />\n </div>\n <div className=\"grid grid-cols-2 lg:grid-cols-4 gap-4 sm:gap-5\">\n {Array.from({ length: 8 }).map((_, i) => (\n <div key={i} className=\"relative rounded-xl border border-border overflow-hidden\">\n <Skeleton className=\"aspect-square w-full rounded-none\" />\n <div className=\"absolute bottom-3 left-3 right-3 space-y-1.5\">\n <Skeleton className=\"h-4 w-2/3 bg-muted-foreground/20\" />\n <Skeleton className=\"h-3 w-1/3 bg-muted-foreground/20\" />\n </div>\n </div>\n ))}\n </div>\n </div>\n );\n}\n\nexport function MarketplaceLoading() {\n return (\n <div className=\"px-4 py-8 space-y-6\">\n <div className=\"space-y-1\">\n <Skeleton className=\"h-4 w-28\" />\n <Skeleton className=\"h-8 w-56\" />\n <Skeleton className=\"h-4 w-96\" />\n </div>\n <div className=\"space-y-3 pb-2 border-b border-border/60\">\n <Skeleton className=\"h-9 w-full sm:max-w-sm\" />\n <Skeleton className=\"h-7 w-full\" />\n </div>\n <div className=\"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4\">\n {Array.from({ length: 12 }).map((_, i) => (\n <div key={i} className=\"rounded-xl border border-border bg-card overflow-hidden\">\n <Skeleton className=\"aspect-square w-full\" />\n <div className=\"p-3 space-y-2\">\n <Skeleton className=\"h-4 w-3/4\" />\n <Skeleton className=\"h-3 w-1/2\" />\n </div>\n </div>\n ))}\n </div>\n </div>\n );\n}\n\nexport function PortfolioLoading() {\n return (\n <div className=\"mx-auto w-full px-4 sm:px-6 lg:px-8 py-8 space-y-6\">\n <div className=\"space-y-1\">\n <Skeleton className=\"h-9 w-36\" />\n <Skeleton className=\"h-4 w-56\" />\n </div>\n <div className=\"flex gap-1\">\n {Array.from({ length: 6 }).map((_, i) => (\n <Skeleton key={i} className=\"h-9 w-28 rounded-md\" />\n ))}\n </div>\n <div className=\"space-y-3\">\n {Array.from({ length: 6 }).map((_, i) => (\n <Skeleton key={i} className=\"h-20 w-full rounded-xl\" />\n ))}\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMM;AANN,sBAAyB;AAElB,SAAS,iBAAiB;AAC/B,SACE,6CAAC,SAAI,WAAU,sBAEb;AAAA,gDAAC,4BAAS,WAAU,oCAAmC;AAAA,IAEvD,6CAAC,SAAI,WAAU,QAEb;AAAA,kDAAC,SAAI,WAAU,kCACb,uDAAC,SAAI,WAAU,iDACb;AAAA,oDAAC,4BAAS,WAAU,sEAAqE;AAAA,QACzF,6CAAC,SAAI,WAAU,iCACb;AAAA,sDAAC,4BAAS,WAAU,yBAAwB;AAAA,UAC5C,4CAAC,4BAAS,WAAU,YAAW;AAAA,UAC/B,4CAAC,4BAAS,WAAU,YAAW;AAAA,WACjC;AAAA,QACA,4CAAC,4BAAS,WAAU,4BAA2B;AAAA,SACjD,GACF;AAAA,MAEA,4CAAC,SAAI,WAAU,+CACZ,WAAC,IAAI,IAAI,KAAK,EAAE,EAAE,IAAI,CAAC,GAAG,MACzB,4CAAC,4BAAiB,WAAU,qBAAoB,OAAO,EAAE,OAAO,EAAE,KAAnD,CAAsD,CACtE,GACH;AAAA,MAEA,4CAAC,SAAI,WAAU,4EACZ,gBAAM,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,IAAI,CAAC,GAAG,MACjC,6CAAC,SAAY,WAAU,oDACrB;AAAA,oDAAC,4BAAS,WAAU,wBAAuB;AAAA,QAC3C,6CAAC,SAAI,WAAU,iBACb;AAAA,sDAAC,4BAAS,WAAU,aAAY;AAAA,UAChC,4CAAC,4BAAS,WAAU,aAAY;AAAA,WAClC;AAAA,WALQ,CAM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CAAC,4BAAS,WAAU,YAAW;AAAA,OACjC;AAAA,IACA,6CAAC,SAAI,WAAU,4CACb;AAAA,kDAAC,4BAAS,WAAU,0BAAyB;AAAA,MAC7C,4CAAC,4BAAS,WAAU,cAAa;AAAA,OACnC;AAAA,IACA,4CAAC,SAAI,WAAU,wDACZ,gBAAM,KAAK,EAAE,QAAQ,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG,MAClC,6CAAC,SAAY,WAAU,2DACrB;AAAA,kDAAC,4BAAS,WAAU,wBAAuB;AAAA,MAC3C,6CAAC,SAAI,WAAU,iBACb;AAAA,oDAAC,4BAAS,WAAU,aAAY;AAAA,QAChC,4CAAC,4BAAS,WAAU,aAAY;AAAA,SAClC;AAAA,SALQ,CAMV,CACD,GACH;AAAA,KACF;AAEJ;AAEO,SAAS,mBAAmB;AACjC,SACE,6CAAC,SAAI,WAAU,sDACb;AAAA,iDAAC,SAAI,WAAU,aACb;AAAA,kDAAC,4BAAS,WAAU,YAAW;AAAA,MAC/B,4CAAC,4BAAS,WAAU,YAAW;AAAA,OACjC;AAAA,IACA,4CAAC,SAAI,WAAU,cACZ,gBAAM,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,IAAI,CAAC,GAAG,MACjC,4CAAC,4BAAiB,WAAU,yBAAb,CAAmC,CACnD,GACH;AAAA,IACA,4CAAC,SAAI,WAAU,aACZ,gBAAM,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,IAAI,CAAC,GAAG,MACjC,4CAAC,4BAAiB,WAAU,4BAAb,CAAsC,CACtD,GACH;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
declare function AccountLoading(): react_jsx_runtime.JSX.Element;
|
|
4
|
+
declare function CreatorLoading(): react_jsx_runtime.JSX.Element;
|
|
5
|
+
declare function ActivitiesLoading(): react_jsx_runtime.JSX.Element;
|
|
6
|
+
declare function CollectionsLoading(): react_jsx_runtime.JSX.Element;
|
|
7
|
+
declare function MarketplaceLoading(): react_jsx_runtime.JSX.Element;
|
|
8
|
+
declare function PortfolioLoading(): react_jsx_runtime.JSX.Element;
|
|
9
|
+
|
|
10
|
+
export { AccountLoading, ActivitiesLoading, CollectionsLoading, CreatorLoading, MarketplaceLoading, PortfolioLoading };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
declare function AccountLoading(): react_jsx_runtime.JSX.Element;
|
|
4
|
+
declare function CreatorLoading(): react_jsx_runtime.JSX.Element;
|
|
5
|
+
declare function ActivitiesLoading(): react_jsx_runtime.JSX.Element;
|
|
6
|
+
declare function CollectionsLoading(): react_jsx_runtime.JSX.Element;
|
|
7
|
+
declare function MarketplaceLoading(): react_jsx_runtime.JSX.Element;
|
|
8
|
+
declare function PortfolioLoading(): react_jsx_runtime.JSX.Element;
|
|
9
|
+
|
|
10
|
+
export { AccountLoading, ActivitiesLoading, CollectionsLoading, CreatorLoading, MarketplaceLoading, PortfolioLoading };
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Skeleton } from "./skeleton.js";
|
|
3
|
+
function AccountLoading() {
|
|
4
|
+
return /* @__PURE__ */ jsxs("div", { className: "pb-20 min-h-screen", children: [
|
|
5
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "w-full h-48 sm:h-64 rounded-none" }),
|
|
6
|
+
/* @__PURE__ */ jsxs("div", { className: "px-6", children: [
|
|
7
|
+
/* @__PURE__ */ jsx("div", { className: "-mt-14 sm:-mt-16 relative z-10", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-end gap-x-4 gap-y-3 pb-6", children: [
|
|
8
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-[88px] w-[88px] rounded-full shrink-0 ring-[3px] ring-background" }),
|
|
9
|
+
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0 pb-1 space-y-2", children: [
|
|
10
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-20 rounded-full" }),
|
|
11
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-6 w-52" }),
|
|
12
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-40" })
|
|
13
|
+
] }),
|
|
14
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-20 rounded-lg pb-1" })
|
|
15
|
+
] }) }),
|
|
16
|
+
/* @__PURE__ */ jsx("div", { className: "border-b border-border flex gap-1 pb-0 mb-0", children: [72, 80, 104, 76].map((w, i) => /* @__PURE__ */ jsx(Skeleton, { className: "h-10 rounded-none", style: { width: w } }, i)) }),
|
|
17
|
+
/* @__PURE__ */ jsx("div", { className: "mt-6 grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-4", children: Array.from({ length: 8 }).map((_, i) => /* @__PURE__ */ jsxs("div", { className: "rounded-2xl border border-border overflow-hidden", children: [
|
|
18
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "aspect-square w-full" }),
|
|
19
|
+
/* @__PURE__ */ jsxs("div", { className: "p-3 space-y-2", children: [
|
|
20
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-3/4" }),
|
|
21
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-1/2" })
|
|
22
|
+
] })
|
|
23
|
+
] }, i)) })
|
|
24
|
+
] })
|
|
25
|
+
] });
|
|
26
|
+
}
|
|
27
|
+
function CreatorLoading() {
|
|
28
|
+
return /* @__PURE__ */ jsxs("div", { className: "pb-20 min-h-screen", children: [
|
|
29
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "w-full h-48 sm:h-64 rounded-none" }),
|
|
30
|
+
/* @__PURE__ */ jsxs("div", { className: "px-6", children: [
|
|
31
|
+
/* @__PURE__ */ jsx("div", { className: "-mt-14 sm:-mt-16 relative z-10", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-end gap-x-4 gap-y-3 pb-6", children: [
|
|
32
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-[88px] w-[88px] rounded-full shrink-0 ring-[3px] ring-background" }),
|
|
33
|
+
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0 pb-1 space-y-2", children: [
|
|
34
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-20 rounded-full" }),
|
|
35
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-6 w-52" }),
|
|
36
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-40" })
|
|
37
|
+
] }),
|
|
38
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-20 rounded-lg pb-1" })
|
|
39
|
+
] }) }),
|
|
40
|
+
/* @__PURE__ */ jsx("div", { className: "border-b border-border flex gap-1 pb-0 mb-0", children: [72, 80, 104, 76].map((w, i) => /* @__PURE__ */ jsx(Skeleton, { className: "h-10 rounded-none", style: { width: w } }, i)) }),
|
|
41
|
+
/* @__PURE__ */ jsx("div", { className: "mt-6 grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-4", children: Array.from({ length: 8 }).map((_, i) => /* @__PURE__ */ jsxs("div", { className: "rounded-2xl border border-border overflow-hidden", children: [
|
|
42
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "aspect-square w-full" }),
|
|
43
|
+
/* @__PURE__ */ jsxs("div", { className: "p-3 space-y-2", children: [
|
|
44
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-3/4" }),
|
|
45
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-1/2" })
|
|
46
|
+
] })
|
|
47
|
+
] }, i)) })
|
|
48
|
+
] })
|
|
49
|
+
] });
|
|
50
|
+
}
|
|
51
|
+
function ActivitiesLoading() {
|
|
52
|
+
return /* @__PURE__ */ jsxs("div", { className: "mx-auto w-full px-4 sm:px-6 lg:px-8 py-8 space-y-6", children: [
|
|
53
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
54
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-24" }),
|
|
55
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-9 w-40" }),
|
|
56
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-72" })
|
|
57
|
+
] }),
|
|
58
|
+
/* @__PURE__ */ jsx("div", { className: "flex gap-2", children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-20 rounded-md" }, i)) }),
|
|
59
|
+
/* @__PURE__ */ jsx("div", { className: "rounded-xl border border-border bg-card divide-y divide-border/60 overflow-hidden", children: Array.from({ length: 10 }).map((_, i) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 px-4 py-3", children: [
|
|
60
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-8 rounded-lg shrink-0" }),
|
|
61
|
+
/* @__PURE__ */ jsxs("div", { className: "flex-1 space-y-1.5", children: [
|
|
62
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-3.5 w-40" }),
|
|
63
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-24" })
|
|
64
|
+
] }),
|
|
65
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-12" })
|
|
66
|
+
] }, i)) })
|
|
67
|
+
] });
|
|
68
|
+
}
|
|
69
|
+
function CollectionsLoading() {
|
|
70
|
+
return /* @__PURE__ */ jsxs("div", { className: "mx-auto w-full px-4 sm:px-6 lg:px-8 py-8 space-y-8", children: [
|
|
71
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
72
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-28" }),
|
|
73
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-9 w-56" }),
|
|
74
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-80" })
|
|
75
|
+
] }),
|
|
76
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 lg:grid-cols-4 gap-4 sm:gap-5", children: Array.from({ length: 8 }).map((_, i) => /* @__PURE__ */ jsxs("div", { className: "relative rounded-xl border border-border overflow-hidden", children: [
|
|
77
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "aspect-square w-full rounded-none" }),
|
|
78
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute bottom-3 left-3 right-3 space-y-1.5", children: [
|
|
79
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-2/3 bg-muted-foreground/20" }),
|
|
80
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-1/3 bg-muted-foreground/20" })
|
|
81
|
+
] })
|
|
82
|
+
] }, i)) })
|
|
83
|
+
] });
|
|
84
|
+
}
|
|
85
|
+
function MarketplaceLoading() {
|
|
86
|
+
return /* @__PURE__ */ jsxs("div", { className: "px-4 py-8 space-y-6", children: [
|
|
87
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
88
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-28" }),
|
|
89
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-56" }),
|
|
90
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-96" })
|
|
91
|
+
] }),
|
|
92
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-3 pb-2 border-b border-border/60", children: [
|
|
93
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-9 w-full sm:max-w-sm" }),
|
|
94
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-7 w-full" })
|
|
95
|
+
] }),
|
|
96
|
+
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4", children: Array.from({ length: 12 }).map((_, i) => /* @__PURE__ */ jsxs("div", { className: "rounded-xl border border-border bg-card overflow-hidden", children: [
|
|
97
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "aspect-square w-full" }),
|
|
98
|
+
/* @__PURE__ */ jsxs("div", { className: "p-3 space-y-2", children: [
|
|
99
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-3/4" }),
|
|
100
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-1/2" })
|
|
101
|
+
] })
|
|
102
|
+
] }, i)) })
|
|
103
|
+
] });
|
|
104
|
+
}
|
|
105
|
+
function PortfolioLoading() {
|
|
106
|
+
return /* @__PURE__ */ jsxs("div", { className: "mx-auto w-full px-4 sm:px-6 lg:px-8 py-8 space-y-6", children: [
|
|
107
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
108
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-9 w-36" }),
|
|
109
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-56" })
|
|
110
|
+
] }),
|
|
111
|
+
/* @__PURE__ */ jsx("div", { className: "flex gap-1", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ jsx(Skeleton, { className: "h-9 w-28 rounded-md" }, i)) }),
|
|
112
|
+
/* @__PURE__ */ jsx("div", { className: "space-y-3", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ jsx(Skeleton, { className: "h-20 w-full rounded-xl" }, i)) })
|
|
113
|
+
] });
|
|
114
|
+
}
|
|
115
|
+
export {
|
|
116
|
+
AccountLoading,
|
|
117
|
+
ActivitiesLoading,
|
|
118
|
+
CollectionsLoading,
|
|
119
|
+
CreatorLoading,
|
|
120
|
+
MarketplaceLoading,
|
|
121
|
+
PortfolioLoading
|
|
122
|
+
};
|
|
123
|
+
//# sourceMappingURL=page-skeletons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/page-skeletons.tsx"],"sourcesContent":["import { Skeleton } from \"./skeleton.js\";\n\nexport function AccountLoading() {\n return (\n <div className=\"pb-20 min-h-screen\">\n\n <Skeleton className=\"w-full h-48 sm:h-64 rounded-none\" />\n\n <div className=\"px-6\">\n\n <div className=\"-mt-14 sm:-mt-16 relative z-10\">\n <div className=\"flex flex-wrap items-end gap-x-4 gap-y-3 pb-6\">\n <Skeleton className=\"h-[88px] w-[88px] rounded-full shrink-0 ring-[3px] ring-background\" />\n <div className=\"flex-1 min-w-0 pb-1 space-y-2\">\n <Skeleton className=\"h-5 w-20 rounded-full\" />\n <Skeleton className=\"h-6 w-52\" />\n <Skeleton className=\"h-4 w-40\" />\n </div>\n <Skeleton className=\"h-8 w-20 rounded-lg pb-1\" />\n </div>\n </div>\n\n <div className=\"border-b border-border flex gap-1 pb-0 mb-0\">\n {[72, 80, 104, 76].map((w, i) => (\n <Skeleton key={i} className=\"h-10 rounded-none\" style={{ width: w }} />\n ))}\n </div>\n\n <div className=\"mt-6 grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-4\">\n {Array.from({ length: 8 }).map((_, i) => (\n <div key={i} className=\"rounded-2xl border border-border overflow-hidden\">\n <Skeleton className=\"aspect-square w-full\" />\n <div className=\"p-3 space-y-2\">\n <Skeleton className=\"h-4 w-3/4\" />\n <Skeleton className=\"h-3 w-1/2\" />\n </div>\n </div>\n ))}\n </div>\n </div>\n </div>\n );\n}\n\nexport function CreatorLoading() {\n return (\n <div className=\"pb-20 min-h-screen\">\n\n <Skeleton className=\"w-full h-48 sm:h-64 rounded-none\" />\n\n <div className=\"px-6\">\n\n <div className=\"-mt-14 sm:-mt-16 relative z-10\">\n <div className=\"flex flex-wrap items-end gap-x-4 gap-y-3 pb-6\">\n <Skeleton className=\"h-[88px] w-[88px] rounded-full shrink-0 ring-[3px] ring-background\" />\n <div className=\"flex-1 min-w-0 pb-1 space-y-2\">\n <Skeleton className=\"h-5 w-20 rounded-full\" />\n <Skeleton className=\"h-6 w-52\" />\n <Skeleton className=\"h-4 w-40\" />\n </div>\n <Skeleton className=\"h-8 w-20 rounded-lg pb-1\" />\n </div>\n </div>\n\n <div className=\"border-b border-border flex gap-1 pb-0 mb-0\">\n {[72, 80, 104, 76].map((w, i) => (\n <Skeleton key={i} className=\"h-10 rounded-none\" style={{ width: w }} />\n ))}\n </div>\n\n <div className=\"mt-6 grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-4\">\n {Array.from({ length: 8 }).map((_, i) => (\n <div key={i} className=\"rounded-2xl border border-border overflow-hidden\">\n <Skeleton className=\"aspect-square w-full\" />\n <div className=\"p-3 space-y-2\">\n <Skeleton className=\"h-4 w-3/4\" />\n <Skeleton className=\"h-3 w-1/2\" />\n </div>\n </div>\n ))}\n </div>\n </div>\n </div>\n );\n}\n\nexport function ActivitiesLoading() {\n return (\n <div className=\"mx-auto w-full px-4 sm:px-6 lg:px-8 py-8 space-y-6\">\n <div className=\"space-y-1\">\n <Skeleton className=\"h-4 w-24\" />\n <Skeleton className=\"h-9 w-40\" />\n <Skeleton className=\"h-4 w-72\" />\n </div>\n <div className=\"flex gap-2\">\n {Array.from({ length: 5 }).map((_, i) => (\n <Skeleton key={i} className=\"h-8 w-20 rounded-md\" />\n ))}\n </div>\n <div className=\"rounded-xl border border-border bg-card divide-y divide-border/60 overflow-hidden\">\n {Array.from({ length: 10 }).map((_, i) => (\n <div key={i} className=\"flex items-center gap-3 px-4 py-3\">\n <Skeleton className=\"h-8 w-8 rounded-lg shrink-0\" />\n <div className=\"flex-1 space-y-1.5\">\n <Skeleton className=\"h-3.5 w-40\" />\n <Skeleton className=\"h-3 w-24\" />\n </div>\n <Skeleton className=\"h-3 w-12\" />\n </div>\n ))}\n </div>\n </div>\n );\n}\n\nexport function CollectionsLoading() {\n return (\n <div className=\"mx-auto w-full px-4 sm:px-6 lg:px-8 py-8 space-y-8\">\n <div className=\"space-y-2\">\n <Skeleton className=\"h-4 w-28\" />\n <Skeleton className=\"h-9 w-56\" />\n <Skeleton className=\"h-4 w-80\" />\n </div>\n <div className=\"grid grid-cols-2 lg:grid-cols-4 gap-4 sm:gap-5\">\n {Array.from({ length: 8 }).map((_, i) => (\n <div key={i} className=\"relative rounded-xl border border-border overflow-hidden\">\n <Skeleton className=\"aspect-square w-full rounded-none\" />\n <div className=\"absolute bottom-3 left-3 right-3 space-y-1.5\">\n <Skeleton className=\"h-4 w-2/3 bg-muted-foreground/20\" />\n <Skeleton className=\"h-3 w-1/3 bg-muted-foreground/20\" />\n </div>\n </div>\n ))}\n </div>\n </div>\n );\n}\n\nexport function MarketplaceLoading() {\n return (\n <div className=\"px-4 py-8 space-y-6\">\n <div className=\"space-y-1\">\n <Skeleton className=\"h-4 w-28\" />\n <Skeleton className=\"h-8 w-56\" />\n <Skeleton className=\"h-4 w-96\" />\n </div>\n <div className=\"space-y-3 pb-2 border-b border-border/60\">\n <Skeleton className=\"h-9 w-full sm:max-w-sm\" />\n <Skeleton className=\"h-7 w-full\" />\n </div>\n <div className=\"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4\">\n {Array.from({ length: 12 }).map((_, i) => (\n <div key={i} className=\"rounded-xl border border-border bg-card overflow-hidden\">\n <Skeleton className=\"aspect-square w-full\" />\n <div className=\"p-3 space-y-2\">\n <Skeleton className=\"h-4 w-3/4\" />\n <Skeleton className=\"h-3 w-1/2\" />\n </div>\n </div>\n ))}\n </div>\n </div>\n );\n}\n\nexport function PortfolioLoading() {\n return (\n <div className=\"mx-auto w-full px-4 sm:px-6 lg:px-8 py-8 space-y-6\">\n <div className=\"space-y-1\">\n <Skeleton className=\"h-9 w-36\" />\n <Skeleton className=\"h-4 w-56\" />\n </div>\n <div className=\"flex gap-1\">\n {Array.from({ length: 6 }).map((_, i) => (\n <Skeleton key={i} className=\"h-9 w-28 rounded-md\" />\n ))}\n </div>\n <div className=\"space-y-3\">\n {Array.from({ length: 6 }).map((_, i) => (\n <Skeleton key={i} className=\"h-20 w-full rounded-xl\" />\n ))}\n </div>\n </div>\n );\n}\n"],"mappings":"AAMM,cAOM,YAPN;AANN,SAAS,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AC,SAAI,WAAU,iBACb;AAAA,4BAAC,YAAS,WAAU,aAAY;AAAA,QAChC,oBAAC,YAAS,WAAU,aAAY;AAAA,SAClC;AAAA,SALQ,CAMV,CACD,GACH;AAAA,KACF;AAEJ;AAEO,SAAS,mBAAmB;AACjC,SACE,qBAAC,SAAI,WAAU,sDACb;AAAA,yBAAC,SAAI,WAAU,aACb;AAAA,0BAAC,YAAS,WAAU,YAAW;AAAA,MAC/B,oBAAC,YAAS,WAAU,YAAW;AAAA,OACjC;AAAA,IACA,oBAAC,SAAI,WAAU,cACZ,gBAAM,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,IAAI,CAAC,GAAG,MACjC,oBAAC,YAAiB,WAAU,yBAAb,CAAmC,CACnD,GACH;AAAA,IACA,oBAAC,SAAI,WAAU,aACZ,gBAAM,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,IAAI,CAAC,GAAG,MACjC,oBAAC,YAAiB,WAAU,4BAAb,CAAsC,CACtD,GACH;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var rewards_page_exports = {};
|
|
20
|
+
__export(rewards_page_exports, {
|
|
21
|
+
RewardsPage: () => RewardsPage
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(rewards_page_exports);
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
+
var import_lucide_react = require("lucide-react");
|
|
26
|
+
var import_page_container = require("./page-container.js");
|
|
27
|
+
var import_rewards_dashboard = require("./rewards/rewards-dashboard.js");
|
|
28
|
+
function RewardsPage() {
|
|
29
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_page_container.PageContainer, { className: "box-border max-w-full pt-20 pb-16 space-y-8", children: [
|
|
30
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_rewards_dashboard.RewardsDashboard, {}),
|
|
31
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("footer", { className: "rounded-2xl border border-border/40 bg-muted/20 px-5 py-4 flex items-start gap-3", children: [
|
|
32
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Info, { className: "h-4 w-4 text-muted-foreground shrink-0 mt-0.5" }),
|
|
33
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-xs text-muted-foreground leading-relaxed", children: "The community can adjust point values and badge criteria over time to keep the fund fair as Medialane grows. Your share of each distribution is set when that distribution goes out." })
|
|
34
|
+
] })
|
|
35
|
+
] });
|
|
36
|
+
}
|
|
37
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
+
0 && (module.exports = {
|
|
39
|
+
RewardsPage
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=rewards-page.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/rewards-page.tsx"],"sourcesContent":["import { Info } from \"lucide-react\";\nimport { PageContainer } from \"./page-container.js\";\nimport { RewardsDashboard } from \"./rewards/rewards-dashboard.js\";\n\nexport function RewardsPage() {\n return (\n <PageContainer className=\"box-border max-w-full pt-20 pb-16 space-y-8\">\n <RewardsDashboard />\n\n <footer className=\"rounded-2xl border border-border/40 bg-muted/20 px-5 py-4 flex items-start gap-3\">\n <Info className=\"h-4 w-4 text-muted-foreground shrink-0 mt-0.5\" />\n <p className=\"text-xs text-muted-foreground leading-relaxed\">\n The community can adjust point values and badge criteria over time to\n keep the fund fair as Medialane grows. Your share of each distribution is\n set when that distribution goes out.\n </p>\n </footer>\n </PageContainer>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAOM;AAPN,0BAAqB;AACrB,4BAA8B;AAC9B,+BAAiC;AAE1B,SAAS,cAAc;AAC5B,SACE,6CAAC,uCAAc,WAAU,+CACvB;AAAA,gDAAC,6CAAiB;AAAA,IAElB,6CAAC,YAAO,WAAU,oFAChB;AAAA,kDAAC,4BAAK,WAAU,iDAAgD;AAAA,MAChE,4CAAC,OAAE,WAAU,iDAAgD,kMAI7D;AAAA,OACF;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Info } from "lucide-react";
|
|
3
|
+
import { PageContainer } from "./page-container.js";
|
|
4
|
+
import { RewardsDashboard } from "./rewards/rewards-dashboard.js";
|
|
5
|
+
function RewardsPage() {
|
|
6
|
+
return /* @__PURE__ */ jsxs(PageContainer, { className: "box-border max-w-full pt-20 pb-16 space-y-8", children: [
|
|
7
|
+
/* @__PURE__ */ jsx(RewardsDashboard, {}),
|
|
8
|
+
/* @__PURE__ */ jsxs("footer", { className: "rounded-2xl border border-border/40 bg-muted/20 px-5 py-4 flex items-start gap-3", children: [
|
|
9
|
+
/* @__PURE__ */ jsx(Info, { className: "h-4 w-4 text-muted-foreground shrink-0 mt-0.5" }),
|
|
10
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground leading-relaxed", children: "The community can adjust point values and badge criteria over time to keep the fund fair as Medialane grows. Your share of each distribution is set when that distribution goes out." })
|
|
11
|
+
] })
|
|
12
|
+
] });
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
RewardsPage
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=rewards-page.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/rewards-page.tsx"],"sourcesContent":["import { Info } from \"lucide-react\";\nimport { PageContainer } from \"./page-container.js\";\nimport { RewardsDashboard } from \"./rewards/rewards-dashboard.js\";\n\nexport function RewardsPage() {\n return (\n <PageContainer className=\"box-border max-w-full pt-20 pb-16 space-y-8\">\n <RewardsDashboard />\n\n <footer className=\"rounded-2xl border border-border/40 bg-muted/20 px-5 py-4 flex items-start gap-3\">\n <Info className=\"h-4 w-4 text-muted-foreground shrink-0 mt-0.5\" />\n <p className=\"text-xs text-muted-foreground leading-relaxed\">\n The community can adjust point values and badge criteria over time to\n keep the fund fair as Medialane grows. Your share of each distribution is\n set when that distribution goes out.\n </p>\n </footer>\n </PageContainer>\n );\n}\n"],"mappings":"AAOM,cAEA,YAFA;AAPN,SAAS,YAAY;AACrB,SAAS,qBAAqB;AAC9B,SAAS,wBAAwB;AAE1B,SAAS,cAAc;AAC5B,SACE,qBAAC,iBAAc,WAAU,+CACvB;AAAA,wBAAC,oBAAiB;AAAA,IAElB,qBAAC,YAAO,WAAU,oFAChB;AAAA,0BAAC,QAAK,WAAU,iDAAgD;AAAA,MAChE,oBAAC,OAAE,WAAU,iDAAgD,kMAI7D;AAAA,OACF;AAAA,KACF;AAEJ;","names":[]}
|