@visualizevalue/mint-app-base 0.0.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/.env.example +26 -0
- package/README.md +24 -0
- package/app/app.vue +7 -0
- package/app/assets/styles/animation.css +50 -0
- package/app/assets/styles/base.css +34 -0
- package/app/assets/styles/cards.css +20 -0
- package/app/assets/styles/custom-media.css +4 -0
- package/app/assets/styles/custom-selectors.css +1 -0
- package/app/assets/styles/forms.css +183 -0
- package/app/assets/styles/index.css +11 -0
- package/app/assets/styles/normalize.css +541 -0
- package/app/assets/styles/prose.css +166 -0
- package/app/assets/styles/scroll.css +13 -0
- package/app/assets/styles/text.css +14 -0
- package/app/assets/styles/utils.css +24 -0
- package/app/assets/styles/variables.css +195 -0
- package/app/assets/styles/web3-modals.css +26 -0
- package/app/components/Account.client.vue +20 -0
- package/app/components/Actions.vue +25 -0
- package/app/components/AppHeader.vue +99 -0
- package/app/components/Authenticated.client.vue +17 -0
- package/app/components/Avatar.vue +61 -0
- package/app/components/BlocksTimeAgo.client.vue +20 -0
- package/app/components/Breadcrumbs.vue +51 -0
- package/app/components/Button.vue +98 -0
- package/app/components/CardLink.vue +38 -0
- package/app/components/CheckSpinner.vue +39 -0
- package/app/components/Collection/Intro.vue +111 -0
- package/app/components/Collection/OverviewCard.vue +73 -0
- package/app/components/Collection/Withdraw.client.vue +61 -0
- package/app/components/CollectionsOverview.client.vue +58 -0
- package/app/components/Connect.client.vue +88 -0
- package/app/components/CountDown.vue +153 -0
- package/app/components/DialogFrame.vue +96 -0
- package/app/components/ExpandableText.vue +50 -0
- package/app/components/Form/Errors.vue +18 -0
- package/app/components/Form/Group.vue +57 -0
- package/app/components/Form/Input.vue +48 -0
- package/app/components/Form/SelectFile.vue +60 -0
- package/app/components/GasPrice.client.vue +9 -0
- package/app/components/HeaderSection.vue +18 -0
- package/app/components/Icon.vue +37 -0
- package/app/components/IconLink.vue +29 -0
- package/app/components/Image.client.vue +120 -0
- package/app/components/Loading.vue +79 -0
- package/app/components/MintGasPrice.client.vue +20 -0
- package/app/components/MintGasPricePopover.client.vue +69 -0
- package/app/components/MintToken.vue +89 -0
- package/app/components/MintTokenBar.vue +79 -0
- package/app/components/Modal.vue +36 -0
- package/app/components/Navbar.client.vue +86 -0
- package/app/components/Page/Frame.vue +77 -0
- package/app/components/Page/FrameSM.vue +33 -0
- package/app/components/Popover.client.vue +119 -0
- package/app/components/Profile/Header.client.vue +96 -0
- package/app/components/QueryDialog.vue +38 -0
- package/app/components/ToggleDarkMode.client.vue +58 -0
- package/app/components/Token/Detail.client.vue +194 -0
- package/app/components/Token/MintTimeline.client.vue +110 -0
- package/app/components/Token/MintTimelineItem.vue +33 -0
- package/app/components/Token/OverviewCard.vue +140 -0
- package/app/components/TransactionFlow.vue +225 -0
- package/app/components/Visual/ImagePreview.vue +8 -0
- package/app/composables/account.ts +21 -0
- package/app/composables/app.ts +15 -0
- package/app/composables/artistData.ts +22 -0
- package/app/composables/chainId.ts +25 -0
- package/app/composables/collections.ts +435 -0
- package/app/composables/darkMode.ts +1 -0
- package/app/composables/gasPrice.ts +46 -0
- package/app/composables/head.ts +29 -0
- package/app/composables/priceFeed.ts +80 -0
- package/app/composables/subdomain.ts +27 -0
- package/app/error.vue +31 -0
- package/app/layouts/default.vue +42 -0
- package/app/middleware/lowercaseId.ts +1 -0
- package/app/middleware/lowercaseProfileAddress.ts +1 -0
- package/app/middleware/redirectUserScope.ts +13 -0
- package/app/pages/[id]/[collection]/[tokenId]/index.vue +66 -0
- package/app/pages/[id]/[collection]/[tokenId].vue +25 -0
- package/app/pages/[id]/[collection]/index.vue +51 -0
- package/app/pages/[id]/[collection]/mint.vue +260 -0
- package/app/pages/[id]/[collection].vue +24 -0
- package/app/pages/[id]/add.vue +40 -0
- package/app/pages/[id]/create.vue +177 -0
- package/app/pages/[id]/index.vue +43 -0
- package/app/pages/[id].vue +9 -0
- package/app/pages/index.vue +47 -0
- package/app/pages/profile/[address]/index.vue +51 -0
- package/app/pages/profile/[address].vue +9 -0
- package/app/pages/profile/index.vue +28 -0
- package/app/plugins/1.polyfill.client.ts +12 -0
- package/app/plugins/2.wagmi.ts +57 -0
- package/app/router.options.ts +25 -0
- package/app/utils/abis.ts +77 -0
- package/app/utils/arrays.ts +1 -0
- package/app/utils/artifact.ts +21 -0
- package/app/utils/breakpoints.ts +11 -0
- package/app/utils/dates.ts +23 -0
- package/app/utils/format.ts +60 -0
- package/app/utils/images.ts +27 -0
- package/app/utils/ipfs.ts +13 -0
- package/app/utils/lowercaseRouteParam.ts +10 -0
- package/app/utils/serializer.ts +18 -0
- package/app/utils/strings.ts +30 -0
- package/app/utils/time.ts +23 -0
- package/app/utils/types.ts +62 -0
- package/app/utils/urls.ts +43 -0
- package/nuxt.config.ts +130 -0
- package/package.json +44 -0
- package/public/apple-touch-icon-512x512.png +0 -0
- package/public/example-contract-icon-original.svg +5 -0
- package/public/example-contract-icon.svg +5 -0
- package/public/favicon.ico +0 -0
- package/public/icon.svg +8 -0
- package/public/icons/check.svg +3 -0
- package/public/icons/opepen.svg +264 -0
- package/public/icons/wallets/coinbase.svg +4 -0
- package/public/icons/wallets/metamask.svg +1 -0
- package/public/icons/wallets/rainbow.svg +59 -0
- package/public/icons/wallets/walletconnect.svg +1 -0
- package/public/maskable-icon-512x512.png +0 -0
- package/public/pwa-192x192.png +0 -0
- package/public/pwa-512x512.png +0 -0
- package/public/pwa-64x64.png +0 -0
- package/server/middleware/log.ts +3 -0
- package/server/middleware/subdomain.ts +12 -0
- package/server/tsconfig.json +3 -0
- package/tsconfig.json +4 -0
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
<svg width="512" height="512" viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<!-- Background -->
|
|
3
|
+
<rect width="8" height="8" fill="#000" />
|
|
4
|
+
|
|
5
|
+
<!--
|
|
6
|
+
Opepen
|
|
7
|
+
-->
|
|
8
|
+
<g
|
|
9
|
+
fill="#fff"
|
|
10
|
+
stroke="white"
|
|
11
|
+
stroke-width="0.04"
|
|
12
|
+
transform="translate(0, -0.02)"
|
|
13
|
+
>
|
|
14
|
+
<!-- Left Eye -->
|
|
15
|
+
<g transform="translate(2, 2)" id="left-eye">
|
|
16
|
+
<use href="#left-eye-1" />
|
|
17
|
+
</g>
|
|
18
|
+
|
|
19
|
+
<!-- Right Eye -->
|
|
20
|
+
<g transform="translate(4, 2)" id="right-eye">
|
|
21
|
+
<use href="#right-eye-5" />
|
|
22
|
+
</g>
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
<!-- Mouth -->
|
|
26
|
+
<g transform="translate(2, 4)">
|
|
27
|
+
<use href="#mouth-rounded-1" />
|
|
28
|
+
</g>
|
|
29
|
+
|
|
30
|
+
<!-- Torso -->
|
|
31
|
+
<g transform="translate(2, 7)">
|
|
32
|
+
<use href="#torso-rounded-1" />
|
|
33
|
+
|
|
34
|
+
<use id="body-extension" x="0" y="1" href="#4x1" />
|
|
35
|
+
</g>
|
|
36
|
+
</g>
|
|
37
|
+
|
|
38
|
+
<defs>
|
|
39
|
+
<!-- ====================================================== -->
|
|
40
|
+
<!-- BODY PARTS -->
|
|
41
|
+
<!-- ====================================================== -->
|
|
42
|
+
|
|
43
|
+
<!-- LEFT EYE -->
|
|
44
|
+
<g id="left-eye-1">
|
|
45
|
+
<use href="#2x2_tr-br-bl" />
|
|
46
|
+
</g>
|
|
47
|
+
<g id="left-eye-2">
|
|
48
|
+
<use href="#1x1" />
|
|
49
|
+
<use x="1" href="#1x1_tr" />
|
|
50
|
+
<use x="1" y="1" href="#1x1_br" />
|
|
51
|
+
</g>
|
|
52
|
+
<g id="left-eye-3">
|
|
53
|
+
<use href="#2x2_tr-br-bl_bl" />
|
|
54
|
+
</g>
|
|
55
|
+
<g id="left-eye-4">
|
|
56
|
+
<use href="#1x1" />
|
|
57
|
+
<use x="1" href="#1x2_tr-br" />
|
|
58
|
+
</g>
|
|
59
|
+
<g id="left-eye-5">
|
|
60
|
+
<use href="#2x1_tr" />
|
|
61
|
+
<use x="1" y="1" href="#1x1_br" />
|
|
62
|
+
</g>
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
<!-- RIGHT EYE -->
|
|
66
|
+
<g id="right-eye-1">
|
|
67
|
+
<use href="#1x1_tl" />
|
|
68
|
+
<use x="1" href="#1x1_tr" />
|
|
69
|
+
<use x="1" y="1" href="#1x1_br" />
|
|
70
|
+
</g>
|
|
71
|
+
<g id="right-eye-2">
|
|
72
|
+
<use href="#1x1_tl" />
|
|
73
|
+
<use x="1" href="#1x1_tr" />
|
|
74
|
+
<use y="1" href="#1x1_bl" />
|
|
75
|
+
<use x="1" y="1" href="#1x1_br" />
|
|
76
|
+
</g>
|
|
77
|
+
<g id="right-eye-3">
|
|
78
|
+
<use href="#1x2_tl-bl" />
|
|
79
|
+
<use x="1" href="#1x2_tr-br" />
|
|
80
|
+
</g>
|
|
81
|
+
<g id="right-eye-4">
|
|
82
|
+
<use href="#1x1_tl" />
|
|
83
|
+
<use y="1" href="#1x1_bl" />
|
|
84
|
+
<use x="1" href="#1x2_tr-br" />
|
|
85
|
+
</g>
|
|
86
|
+
<g id="right-eye-5">
|
|
87
|
+
<use href="#2x1_tl-tr" />
|
|
88
|
+
<use y="1" href="#1x1_bl" />
|
|
89
|
+
<use x="1" y="1" href="#1x1_br" />
|
|
90
|
+
</g>
|
|
91
|
+
<!-- <g id="right-eye-5">
|
|
92
|
+
<use href="#2x1_tl-tr" />
|
|
93
|
+
<use y="1" href="#1x1_bl" />
|
|
94
|
+
<use x="1" y="1" href="#1x1_br" />
|
|
95
|
+
</g> -->
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
<!-- MOUTH -->
|
|
99
|
+
<g id="mouth-rounded-1">
|
|
100
|
+
<use href="#4x2_bl-br" />
|
|
101
|
+
</g>
|
|
102
|
+
<g id="mouth-rounded-2">
|
|
103
|
+
<use href="#4x1" />
|
|
104
|
+
<use y="1" href="#4x1_bl-br" />
|
|
105
|
+
</g>
|
|
106
|
+
<g id="mouth-rounded-3">
|
|
107
|
+
<use href="#2x1" />
|
|
108
|
+
<use x="2" href="#2x1" />
|
|
109
|
+
<use y="1" href="#4x1_bl-br" />
|
|
110
|
+
</g>
|
|
111
|
+
<g id="mouth-rounded-4">
|
|
112
|
+
<use href="#1x1" />
|
|
113
|
+
<use x="1" href="#2x1" />
|
|
114
|
+
<use x="3" href="#1x1" />
|
|
115
|
+
<use y="1" href="#4x1_bl-br" />
|
|
116
|
+
</g>
|
|
117
|
+
<g id="mouth-rounded-5">
|
|
118
|
+
<use href="#1x1" />
|
|
119
|
+
<use x="1" href="#1x1" />
|
|
120
|
+
<use x="2" href="#1x1" />
|
|
121
|
+
<use x="3" href="#1x1" />
|
|
122
|
+
<use y="1" href="#4x1_bl-br" />
|
|
123
|
+
</g>
|
|
124
|
+
|
|
125
|
+
<g id="mouth-square-1">
|
|
126
|
+
<use href="#4x2" />
|
|
127
|
+
</g>
|
|
128
|
+
<g id="mouth-square-2">
|
|
129
|
+
<use href="#1x1" />
|
|
130
|
+
<use x="1" href="#1x1" />
|
|
131
|
+
<use x="2" href="#1x1" />
|
|
132
|
+
<use x="3" href="#1x1" />
|
|
133
|
+
<use y="1" href="#1x1" />
|
|
134
|
+
<use x="1" y="1" href="#1x1" />
|
|
135
|
+
<use x="2" y="1" href="#1x1" />
|
|
136
|
+
<use x="3" y="1" href="#1x1" />
|
|
137
|
+
</g>
|
|
138
|
+
<g id="mouth-square-3">
|
|
139
|
+
<use href="#1x2" />
|
|
140
|
+
<use x="1" href="#1x2" />
|
|
141
|
+
<use x="2" href="#1x2" />
|
|
142
|
+
<use x="3" href="#1x2" />
|
|
143
|
+
</g>
|
|
144
|
+
<g id="mouth-square-4">
|
|
145
|
+
<use href="#4x1" />
|
|
146
|
+
<use y="1" href="#4x1" />
|
|
147
|
+
</g>
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
<!-- TORSO -->
|
|
151
|
+
<g id="torso-rounded-1">
|
|
152
|
+
<use href="#4x1_tl-tr" />
|
|
153
|
+
</g>
|
|
154
|
+
<g id="torso-rounded-2">
|
|
155
|
+
<use href="#2x1_tl" />
|
|
156
|
+
<use x="2" href="#2x1_tr" />
|
|
157
|
+
</g>
|
|
158
|
+
<g id="torso-rounded-3">
|
|
159
|
+
<use href="#1x1_tl" />
|
|
160
|
+
<use x="1" href="#2x1" />
|
|
161
|
+
<use x="3" href="#1x1_tr" />
|
|
162
|
+
</g>
|
|
163
|
+
<g id="torso-rounded-4">
|
|
164
|
+
<use href="#1x1_tl" />
|
|
165
|
+
<use x="1" href="#1x1" />
|
|
166
|
+
<use x="2" href="#1x1" />
|
|
167
|
+
<use x="3" href="#1x1_tr" />
|
|
168
|
+
</g>
|
|
169
|
+
|
|
170
|
+
<g id="torso-square-1">
|
|
171
|
+
<use href="#4x1" />
|
|
172
|
+
</g>
|
|
173
|
+
<g id="torso-square-2">
|
|
174
|
+
<use href="#2x1" />
|
|
175
|
+
<use x="2" href="#2x1" />
|
|
176
|
+
</g>
|
|
177
|
+
<g id="torso-square-3">
|
|
178
|
+
<use href="#2x1" />
|
|
179
|
+
<use x="2" href="#1x1" />
|
|
180
|
+
<use x="3" href="#1x1" />
|
|
181
|
+
</g>
|
|
182
|
+
<g id="torso-square-4">
|
|
183
|
+
<use href="#1x1" />
|
|
184
|
+
<use x="1" href="#1x1" />
|
|
185
|
+
<use x="2" href="#1x1" />
|
|
186
|
+
<use x="3" href="#1x1" />
|
|
187
|
+
</g>
|
|
188
|
+
|
|
189
|
+
<!-- ====================================================== -->
|
|
190
|
+
<!-- BASE SHAPES -->
|
|
191
|
+
<!-- ====================================================== -->
|
|
192
|
+
<rect id="1x1" width="1" height="1" />
|
|
193
|
+
<rect id="1x2" width="1" height="2" />
|
|
194
|
+
<rect id="2x1" width="2" height="1" />
|
|
195
|
+
<rect id="4x1" width="4" height="1" />
|
|
196
|
+
<rect id="4x2" width="4" height="2" />
|
|
197
|
+
<path id="1x1_tl" d="M 1 0
|
|
198
|
+
A 1 1, 0, 0, 0, 0 1
|
|
199
|
+
L 1 1 Z"
|
|
200
|
+
/>
|
|
201
|
+
<path id="1x1_tr" d="M 0 0
|
|
202
|
+
A 1 1, 0, 0, 1, 1 1
|
|
203
|
+
L 0 1 Z"
|
|
204
|
+
/>
|
|
205
|
+
<path id="1x1_bl" d="M 0 0
|
|
206
|
+
A 1 1, 0, 0, 0, 1 1
|
|
207
|
+
L 1 0 Z"
|
|
208
|
+
/>
|
|
209
|
+
<path id="1x1_br" d="M 1 0
|
|
210
|
+
A 1 1, 0, 0, 1, 0 1
|
|
211
|
+
L 0 0 Z"
|
|
212
|
+
/>
|
|
213
|
+
<path id="1x2_tl-bl" d="M 1 0
|
|
214
|
+
A 1 1, 0, 0, 0, 1 2 Z"
|
|
215
|
+
/>
|
|
216
|
+
<path id="1x2_tr-br" d="M 0 0
|
|
217
|
+
A 1 1, 0, 0, 1, 0 2 Z"
|
|
218
|
+
/>
|
|
219
|
+
<path id="2x1_tl" d="M 0 1
|
|
220
|
+
A 1 1, 0, 0, 1, 1 0
|
|
221
|
+
L 2 0
|
|
222
|
+
L 2 1 Z"
|
|
223
|
+
/>
|
|
224
|
+
<path id="2x1_tr" d="M 0 0
|
|
225
|
+
L 1 0
|
|
226
|
+
A 1 1, 0, 0, 1, 2 1
|
|
227
|
+
L 0 1 Z"
|
|
228
|
+
/>
|
|
229
|
+
<path id="2x1_tl-tr" d="M 0 1
|
|
230
|
+
A 1 1, 0, 0, 1, 2 1
|
|
231
|
+
L 0 1 Z"
|
|
232
|
+
/>
|
|
233
|
+
<path id="2x2_tr-br-bl" d="M 1 0
|
|
234
|
+
A 1 1, 0, 1, 1, 0 1
|
|
235
|
+
L 0 0 Z"
|
|
236
|
+
/>
|
|
237
|
+
<path id="2x2_tr-br-bl_bl" d="M 0 0
|
|
238
|
+
L 1 0
|
|
239
|
+
A 1 1, 0, 0, 1, 1 2
|
|
240
|
+
L 1 1
|
|
241
|
+
L 0 1 Z"
|
|
242
|
+
/>
|
|
243
|
+
<path id="4x1_tl-tr" d="M 0 1
|
|
244
|
+
A 1 1, 0, 0, 1, 1 0
|
|
245
|
+
L 3 0
|
|
246
|
+
A 1 1, 0, 0, 1, 4 1
|
|
247
|
+
Z"
|
|
248
|
+
/>
|
|
249
|
+
<path id="4x1_bl-br" d="M 1 1
|
|
250
|
+
A 1 1, 0, 0, 1, 0 0
|
|
251
|
+
L 4 0
|
|
252
|
+
A 1 1, 0, 0, 1, 3 1
|
|
253
|
+
Z"
|
|
254
|
+
/>
|
|
255
|
+
<path id="4x2_bl-br" d="M 1 2
|
|
256
|
+
A 1 1, 0, 0, 1, 0 1
|
|
257
|
+
L 0 0
|
|
258
|
+
L 4 0
|
|
259
|
+
L 4 1
|
|
260
|
+
A 1 1, 0, 0, 1, 3 2
|
|
261
|
+
Z"
|
|
262
|
+
/>
|
|
263
|
+
</defs>
|
|
264
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="1024" height="1024" viewBox="0 0 1024 1024" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect width="1024" height="1024" fill="#0052FF"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z" fill="white"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg fill="none" height="33" viewBox="0 0 35 33" width="35" xmlns="http://www.w3.org/2000/svg"><g stroke-linecap="round" stroke-linejoin="round" stroke-width=".25"><path d="m32.9582 1-13.1341 9.7183 2.4424-5.72731z" fill="#e17726" stroke="#e17726"/><g fill="#e27625" stroke="#e27625"><path d="m2.66296 1 13.01714 9.809-2.3254-5.81802z"/><path d="m28.2295 23.5335-3.4947 5.3386 7.4829 2.0603 2.1436-7.2823z"/><path d="m1.27281 23.6501 2.13055 7.2823 7.46994-2.0603-3.48166-5.3386z"/><path d="m10.4706 14.5149-2.0786 3.1358 7.405.3369-.2469-7.969z"/><path d="m25.1505 14.5149-5.1575-4.58704-.1688 8.05974 7.4049-.3369z"/><path d="m10.8733 28.8721 4.4819-2.1639-3.8583-3.0062z"/><path d="m20.2659 26.7082 4.4689 2.1639-.6105-5.1701z"/></g><path d="m24.7348 28.8721-4.469-2.1639.3638 2.9025-.039 1.231z" fill="#d5bfb2" stroke="#d5bfb2"/><path d="m10.8732 28.8721 4.1572 1.9696-.026-1.231.3508-2.9025z" fill="#d5bfb2" stroke="#d5bfb2"/><path d="m15.1084 21.7842-3.7155-1.0884 2.6243-1.2051z" fill="#233447" stroke="#233447"/><path d="m20.5126 21.7842 1.0913-2.2935 2.6372 1.2051z" fill="#233447" stroke="#233447"/><path d="m10.8733 28.8721.6495-5.3386-4.13117.1167z" fill="#cc6228" stroke="#cc6228"/><path d="m24.0982 23.5335.6366 5.3386 3.4946-5.2219z" fill="#cc6228" stroke="#cc6228"/><path d="m27.2291 17.6507-7.405.3369.6885 3.7966 1.0913-2.2935 2.6372 1.2051z" fill="#cc6228" stroke="#cc6228"/><path d="m11.3929 20.6958 2.6242-1.2051 1.0913 2.2935.6885-3.7966-7.40495-.3369z" fill="#cc6228" stroke="#cc6228"/><path d="m8.392 17.6507 3.1049 6.0513-.1039-3.0062z" fill="#e27525" stroke="#e27525"/><path d="m24.2412 20.6958-.1169 3.0062 3.1049-6.0513z" fill="#e27525" stroke="#e27525"/><path d="m15.797 17.9876-.6886 3.7967.8704 4.4833.1949-5.9087z" fill="#e27525" stroke="#e27525"/><path d="m19.8242 17.9876-.3638 2.3584.1819 5.9216.8704-4.4833z" fill="#e27525" stroke="#e27525"/><path d="m20.5127 21.7842-.8704 4.4834.6236.4406 3.8584-3.0062.1169-3.0062z" fill="#f5841f" stroke="#f5841f"/><path d="m11.3929 20.6958.104 3.0062 3.8583 3.0062.6236-.4406-.8704-4.4834z" fill="#f5841f" stroke="#f5841f"/><path d="m20.5906 30.8417.039-1.231-.3378-.2851h-4.9626l-.3248.2851.026 1.231-4.1572-1.9696 1.4551 1.1921 2.9489 2.0344h5.0536l2.962-2.0344 1.442-1.1921z" fill="#c0ac9d" stroke="#c0ac9d"/><path d="m20.2659 26.7082-.6236-.4406h-3.6635l-.6236.4406-.3508 2.9025.3248-.2851h4.9626l.3378.2851z" fill="#161616" stroke="#161616"/><path d="m33.5168 11.3532 1.1043-5.36447-1.6629-4.98873-12.6923 9.3944 4.8846 4.1205 6.8983 2.0085 1.52-1.7752-.6626-.4795 1.0523-.9588-.8054-.622 1.0523-.8034z" fill="#763e1a" stroke="#763e1a"/><path d="m1 5.98873 1.11724 5.36447-.71451.5313 1.06527.8034-.80545.622 1.05228.9588-.66255.4795 1.51997 1.7752 6.89835-2.0085 4.8846-4.1205-12.69233-9.3944z" fill="#763e1a" stroke="#763e1a"/><path d="m32.0489 16.5234-6.8983-2.0085 2.0786 3.1358-3.1049 6.0513 4.1052-.0519h6.1318z" fill="#f5841f" stroke="#f5841f"/><path d="m10.4705 14.5149-6.89828 2.0085-2.29944 7.1267h6.11883l4.10519.0519-3.10487-6.0513z" fill="#f5841f" stroke="#f5841f"/><path d="m19.8241 17.9876.4417-7.5932 2.0007-5.4034h-8.9119l2.0006 5.4034.4417 7.5932.1689 2.3842.013 5.8958h3.6635l.013-5.8958z" fill="#f5841f" stroke="#f5841f"/></g></svg>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<svg viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_8_458)">
|
|
3
|
+
<rect width="120" height="120" fill="url(#paint0_linear_8_458)"/>
|
|
4
|
+
<path d="M20 38H26C56.9279 38 82 63.0721 82 94V100H94C97.3137 100 100 97.3137 100 94C100 53.1309 66.8691 20 26 20C22.6863 20 20 22.6863 20 26V38Z" fill="url(#paint1_radial_8_458)"/>
|
|
5
|
+
<path d="M84 94H100C100 97.3137 97.3137 100 94 100H84V94Z" fill="url(#paint2_linear_8_458)"/>
|
|
6
|
+
<path d="M26 20L26 36H20L20 26C20 22.6863 22.6863 20 26 20Z" fill="url(#paint3_linear_8_458)"/>
|
|
7
|
+
<path d="M20 36H26C58.0325 36 84 61.9675 84 94V100H66V94C66 71.9086 48.0914 54 26 54H20V36Z" fill="url(#paint4_radial_8_458)"/>
|
|
8
|
+
<path d="M68 94H84V100H68V94Z" fill="url(#paint5_linear_8_458)"/>
|
|
9
|
+
<path d="M20 52L20 36L26 36L26 52H20Z" fill="url(#paint6_linear_8_458)"/>
|
|
10
|
+
<path d="M20 62C20 65.3137 22.6863 68 26 68C40.3594 68 52 79.6406 52 94C52 97.3137 54.6863 100 58 100H68V94C68 70.804 49.196 52 26 52H20V62Z" fill="url(#paint7_radial_8_458)"/>
|
|
11
|
+
<path d="M52 94H68V100H58C54.6863 100 52 97.3137 52 94Z" fill="url(#paint8_radial_8_458)"/>
|
|
12
|
+
<path d="M26 68C22.6863 68 20 65.3137 20 62L20 52L26 52L26 68Z" fill="url(#paint9_radial_8_458)"/>
|
|
13
|
+
</g>
|
|
14
|
+
<defs>
|
|
15
|
+
<linearGradient id="paint0_linear_8_458" x1="60" y1="0" x2="60" y2="120" gradientUnits="userSpaceOnUse">
|
|
16
|
+
<stop stop-color="#174299"/>
|
|
17
|
+
<stop offset="1" stop-color="#001E59"/>
|
|
18
|
+
</linearGradient>
|
|
19
|
+
<radialGradient id="paint1_radial_8_458" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(26 94) rotate(-90) scale(74)">
|
|
20
|
+
<stop offset="0.770277" stop-color="#FF4000"/>
|
|
21
|
+
<stop offset="1" stop-color="#8754C9"/>
|
|
22
|
+
</radialGradient>
|
|
23
|
+
<linearGradient id="paint2_linear_8_458" x1="83" y1="97" x2="100" y2="97" gradientUnits="userSpaceOnUse">
|
|
24
|
+
<stop stop-color="#FF4000"/>
|
|
25
|
+
<stop offset="1" stop-color="#8754C9"/>
|
|
26
|
+
</linearGradient>
|
|
27
|
+
<linearGradient id="paint3_linear_8_458" x1="23" y1="20" x2="23" y2="37" gradientUnits="userSpaceOnUse">
|
|
28
|
+
<stop stop-color="#8754C9"/>
|
|
29
|
+
<stop offset="1" stop-color="#FF4000"/>
|
|
30
|
+
</linearGradient>
|
|
31
|
+
<radialGradient id="paint4_radial_8_458" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(26 94) rotate(-90) scale(58)">
|
|
32
|
+
<stop offset="0.723929" stop-color="#FFF700"/>
|
|
33
|
+
<stop offset="1" stop-color="#FF9901"/>
|
|
34
|
+
</radialGradient>
|
|
35
|
+
<linearGradient id="paint5_linear_8_458" x1="68" y1="97" x2="84" y2="97" gradientUnits="userSpaceOnUse">
|
|
36
|
+
<stop stop-color="#FFF700"/>
|
|
37
|
+
<stop offset="1" stop-color="#FF9901"/>
|
|
38
|
+
</linearGradient>
|
|
39
|
+
<linearGradient id="paint6_linear_8_458" x1="23" y1="52" x2="23" y2="36" gradientUnits="userSpaceOnUse">
|
|
40
|
+
<stop stop-color="#FFF700"/>
|
|
41
|
+
<stop offset="1" stop-color="#FF9901"/>
|
|
42
|
+
</linearGradient>
|
|
43
|
+
<radialGradient id="paint7_radial_8_458" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(26 94) rotate(-90) scale(42)">
|
|
44
|
+
<stop offset="0.59513" stop-color="#00AAFF"/>
|
|
45
|
+
<stop offset="1" stop-color="#01DA40"/>
|
|
46
|
+
</radialGradient>
|
|
47
|
+
<radialGradient id="paint8_radial_8_458" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(51 97) scale(17 45.3333)">
|
|
48
|
+
<stop stop-color="#00AAFF"/>
|
|
49
|
+
<stop offset="1" stop-color="#01DA40"/>
|
|
50
|
+
</radialGradient>
|
|
51
|
+
<radialGradient id="paint9_radial_8_458" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(23 69) rotate(-90) scale(17 322.37)">
|
|
52
|
+
<stop stop-color="#00AAFF"/>
|
|
53
|
+
<stop offset="1" stop-color="#01DA40"/>
|
|
54
|
+
</radialGradient>
|
|
55
|
+
<clipPath id="clip0_8_458">
|
|
56
|
+
<rect width="120" height="120" fill="white"/>
|
|
57
|
+
</clipPath>
|
|
58
|
+
</defs>
|
|
59
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg fill="none" height="400" viewBox="0 0 400 400" width="400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><clipPath id="a"><path d="m0 0h400v400h-400z"/></clipPath><g clip-path="url(#a)"><circle cx="200" cy="200" fill="#3396ff" r="199.5" stroke="#66b1ff"/><path d="m122.519 148.965c42.791-41.729 112.171-41.729 154.962 0l5.15 5.022c2.14 2.086 2.14 5.469 0 7.555l-17.617 17.18c-1.07 1.043-2.804 1.043-3.874 0l-7.087-6.911c-29.853-29.111-78.253-29.111-108.106 0l-7.59 7.401c-1.07 1.043-2.804 1.043-3.874 0l-17.617-17.18c-2.14-2.086-2.14-5.469 0-7.555zm191.397 35.529 15.679 15.29c2.14 2.086 2.14 5.469 0 7.555l-70.7 68.944c-2.139 2.087-5.608 2.087-7.748 0l-50.178-48.931c-.535-.522-1.402-.522-1.937 0l-50.178 48.931c-2.139 2.087-5.608 2.087-7.748 0l-70.7015-68.945c-2.1396-2.086-2.1396-5.469 0-7.555l15.6795-15.29c2.1396-2.086 5.6085-2.086 7.7481 0l50.1789 48.932c.535.522 1.402.522 1.937 0l50.177-48.932c2.139-2.087 5.608-2.087 7.748 0l50.179 48.932c.535.522 1.402.522 1.937 0l50.179-48.931c2.139-2.087 5.608-2.087 7.748 0z" fill="#fff"/></g></svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default defineEventHandler(({ node, context }) => {
|
|
2
|
+
const hostname: string = node.req.headers.host?.split(':')[0] as string
|
|
3
|
+
|
|
4
|
+
const sub = hostname.split('.')[0]?.toLowerCase() as string
|
|
5
|
+
const main = process.env.NUXT_PUBLIC_DOMAIN?.split('.')[0] || `localhost`
|
|
6
|
+
|
|
7
|
+
console.log('sub, main', sub, main)
|
|
8
|
+
|
|
9
|
+
if (sub !== main) {
|
|
10
|
+
context.subdomain = sub
|
|
11
|
+
}
|
|
12
|
+
})
|
package/tsconfig.json
ADDED