@medialane/ui 0.398.0 → 0.399.1
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/claim-rail.cjs +2 -17
- package/dist/components/claim-rail.cjs.map +1 -1
- package/dist/components/claim-rail.d.cts +1 -4
- package/dist/components/claim-rail.d.ts +1 -4
- package/dist/components/claim-rail.js +2 -17
- package/dist/components/claim-rail.js.map +1 -1
- package/dist/components/fast-mint/fast-mint.cjs +2 -3
- package/dist/components/fast-mint/fast-mint.cjs.map +1 -1
- package/dist/components/fast-mint/fast-mint.js +2 -3
- package/dist/components/fast-mint/fast-mint.js.map +1 -1
- package/dist/components/fast-mint/formats/nft.cjs +1 -1
- package/dist/components/fast-mint/formats/nft.cjs.map +1 -1
- package/dist/components/fast-mint/formats/nft.js +1 -1
- package/dist/components/fast-mint/formats/nft.js.map +1 -1
- package/dist/components/launchpad/collection-create-form.cjs +1 -3
- package/dist/components/launchpad/collection-create-form.cjs.map +1 -1
- package/dist/components/launchpad/collection-create-form.js +1 -3
- package/dist/components/launchpad/collection-create-form.js.map +1 -1
- package/dist/components/launchpad/collection-create-presets.cjs +9 -17
- package/dist/components/launchpad/collection-create-presets.cjs.map +1 -1
- package/dist/components/launchpad/collection-create-presets.d.cts +0 -2
- package/dist/components/launchpad/collection-create-presets.d.ts +0 -2
- package/dist/components/launchpad/collection-create-presets.js +9 -17
- package/dist/components/launchpad/collection-create-presets.js.map +1 -1
- package/dist/components/launchpad/edition-mint-fields.cjs +15 -18
- package/dist/components/launchpad/edition-mint-fields.cjs.map +1 -1
- package/dist/components/launchpad/edition-mint-fields.js +15 -18
- package/dist/components/launchpad/edition-mint-fields.js.map +1 -1
- package/dist/components/launchpad/edition-mint.cjs +4 -5
- package/dist/components/launchpad/edition-mint.cjs.map +1 -1
- package/dist/components/launchpad/edition-mint.js +4 -5
- package/dist/components/launchpad/edition-mint.js.map +1 -1
- package/dist/components/launchpad/pop-create-fields.cjs +16 -19
- package/dist/components/launchpad/pop-create-fields.cjs.map +1 -1
- package/dist/components/launchpad/pop-create-fields.js +16 -19
- package/dist/components/launchpad/pop-create-fields.js.map +1 -1
- package/dist/components/launchpad/pop-create.cjs +0 -1
- package/dist/components/launchpad/pop-create.cjs.map +1 -1
- package/dist/components/launchpad/pop-create.js +0 -1
- package/dist/components/launchpad/pop-create.js.map +1 -1
- package/dist/components/launchpad/remix-mint.cjs +26 -41
- package/dist/components/launchpad/remix-mint.cjs.map +1 -1
- package/dist/components/launchpad/remix-mint.js +26 -41
- package/dist/components/launchpad/remix-mint.js.map +1 -1
- package/dist/components/launchpad/single-edition-mint.cjs +2 -4
- package/dist/components/launchpad/single-edition-mint.cjs.map +1 -1
- package/dist/components/launchpad/single-edition-mint.js +2 -4
- package/dist/components/launchpad/single-edition-mint.js.map +1 -1
- package/dist/components/launchpad/tier-mint-form.cjs +11 -14
- package/dist/components/launchpad/tier-mint-form.cjs.map +1 -1
- package/dist/components/launchpad/tier-mint-form.d.cts +2 -3
- package/dist/components/launchpad/tier-mint-form.d.ts +2 -3
- package/dist/components/launchpad/tier-mint-form.js +12 -15
- package/dist/components/launchpad/tier-mint-form.js.map +1 -1
- package/dist/components/launchpad-services.cjs +3 -7
- package/dist/components/launchpad-services.cjs.map +1 -1
- package/dist/components/launchpad-services.js +4 -8
- package/dist/components/launchpad-services.js.map +1 -1
- package/dist/components/medialane-collection-card.cjs +6 -8
- package/dist/components/medialane-collection-card.cjs.map +1 -1
- package/dist/components/medialane-collection-card.js +6 -8
- package/dist/components/medialane-collection-card.js.map +1 -1
- package/dist/components/page-aside.cjs +158 -0
- package/dist/components/page-aside.cjs.map +1 -0
- package/dist/components/{create-aside.d.cts → page-aside.d.cts} +50 -34
- package/dist/components/{create-aside.d.ts → page-aside.d.ts} +50 -34
- package/dist/components/page-aside.js +156 -0
- package/dist/components/page-aside.js.map +1 -0
- package/dist/components/pop-page.cjs +0 -28
- package/dist/components/pop-page.cjs.map +1 -1
- package/dist/components/pop-page.js +1 -29
- package/dist/components/pop-page.js.map +1 -1
- package/dist/components/service-collections-page.cjs +1 -3
- package/dist/components/service-collections-page.cjs.map +1 -1
- package/dist/components/service-collections-page.d.cts +0 -2
- package/dist/components/service-collections-page.d.ts +0 -2
- package/dist/components/service-collections-page.js +1 -3
- package/dist/components/service-collections-page.js.map +1 -1
- package/dist/components/sponsorship-offers-page.cjs +0 -10
- package/dist/components/sponsorship-offers-page.cjs.map +1 -1
- package/dist/components/sponsorship-offers-page.js +1 -11
- package/dist/components/sponsorship-offers-page.js.map +1 -1
- package/dist/data/launchpad-services.cjs +0 -18
- package/dist/data/launchpad-services.cjs.map +1 -1
- package/dist/data/launchpad-services.d.cts +0 -1
- package/dist/data/launchpad-services.d.ts +0 -1
- package/dist/data/launchpad-services.js +0 -18
- package/dist/data/launchpad-services.js.map +1 -1
- package/dist/data/nav-commands.cjs +1 -1
- package/dist/data/nav-commands.cjs.map +1 -1
- package/dist/data/nav-commands.js +1 -1
- package/dist/data/nav-commands.js.map +1 -1
- package/dist/i18n/catalog/pt.cjs +93 -138
- package/dist/i18n/catalog/pt.cjs.map +1 -1
- package/dist/i18n/catalog/pt.js +93 -138
- package/dist/i18n/catalog/pt.js.map +1 -1
- package/dist/index.cjs +5 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +3 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/create-aside.cjs +0 -140
- package/dist/components/create-aside.cjs.map +0 -1
- package/dist/components/create-aside.js +0 -133
- package/dist/components/create-aside.js.map +0 -1
- package/dist/components/create-sponsorship-aside.cjs +0 -54
- package/dist/components/create-sponsorship-aside.cjs.map +0 -1
- package/dist/components/create-sponsorship-aside.d.cts +0 -5
- package/dist/components/create-sponsorship-aside.d.ts +0 -5
- package/dist/components/create-sponsorship-aside.js +0 -30
- package/dist/components/create-sponsorship-aside.js.map +0 -1
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
"use client";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
var page_aside_exports = {};
|
|
21
|
+
__export(page_aside_exports, {
|
|
22
|
+
PAGE_ASIDE_KINDS: () => PAGE_ASIDE_KINDS,
|
|
23
|
+
PageAside: () => PageAside
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(page_aside_exports);
|
|
26
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
27
|
+
var import_lucide_react = require("lucide-react");
|
|
28
|
+
var import_claim_rail = require("./claim-rail.js");
|
|
29
|
+
var import_provider = require("../i18n/provider.js");
|
|
30
|
+
var import_translate = require("../i18n/translate.js");
|
|
31
|
+
const LICENSE = { icon: import_lucide_react.Scale, title: (0, import_translate.msg)("Your license terms"), desc: (0, import_translate.msg)("Set how others can use your work.") };
|
|
32
|
+
const AUTHORSHIP = { icon: import_lucide_react.FileCheck, title: (0, import_translate.msg)("Proof of authorship"), desc: (0, import_translate.msg)("A permanent, dated record shows you created it.") };
|
|
33
|
+
const SHARE_PAGE = { icon: import_lucide_react.LayoutGrid, title: (0, import_translate.msg)("A page to share"), desc: (0, import_translate.msg)("Every work in the collection in one place.") };
|
|
34
|
+
const COLLECTION_STEPS = [(0, import_translate.msg)("Add a cover, name and short code"), (0, import_translate.msg)("Create the collection")];
|
|
35
|
+
const ASIDES = {
|
|
36
|
+
asset: {
|
|
37
|
+
included: [
|
|
38
|
+
{ icon: import_lucide_react.Sparkles, title: (0, import_translate.msg)("One of a kind"), desc: (0, import_translate.msg)("A single copy with one owner at a time.") },
|
|
39
|
+
LICENSE,
|
|
40
|
+
AUTHORSHIP
|
|
41
|
+
],
|
|
42
|
+
steps: [(0, import_translate.msg)("Add your image, name and story"), (0, import_translate.msg)("Choose a collection and license terms"), (0, import_translate.msg)("Sell or send it from your account")]
|
|
43
|
+
},
|
|
44
|
+
mintEdition: {
|
|
45
|
+
included: [
|
|
46
|
+
{ icon: import_lucide_react.Layers, title: (0, import_translate.msg)("Limited Editions"), desc: (0, import_translate.msg)("Choose how many to mint.") },
|
|
47
|
+
LICENSE,
|
|
48
|
+
AUTHORSHIP
|
|
49
|
+
],
|
|
50
|
+
steps: [(0, import_translate.msg)("Add your image, name and story"), (0, import_translate.msg)("Choose how many Limited Editions and your license terms"), (0, import_translate.msg)("Mint, then sell or send your Limited Editions")]
|
|
51
|
+
},
|
|
52
|
+
collection: {
|
|
53
|
+
included: [
|
|
54
|
+
{ icon: import_lucide_react.Layers, title: (0, import_translate.msg)("A home for your work"), desc: (0, import_translate.msg)("Your cover, name and description bring it together.") },
|
|
55
|
+
SHARE_PAGE,
|
|
56
|
+
{ icon: import_lucide_react.ShieldCheck, title: (0, import_translate.msg)("Yours to manage"), desc: (0, import_translate.msg)("Only you can add works to it.") }
|
|
57
|
+
],
|
|
58
|
+
steps: [...COLLECTION_STEPS, (0, import_translate.msg)("Add works to it whenever you like")]
|
|
59
|
+
},
|
|
60
|
+
editions: {
|
|
61
|
+
included: [
|
|
62
|
+
{ icon: import_lucide_react.Layers, title: (0, import_translate.msg)("Limited Editions"), desc: (0, import_translate.msg)("Choose how many to mint for each work.") },
|
|
63
|
+
SHARE_PAGE,
|
|
64
|
+
{ icon: import_lucide_react.ShieldCheck, title: (0, import_translate.msg)("Yours to manage"), desc: (0, import_translate.msg)("Only you can add works to it.") }
|
|
65
|
+
],
|
|
66
|
+
steps: [...COLLECTION_STEPS, (0, import_translate.msg)("Mint limited editions into it")]
|
|
67
|
+
},
|
|
68
|
+
club: {
|
|
69
|
+
included: [
|
|
70
|
+
{ icon: import_lucide_react.Users, title: (0, import_translate.msg)("Membership tiers"), desc: (0, import_translate.msg)("Add new tiers whenever you like.") },
|
|
71
|
+
{ icon: import_lucide_react.ArrowLeftRight, title: (0, import_translate.msg)("Cards members can trade"), desc: (0, import_translate.msg)("Members can sell or send their cards.") },
|
|
72
|
+
{ icon: import_lucide_react.ShieldCheck, title: (0, import_translate.msg)("Yours to manage"), desc: (0, import_translate.msg)("Only you can add membership cards.") }
|
|
73
|
+
],
|
|
74
|
+
steps: [(0, import_translate.msg)("Create your club"), (0, import_translate.msg)("Add membership tiers"), (0, import_translate.msg)("Sell the cards on the marketplace")]
|
|
75
|
+
},
|
|
76
|
+
tickets: {
|
|
77
|
+
included: [
|
|
78
|
+
{ icon: import_lucide_react.Ticket, title: (0, import_translate.msg)("Ticket types"), desc: (0, import_translate.msg)("Add one for each event or seating level.") },
|
|
79
|
+
{ icon: import_lucide_react.CalendarDays, title: (0, import_translate.msg)("Dates you set"), desc: (0, import_translate.msg)("Choose when each ticket is valid.") },
|
|
80
|
+
{ icon: import_lucide_react.Wallet, title: (0, import_translate.msg)("Held by your audience"), desc: (0, import_translate.msg)("Tickets stay in each holder's account.") }
|
|
81
|
+
],
|
|
82
|
+
steps: [(0, import_translate.msg)("Create your ticket collection"), (0, import_translate.msg)("Add your ticket types"), (0, import_translate.msg)("Sell or send the tickets")]
|
|
83
|
+
},
|
|
84
|
+
pop: {
|
|
85
|
+
included: [
|
|
86
|
+
{ icon: import_lucide_react.Award, title: (0, import_translate.msg)("Stays with its holder"), desc: (0, import_translate.msg)("Each certificate is permanently tied to one account.") },
|
|
87
|
+
{ icon: import_lucide_react.Users, title: (0, import_translate.msg)("One per participant"), desc: (0, import_translate.msg)("Each participant on your list claims one.") },
|
|
88
|
+
{ icon: import_lucide_react.Share2, title: (0, import_translate.msg)("Links to share"), desc: (0, import_translate.msg)("Participants claim through their link.") }
|
|
89
|
+
],
|
|
90
|
+
steps: [(0, import_translate.msg)("Add your event details"), (0, import_translate.msg)("Publish your participant list"), (0, import_translate.msg)("Share the claim links")]
|
|
91
|
+
},
|
|
92
|
+
coin: {
|
|
93
|
+
included: [
|
|
94
|
+
{ icon: import_lucide_react.ShieldCheck, title: (0, import_translate.msg)("Fixed supply forever"), desc: (0, import_translate.msg)("No more can ever be created.") },
|
|
95
|
+
{ icon: import_lucide_react.Wallet, title: (0, import_translate.msg)("Purchased at market price"), desc: (0, import_translate.msg)("Creator buy capped at 10%.") },
|
|
96
|
+
{ icon: import_lucide_react.KeyRound, title: (0, import_translate.msg)("Ownership renounced"), desc: (0, import_translate.msg)("Renounced automatically at launch.") },
|
|
97
|
+
{ icon: import_lucide_react.ArrowLeftRight, title: (0, import_translate.msg)("You choose the pair"), desc: (0, import_translate.msg)("Pick any supported coin.") },
|
|
98
|
+
{ icon: import_lucide_react.Lock, title: (0, import_translate.msg)("Locked liquidity"), desc: (0, import_translate.msg)("Locked forever, and fees stay collectible.") }
|
|
99
|
+
],
|
|
100
|
+
steps: [(0, import_translate.msg)("Add a name, symbol and image"), (0, import_translate.msg)("Set the supply, price and your share"), (0, import_translate.msg)("Launch and trade")]
|
|
101
|
+
},
|
|
102
|
+
sponsorship: {
|
|
103
|
+
included: [
|
|
104
|
+
{ icon: import_lucide_react.Handshake, title: (0, import_translate.msg)("Paid directly"), desc: (0, import_translate.msg)("Funds go from the sponsor to the author.") },
|
|
105
|
+
{ icon: import_lucide_react.FileCheck, title: (0, import_translate.msg)("A license in return"), desc: (0, import_translate.msg)("The sponsor receives it on the agreed terms.") },
|
|
106
|
+
{ icon: import_lucide_react.Plus, title: (0, import_translate.msg)("Start from either side"), desc: (0, import_translate.msg)("Offer your own work or propose to sponsor one.") }
|
|
107
|
+
],
|
|
108
|
+
steps: [(0, import_translate.msg)("Choose the work and set the terms"), (0, import_translate.msg)("The other side responds"), (0, import_translate.msg)("License and payment settle together")]
|
|
109
|
+
},
|
|
110
|
+
claimCollection: {
|
|
111
|
+
included: [
|
|
112
|
+
{ icon: import_lucide_react.LayoutGrid, title: (0, import_translate.msg)("A page for your collection"), desc: (0, import_translate.msg)("Edit its name and cover.") },
|
|
113
|
+
{ icon: import_lucide_react.UserCircle, title: (0, import_translate.msg)("On your profile"), desc: (0, import_translate.msg)("Shown with the rest of your work.") },
|
|
114
|
+
{ icon: import_lucide_react.ShieldCheck, title: (0, import_translate.msg)("Stays where it is"), desc: (0, import_translate.msg)("Assets remain in the collection contract.") }
|
|
115
|
+
],
|
|
116
|
+
steps: [(0, import_translate.msg)("Paste the contract address"), (0, import_translate.msg)("Ownership check on Starknet"), (0, import_translate.msg)("Live on your profile")]
|
|
117
|
+
},
|
|
118
|
+
claimCollectionName: {
|
|
119
|
+
included: [
|
|
120
|
+
{ icon: import_lucide_react.Link2, title: (0, import_translate.msg)("A short web address"), desc: (0, import_translate.msg)("Like medialane.io/collection/your-name.") },
|
|
121
|
+
{ icon: import_lucide_react.LayoutGrid, title: (0, import_translate.msg)("Opens your collection"), desc: (0, import_translate.msg)("Visitors land on its page.") }
|
|
122
|
+
],
|
|
123
|
+
steps: [(0, import_translate.msg)("Pick a collection"), (0, import_translate.msg)("Choose a name"), (0, import_translate.msg)("Live after review")]
|
|
124
|
+
},
|
|
125
|
+
claimMemecoin: {
|
|
126
|
+
included: [
|
|
127
|
+
{ icon: import_lucide_react.Coins, title: (0, import_translate.msg)("Listed on the Coins page"), desc: (0, import_translate.msg)("Where people find and trade coins.") },
|
|
128
|
+
{ icon: import_lucide_react.UserCircle, title: (0, import_translate.msg)("On your profile"), desc: (0, import_translate.msg)("Shown with the rest of your work.") },
|
|
129
|
+
{ icon: import_lucide_react.TrendingUp, title: (0, import_translate.msg)("Linked to your account"), desc: (0, import_translate.msg)("Claiming only links the coin to the account.") }
|
|
130
|
+
],
|
|
131
|
+
steps: [(0, import_translate.msg)("Paste the coin contract address"), (0, import_translate.msg)("Ownership check on Starknet"), (0, import_translate.msg)("Live once confirmed")]
|
|
132
|
+
},
|
|
133
|
+
claimUsername: {
|
|
134
|
+
included: [
|
|
135
|
+
{ icon: import_lucide_react.AtSign, title: (0, import_translate.msg)("Your own creator address"), desc: (0, import_translate.msg)("Like medialane.io/creator/yourname.") },
|
|
136
|
+
{ icon: import_lucide_react.UserCircle, title: (0, import_translate.msg)("One public profile"), desc: (0, import_translate.msg)("All your work in one place.") }
|
|
137
|
+
],
|
|
138
|
+
steps: [(0, import_translate.msg)("Pick a username"), (0, import_translate.msg)("Availability check"), (0, import_translate.msg)("Yours after DAO review")]
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
const PAGE_ASIDE_KINDS = Object.keys(ASIDES);
|
|
142
|
+
function PageAside({ kind }) {
|
|
143
|
+
const t = (0, import_provider.useT)();
|
|
144
|
+
const { included = [], steps } = ASIDES[kind];
|
|
145
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
146
|
+
import_claim_rail.ClaimRail,
|
|
147
|
+
{
|
|
148
|
+
included: included.map((item) => ({ ...item, title: t(item.title), desc: t(item.desc) })),
|
|
149
|
+
steps: steps.map((step) => t(step))
|
|
150
|
+
}
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
154
|
+
0 && (module.exports = {
|
|
155
|
+
PAGE_ASIDE_KINDS,
|
|
156
|
+
PageAside
|
|
157
|
+
});
|
|
158
|
+
//# sourceMappingURL=page-aside.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/page-aside.tsx"],"sourcesContent":["\"use client\";\n\nimport {\n ArrowLeftRight, Award, CalendarDays, Coins, FileCheck, Handshake, KeyRound, Layers, LayoutGrid, Link2, Lock, Plus, Scale, Share2,\n ShieldCheck, Sparkles, Ticket, TrendingUp, UserCircle, Users, Wallet, AtSign,\n} from \"lucide-react\";\nimport { ClaimRail, type ClaimRailProps } from \"./claim-rail.js\";\nimport { useT } from \"../i18n/provider.js\";\nimport { msg } from \"../i18n/translate.js\";\n\nconst LICENSE = { icon: Scale, title: msg(\"Your license terms\"), desc: msg(\"Set how others can use your work.\") };\nconst AUTHORSHIP = { icon: FileCheck, title: msg(\"Proof of authorship\"), desc: msg(\"A permanent, dated record shows you created it.\") };\nconst SHARE_PAGE = { icon: LayoutGrid, title: msg(\"A page to share\"), desc: msg(\"Every work in the collection in one place.\") };\nconst COLLECTION_STEPS = [msg(\"Add a cover, name and short code\"), msg(\"Create the collection\")];\n\nconst ASIDES = {\n asset: {\n included: [\n { icon: Sparkles, title: msg(\"One of a kind\"), desc: msg(\"A single copy with one owner at a time.\") },\n LICENSE,\n AUTHORSHIP,\n ],\n steps: [msg(\"Add your image, name and story\"), msg(\"Choose a collection and license terms\"), msg(\"Sell or send it from your account\")],\n },\n mintEdition: {\n included: [\n { icon: Layers, title: msg(\"Limited Editions\"), desc: msg(\"Choose how many to mint.\") },\n LICENSE,\n AUTHORSHIP,\n ],\n steps: [msg(\"Add your image, name and story\"), msg(\"Choose how many Limited Editions and your license terms\"), msg(\"Mint, then sell or send your Limited Editions\")],\n },\n collection: {\n included: [\n { icon: Layers, title: msg(\"A home for your work\"), desc: msg(\"Your cover, name and description bring it together.\") },\n SHARE_PAGE,\n { icon: ShieldCheck, title: msg(\"Yours to manage\"), desc: msg(\"Only you can add works to it.\") },\n ],\n steps: [...COLLECTION_STEPS, msg(\"Add works to it whenever you like\")],\n },\n editions: {\n included: [\n { icon: Layers, title: msg(\"Limited Editions\"), desc: msg(\"Choose how many to mint for each work.\") },\n SHARE_PAGE,\n { icon: ShieldCheck, title: msg(\"Yours to manage\"), desc: msg(\"Only you can add works to it.\") },\n ],\n steps: [...COLLECTION_STEPS, msg(\"Mint limited editions into it\")],\n },\n club: {\n included: [\n { icon: Users, title: msg(\"Membership tiers\"), desc: msg(\"Add new tiers whenever you like.\") },\n { icon: ArrowLeftRight, title: msg(\"Cards members can trade\"), desc: msg(\"Members can sell or send their cards.\") },\n { icon: ShieldCheck, title: msg(\"Yours to manage\"), desc: msg(\"Only you can add membership cards.\") },\n ],\n steps: [msg(\"Create your club\"), msg(\"Add membership tiers\"), msg(\"Sell the cards on the marketplace\")],\n },\n tickets: {\n included: [\n { icon: Ticket, title: msg(\"Ticket types\"), desc: msg(\"Add one for each event or seating level.\") },\n { icon: CalendarDays, title: msg(\"Dates you set\"), desc: msg(\"Choose when each ticket is valid.\") },\n { icon: Wallet, title: msg(\"Held by your audience\"), desc: msg(\"Tickets stay in each holder's account.\") },\n ],\n steps: [msg(\"Create your ticket collection\"), msg(\"Add your ticket types\"), msg(\"Sell or send the tickets\")],\n },\n pop: {\n included: [\n { icon: Award, title: msg(\"Stays with its holder\"), desc: msg(\"Each certificate is permanently tied to one account.\") },\n { icon: Users, title: msg(\"One per participant\"), desc: msg(\"Each participant on your list claims one.\") },\n { icon: Share2, title: msg(\"Links to share\"), desc: msg(\"Participants claim through their link.\") },\n ],\n steps: [msg(\"Add your event details\"), msg(\"Publish your participant list\"), msg(\"Share the claim links\")],\n },\n coin: {\n included: [\n { icon: ShieldCheck, title: msg(\"Fixed supply forever\"), desc: msg(\"No more can ever be created.\") },\n { icon: Wallet, title: msg(\"Purchased at market price\"), desc: msg(\"Creator buy capped at 10%.\") },\n { icon: KeyRound, title: msg(\"Ownership renounced\"), desc: msg(\"Renounced automatically at launch.\") },\n { icon: ArrowLeftRight, title: msg(\"You choose the pair\"), desc: msg(\"Pick any supported coin.\") },\n { icon: Lock, title: msg(\"Locked liquidity\"), desc: msg(\"Locked forever, and fees stay collectible.\") },\n ],\n steps: [msg(\"Add a name, symbol and image\"), msg(\"Set the supply, price and your share\"), msg(\"Launch and trade\")],\n },\n sponsorship: {\n included: [\n { icon: Handshake, title: msg(\"Paid directly\"), desc: msg(\"Funds go from the sponsor to the author.\") },\n { icon: FileCheck, title: msg(\"A license in return\"), desc: msg(\"The sponsor receives it on the agreed terms.\") },\n { icon: Plus, title: msg(\"Start from either side\"), desc: msg(\"Offer your own work or propose to sponsor one.\") },\n ],\n steps: [msg(\"Choose the work and set the terms\"), msg(\"The other side responds\"), msg(\"License and payment settle together\")],\n },\n claimCollection: {\n included: [\n { icon: LayoutGrid, title: msg(\"A page for your collection\"), desc: msg(\"Edit its name and cover.\") },\n { icon: UserCircle, title: msg(\"On your profile\"), desc: msg(\"Shown with the rest of your work.\") },\n { icon: ShieldCheck, title: msg(\"Stays where it is\"), desc: msg(\"Assets remain in the collection contract.\") },\n ],\n steps: [msg(\"Paste the contract address\"), msg(\"Ownership check on Starknet\"), msg(\"Live on your profile\")],\n },\n claimCollectionName: {\n included: [\n { icon: Link2, title: msg(\"A short web address\"), desc: msg(\"Like medialane.io/collection/your-name.\") },\n { icon: LayoutGrid, title: msg(\"Opens your collection\"), desc: msg(\"Visitors land on its page.\") },\n ],\n steps: [msg(\"Pick a collection\"), msg(\"Choose a name\"), msg(\"Live after review\")],\n },\n claimMemecoin: {\n included: [\n { icon: Coins, title: msg(\"Listed on the Coins page\"), desc: msg(\"Where people find and trade coins.\") },\n { icon: UserCircle, title: msg(\"On your profile\"), desc: msg(\"Shown with the rest of your work.\") },\n { icon: TrendingUp, title: msg(\"Linked to your account\"), desc: msg(\"Claiming only links the coin to the account.\") },\n ],\n steps: [msg(\"Paste the coin contract address\"), msg(\"Ownership check on Starknet\"), msg(\"Live once confirmed\")],\n },\n claimUsername: {\n included: [\n { icon: AtSign, title: msg(\"Your own creator address\"), desc: msg(\"Like medialane.io/creator/yourname.\") },\n { icon: UserCircle, title: msg(\"One public profile\"), desc: msg(\"All your work in one place.\") },\n ],\n steps: [msg(\"Pick a username\"), msg(\"Availability check\"), msg(\"Yours after DAO review\")],\n },\n} satisfies Record<string, ClaimRailProps>;\n\nexport type PageAsideKind = keyof typeof ASIDES;\n\nexport const PAGE_ASIDE_KINDS = Object.keys(ASIDES) as PageAsideKind[];\n\nexport function PageAside({ kind }: { kind: PageAsideKind }) {\n const t = useT();\n const { included = [], steps }: ClaimRailProps = ASIDES[kind];\n return (\n <ClaimRail\n included={included.map((item) => ({ ...item, title: t(item.title), desc: t(item.desc) }))}\n steps={steps.map((step) => t(step))}\n />\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAkII;AAhIJ,0BAGO;AACP,wBAA+C;AAC/C,sBAAqB;AACrB,uBAAoB;AAEpB,MAAM,UAAU,EAAE,MAAM,2BAAO,WAAO,sBAAI,oBAAoB,GAAG,UAAM,sBAAI,mCAAmC,EAAE;AAChH,MAAM,aAAa,EAAE,MAAM,+BAAW,WAAO,sBAAI,qBAAqB,GAAG,UAAM,sBAAI,iDAAiD,EAAE;AACtI,MAAM,aAAa,EAAE,MAAM,gCAAY,WAAO,sBAAI,iBAAiB,GAAG,UAAM,sBAAI,4CAA4C,EAAE;AAC9H,MAAM,mBAAmB,KAAC,sBAAI,kCAAkC,OAAG,sBAAI,uBAAuB,CAAC;AAE/F,MAAM,SAAS;AAAA,EACb,OAAO;AAAA,IACL,UAAU;AAAA,MACR,EAAE,MAAM,8BAAU,WAAO,sBAAI,eAAe,GAAG,UAAM,sBAAI,yCAAyC,EAAE;AAAA,MACpG;AAAA,MACA;AAAA,IACF;AAAA,IACA,OAAO,KAAC,sBAAI,gCAAgC,OAAG,sBAAI,uCAAuC,OAAG,sBAAI,mCAAmC,CAAC;AAAA,EACvI;AAAA,EACA,aAAa;AAAA,IACX,UAAU;AAAA,MACR,EAAE,MAAM,4BAAQ,WAAO,sBAAI,kBAAkB,GAAG,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[];
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
};
|
|
14
|
+
mintEdition: {
|
|
15
|
+
included: {
|
|
16
|
+
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
17
|
+
title: string;
|
|
18
|
+
desc: string;
|
|
19
|
+
}[];
|
|
20
|
+
steps: string[];
|
|
21
|
+
};
|
|
22
|
+
collection: {
|
|
23
|
+
included: {
|
|
24
|
+
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
25
|
+
title: string;
|
|
26
|
+
desc: string;
|
|
27
|
+
}[];
|
|
28
|
+
steps: string[];
|
|
29
|
+
};
|
|
30
|
+
editions: {
|
|
31
|
+
included: {
|
|
32
|
+
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
33
|
+
title: string;
|
|
34
|
+
desc: string;
|
|
35
|
+
}[];
|
|
36
|
+
steps: string[];
|
|
16
37
|
};
|
|
17
38
|
club: {
|
|
18
39
|
included: {
|
|
@@ -21,9 +42,22 @@ declare const ASIDES: {
|
|
|
21
42
|
desc: string;
|
|
22
43
|
}[];
|
|
23
44
|
steps: string[];
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
45
|
+
};
|
|
46
|
+
tickets: {
|
|
47
|
+
included: {
|
|
48
|
+
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
49
|
+
title: string;
|
|
50
|
+
desc: string;
|
|
51
|
+
}[];
|
|
52
|
+
steps: string[];
|
|
53
|
+
};
|
|
54
|
+
pop: {
|
|
55
|
+
included: {
|
|
56
|
+
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
57
|
+
title: string;
|
|
58
|
+
desc: string;
|
|
59
|
+
}[];
|
|
60
|
+
steps: string[];
|
|
27
61
|
};
|
|
28
62
|
coin: {
|
|
29
63
|
included: {
|
|
@@ -32,70 +66,52 @@ declare const ASIDES: {
|
|
|
32
66
|
desc: string;
|
|
33
67
|
}[];
|
|
34
68
|
steps: string[];
|
|
35
|
-
trustIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
36
|
-
trustLead: string;
|
|
37
|
-
trust: string;
|
|
38
69
|
};
|
|
39
|
-
|
|
70
|
+
sponsorship: {
|
|
40
71
|
included: {
|
|
41
72
|
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
42
73
|
title: string;
|
|
43
74
|
desc: string;
|
|
44
75
|
}[];
|
|
45
76
|
steps: string[];
|
|
46
|
-
trustIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
47
|
-
trustLead: string;
|
|
48
|
-
trust: string;
|
|
49
77
|
};
|
|
50
|
-
|
|
78
|
+
claimCollection: {
|
|
51
79
|
included: {
|
|
52
80
|
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
53
81
|
title: string;
|
|
54
82
|
desc: string;
|
|
55
83
|
}[];
|
|
56
84
|
steps: string[];
|
|
57
|
-
trustIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
58
|
-
trustLead: string;
|
|
59
|
-
trust: string;
|
|
60
85
|
};
|
|
61
|
-
|
|
86
|
+
claimCollectionName: {
|
|
62
87
|
included: {
|
|
63
88
|
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
64
89
|
title: string;
|
|
65
90
|
desc: string;
|
|
66
91
|
}[];
|
|
67
92
|
steps: string[];
|
|
68
|
-
trustIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
69
|
-
trustLead: string;
|
|
70
|
-
trust: string;
|
|
71
93
|
};
|
|
72
|
-
|
|
94
|
+
claimMemecoin: {
|
|
73
95
|
included: {
|
|
74
96
|
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
75
97
|
title: string;
|
|
76
98
|
desc: string;
|
|
77
99
|
}[];
|
|
78
100
|
steps: string[];
|
|
79
|
-
trustIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
80
|
-
trustLead: string;
|
|
81
|
-
trust: string;
|
|
82
101
|
};
|
|
83
|
-
|
|
102
|
+
claimUsername: {
|
|
84
103
|
included: {
|
|
85
104
|
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
86
105
|
title: string;
|
|
87
106
|
desc: string;
|
|
88
107
|
}[];
|
|
89
108
|
steps: string[];
|
|
90
|
-
trustIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
91
|
-
trustLead: string;
|
|
92
|
-
trust: string;
|
|
93
109
|
};
|
|
94
110
|
};
|
|
95
|
-
type
|
|
96
|
-
declare const
|
|
97
|
-
declare function
|
|
98
|
-
kind:
|
|
111
|
+
type PageAsideKind = keyof typeof ASIDES;
|
|
112
|
+
declare const PAGE_ASIDE_KINDS: PageAsideKind[];
|
|
113
|
+
declare function PageAside({ kind }: {
|
|
114
|
+
kind: PageAsideKind;
|
|
99
115
|
}): react_jsx_runtime.JSX.Element;
|
|
100
116
|
|
|
101
|
-
export {
|
|
117
|
+
export { PAGE_ASIDE_KINDS, PageAside, type PageAsideKind };
|
|
@@ -10,9 +10,30 @@ declare const ASIDES: {
|
|
|
10
10
|
desc: string;
|
|
11
11
|
}[];
|
|
12
12
|
steps: string[];
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
};
|
|
14
|
+
mintEdition: {
|
|
15
|
+
included: {
|
|
16
|
+
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
17
|
+
title: string;
|
|
18
|
+
desc: string;
|
|
19
|
+
}[];
|
|
20
|
+
steps: string[];
|
|
21
|
+
};
|
|
22
|
+
collection: {
|
|
23
|
+
included: {
|
|
24
|
+
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
25
|
+
title: string;
|
|
26
|
+
desc: string;
|
|
27
|
+
}[];
|
|
28
|
+
steps: string[];
|
|
29
|
+
};
|
|
30
|
+
editions: {
|
|
31
|
+
included: {
|
|
32
|
+
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
33
|
+
title: string;
|
|
34
|
+
desc: string;
|
|
35
|
+
}[];
|
|
36
|
+
steps: string[];
|
|
16
37
|
};
|
|
17
38
|
club: {
|
|
18
39
|
included: {
|
|
@@ -21,9 +42,22 @@ declare const ASIDES: {
|
|
|
21
42
|
desc: string;
|
|
22
43
|
}[];
|
|
23
44
|
steps: string[];
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
45
|
+
};
|
|
46
|
+
tickets: {
|
|
47
|
+
included: {
|
|
48
|
+
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
49
|
+
title: string;
|
|
50
|
+
desc: string;
|
|
51
|
+
}[];
|
|
52
|
+
steps: string[];
|
|
53
|
+
};
|
|
54
|
+
pop: {
|
|
55
|
+
included: {
|
|
56
|
+
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
57
|
+
title: string;
|
|
58
|
+
desc: string;
|
|
59
|
+
}[];
|
|
60
|
+
steps: string[];
|
|
27
61
|
};
|
|
28
62
|
coin: {
|
|
29
63
|
included: {
|
|
@@ -32,70 +66,52 @@ declare const ASIDES: {
|
|
|
32
66
|
desc: string;
|
|
33
67
|
}[];
|
|
34
68
|
steps: string[];
|
|
35
|
-
trustIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
36
|
-
trustLead: string;
|
|
37
|
-
trust: string;
|
|
38
69
|
};
|
|
39
|
-
|
|
70
|
+
sponsorship: {
|
|
40
71
|
included: {
|
|
41
72
|
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
42
73
|
title: string;
|
|
43
74
|
desc: string;
|
|
44
75
|
}[];
|
|
45
76
|
steps: string[];
|
|
46
|
-
trustIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
47
|
-
trustLead: string;
|
|
48
|
-
trust: string;
|
|
49
77
|
};
|
|
50
|
-
|
|
78
|
+
claimCollection: {
|
|
51
79
|
included: {
|
|
52
80
|
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
53
81
|
title: string;
|
|
54
82
|
desc: string;
|
|
55
83
|
}[];
|
|
56
84
|
steps: string[];
|
|
57
|
-
trustIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
58
|
-
trustLead: string;
|
|
59
|
-
trust: string;
|
|
60
85
|
};
|
|
61
|
-
|
|
86
|
+
claimCollectionName: {
|
|
62
87
|
included: {
|
|
63
88
|
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
64
89
|
title: string;
|
|
65
90
|
desc: string;
|
|
66
91
|
}[];
|
|
67
92
|
steps: string[];
|
|
68
|
-
trustIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
69
|
-
trustLead: string;
|
|
70
|
-
trust: string;
|
|
71
93
|
};
|
|
72
|
-
|
|
94
|
+
claimMemecoin: {
|
|
73
95
|
included: {
|
|
74
96
|
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
75
97
|
title: string;
|
|
76
98
|
desc: string;
|
|
77
99
|
}[];
|
|
78
100
|
steps: string[];
|
|
79
|
-
trustIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
80
|
-
trustLead: string;
|
|
81
|
-
trust: string;
|
|
82
101
|
};
|
|
83
|
-
|
|
102
|
+
claimUsername: {
|
|
84
103
|
included: {
|
|
85
104
|
icon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
86
105
|
title: string;
|
|
87
106
|
desc: string;
|
|
88
107
|
}[];
|
|
89
108
|
steps: string[];
|
|
90
|
-
trustIcon: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
91
|
-
trustLead: string;
|
|
92
|
-
trust: string;
|
|
93
109
|
};
|
|
94
110
|
};
|
|
95
|
-
type
|
|
96
|
-
declare const
|
|
97
|
-
declare function
|
|
98
|
-
kind:
|
|
111
|
+
type PageAsideKind = keyof typeof ASIDES;
|
|
112
|
+
declare const PAGE_ASIDE_KINDS: PageAsideKind[];
|
|
113
|
+
declare function PageAside({ kind }: {
|
|
114
|
+
kind: PageAsideKind;
|
|
99
115
|
}): react_jsx_runtime.JSX.Element;
|
|
100
116
|
|
|
101
|
-
export {
|
|
117
|
+
export { PAGE_ASIDE_KINDS, PageAside, type PageAsideKind };
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import {
|
|
4
|
+
ArrowLeftRight,
|
|
5
|
+
Award,
|
|
6
|
+
CalendarDays,
|
|
7
|
+
Coins,
|
|
8
|
+
FileCheck,
|
|
9
|
+
Handshake,
|
|
10
|
+
KeyRound,
|
|
11
|
+
Layers,
|
|
12
|
+
LayoutGrid,
|
|
13
|
+
Link2,
|
|
14
|
+
Lock,
|
|
15
|
+
Plus,
|
|
16
|
+
Scale,
|
|
17
|
+
Share2,
|
|
18
|
+
ShieldCheck,
|
|
19
|
+
Sparkles,
|
|
20
|
+
Ticket,
|
|
21
|
+
TrendingUp,
|
|
22
|
+
UserCircle,
|
|
23
|
+
Users,
|
|
24
|
+
Wallet,
|
|
25
|
+
AtSign
|
|
26
|
+
} from "lucide-react";
|
|
27
|
+
import { ClaimRail } from "./claim-rail.js";
|
|
28
|
+
import { useT } from "../i18n/provider.js";
|
|
29
|
+
import { msg } from "../i18n/translate.js";
|
|
30
|
+
const LICENSE = { icon: Scale, title: msg("Your license terms"), desc: msg("Set how others can use your work.") };
|
|
31
|
+
const AUTHORSHIP = { icon: FileCheck, title: msg("Proof of authorship"), desc: msg("A permanent, dated record shows you created it.") };
|
|
32
|
+
const SHARE_PAGE = { icon: LayoutGrid, title: msg("A page to share"), desc: msg("Every work in the collection in one place.") };
|
|
33
|
+
const COLLECTION_STEPS = [msg("Add a cover, name and short code"), msg("Create the collection")];
|
|
34
|
+
const ASIDES = {
|
|
35
|
+
asset: {
|
|
36
|
+
included: [
|
|
37
|
+
{ icon: Sparkles, title: msg("One of a kind"), desc: msg("A single copy with one owner at a time.") },
|
|
38
|
+
LICENSE,
|
|
39
|
+
AUTHORSHIP
|
|
40
|
+
],
|
|
41
|
+
steps: [msg("Add your image, name and story"), msg("Choose a collection and license terms"), msg("Sell or send it from your account")]
|
|
42
|
+
},
|
|
43
|
+
mintEdition: {
|
|
44
|
+
included: [
|
|
45
|
+
{ icon: Layers, title: msg("Limited Editions"), desc: msg("Choose how many to mint.") },
|
|
46
|
+
LICENSE,
|
|
47
|
+
AUTHORSHIP
|
|
48
|
+
],
|
|
49
|
+
steps: [msg("Add your image, name and story"), msg("Choose how many Limited Editions and your license terms"), msg("Mint, then sell or send your Limited Editions")]
|
|
50
|
+
},
|
|
51
|
+
collection: {
|
|
52
|
+
included: [
|
|
53
|
+
{ icon: Layers, title: msg("A home for your work"), desc: msg("Your cover, name and description bring it together.") },
|
|
54
|
+
SHARE_PAGE,
|
|
55
|
+
{ icon: ShieldCheck, title: msg("Yours to manage"), desc: msg("Only you can add works to it.") }
|
|
56
|
+
],
|
|
57
|
+
steps: [...COLLECTION_STEPS, msg("Add works to it whenever you like")]
|
|
58
|
+
},
|
|
59
|
+
editions: {
|
|
60
|
+
included: [
|
|
61
|
+
{ icon: Layers, title: msg("Limited Editions"), desc: msg("Choose how many to mint for each work.") },
|
|
62
|
+
SHARE_PAGE,
|
|
63
|
+
{ icon: ShieldCheck, title: msg("Yours to manage"), desc: msg("Only you can add works to it.") }
|
|
64
|
+
],
|
|
65
|
+
steps: [...COLLECTION_STEPS, msg("Mint limited editions into it")]
|
|
66
|
+
},
|
|
67
|
+
club: {
|
|
68
|
+
included: [
|
|
69
|
+
{ icon: Users, title: msg("Membership tiers"), desc: msg("Add new tiers whenever you like.") },
|
|
70
|
+
{ icon: ArrowLeftRight, title: msg("Cards members can trade"), desc: msg("Members can sell or send their cards.") },
|
|
71
|
+
{ icon: ShieldCheck, title: msg("Yours to manage"), desc: msg("Only you can add membership cards.") }
|
|
72
|
+
],
|
|
73
|
+
steps: [msg("Create your club"), msg("Add membership tiers"), msg("Sell the cards on the marketplace")]
|
|
74
|
+
},
|
|
75
|
+
tickets: {
|
|
76
|
+
included: [
|
|
77
|
+
{ icon: Ticket, title: msg("Ticket types"), desc: msg("Add one for each event or seating level.") },
|
|
78
|
+
{ icon: CalendarDays, title: msg("Dates you set"), desc: msg("Choose when each ticket is valid.") },
|
|
79
|
+
{ icon: Wallet, title: msg("Held by your audience"), desc: msg("Tickets stay in each holder's account.") }
|
|
80
|
+
],
|
|
81
|
+
steps: [msg("Create your ticket collection"), msg("Add your ticket types"), msg("Sell or send the tickets")]
|
|
82
|
+
},
|
|
83
|
+
pop: {
|
|
84
|
+
included: [
|
|
85
|
+
{ icon: Award, title: msg("Stays with its holder"), desc: msg("Each certificate is permanently tied to one account.") },
|
|
86
|
+
{ icon: Users, title: msg("One per participant"), desc: msg("Each participant on your list claims one.") },
|
|
87
|
+
{ icon: Share2, title: msg("Links to share"), desc: msg("Participants claim through their link.") }
|
|
88
|
+
],
|
|
89
|
+
steps: [msg("Add your event details"), msg("Publish your participant list"), msg("Share the claim links")]
|
|
90
|
+
},
|
|
91
|
+
coin: {
|
|
92
|
+
included: [
|
|
93
|
+
{ icon: ShieldCheck, title: msg("Fixed supply forever"), desc: msg("No more can ever be created.") },
|
|
94
|
+
{ icon: Wallet, title: msg("Purchased at market price"), desc: msg("Creator buy capped at 10%.") },
|
|
95
|
+
{ icon: KeyRound, title: msg("Ownership renounced"), desc: msg("Renounced automatically at launch.") },
|
|
96
|
+
{ icon: ArrowLeftRight, title: msg("You choose the pair"), desc: msg("Pick any supported coin.") },
|
|
97
|
+
{ icon: Lock, title: msg("Locked liquidity"), desc: msg("Locked forever, and fees stay collectible.") }
|
|
98
|
+
],
|
|
99
|
+
steps: [msg("Add a name, symbol and image"), msg("Set the supply, price and your share"), msg("Launch and trade")]
|
|
100
|
+
},
|
|
101
|
+
sponsorship: {
|
|
102
|
+
included: [
|
|
103
|
+
{ icon: Handshake, title: msg("Paid directly"), desc: msg("Funds go from the sponsor to the author.") },
|
|
104
|
+
{ icon: FileCheck, title: msg("A license in return"), desc: msg("The sponsor receives it on the agreed terms.") },
|
|
105
|
+
{ icon: Plus, title: msg("Start from either side"), desc: msg("Offer your own work or propose to sponsor one.") }
|
|
106
|
+
],
|
|
107
|
+
steps: [msg("Choose the work and set the terms"), msg("The other side responds"), msg("License and payment settle together")]
|
|
108
|
+
},
|
|
109
|
+
claimCollection: {
|
|
110
|
+
included: [
|
|
111
|
+
{ icon: LayoutGrid, title: msg("A page for your collection"), desc: msg("Edit its name and cover.") },
|
|
112
|
+
{ icon: UserCircle, title: msg("On your profile"), desc: msg("Shown with the rest of your work.") },
|
|
113
|
+
{ icon: ShieldCheck, title: msg("Stays where it is"), desc: msg("Assets remain in the collection contract.") }
|
|
114
|
+
],
|
|
115
|
+
steps: [msg("Paste the contract address"), msg("Ownership check on Starknet"), msg("Live on your profile")]
|
|
116
|
+
},
|
|
117
|
+
claimCollectionName: {
|
|
118
|
+
included: [
|
|
119
|
+
{ icon: Link2, title: msg("A short web address"), desc: msg("Like medialane.io/collection/your-name.") },
|
|
120
|
+
{ icon: LayoutGrid, title: msg("Opens your collection"), desc: msg("Visitors land on its page.") }
|
|
121
|
+
],
|
|
122
|
+
steps: [msg("Pick a collection"), msg("Choose a name"), msg("Live after review")]
|
|
123
|
+
},
|
|
124
|
+
claimMemecoin: {
|
|
125
|
+
included: [
|
|
126
|
+
{ icon: Coins, title: msg("Listed on the Coins page"), desc: msg("Where people find and trade coins.") },
|
|
127
|
+
{ icon: UserCircle, title: msg("On your profile"), desc: msg("Shown with the rest of your work.") },
|
|
128
|
+
{ icon: TrendingUp, title: msg("Linked to your account"), desc: msg("Claiming only links the coin to the account.") }
|
|
129
|
+
],
|
|
130
|
+
steps: [msg("Paste the coin contract address"), msg("Ownership check on Starknet"), msg("Live once confirmed")]
|
|
131
|
+
},
|
|
132
|
+
claimUsername: {
|
|
133
|
+
included: [
|
|
134
|
+
{ icon: AtSign, title: msg("Your own creator address"), desc: msg("Like medialane.io/creator/yourname.") },
|
|
135
|
+
{ icon: UserCircle, title: msg("One public profile"), desc: msg("All your work in one place.") }
|
|
136
|
+
],
|
|
137
|
+
steps: [msg("Pick a username"), msg("Availability check"), msg("Yours after DAO review")]
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
const PAGE_ASIDE_KINDS = Object.keys(ASIDES);
|
|
141
|
+
function PageAside({ kind }) {
|
|
142
|
+
const t = useT();
|
|
143
|
+
const { included = [], steps } = ASIDES[kind];
|
|
144
|
+
return /* @__PURE__ */ jsx(
|
|
145
|
+
ClaimRail,
|
|
146
|
+
{
|
|
147
|
+
included: included.map((item) => ({ ...item, title: t(item.title), desc: t(item.desc) })),
|
|
148
|
+
steps: steps.map((step) => t(step))
|
|
149
|
+
}
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
export {
|
|
153
|
+
PAGE_ASIDE_KINDS,
|
|
154
|
+
PageAside
|
|
155
|
+
};
|
|
156
|
+
//# sourceMappingURL=page-aside.js.map
|