@visualizevalue/mint-app-base 0.0.6 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +1 -1
- package/app/assets/styles/animation.css +1 -9
- package/app/assets/styles/base.css +3 -12
- package/app/assets/styles/forms.css +18 -52
- package/app/assets/styles/index.css +24 -6
- package/app/assets/styles/normalize.css +8 -3
- package/app/assets/styles/prose.css +2 -128
- package/app/assets/styles/variables/animations.css +8 -0
- package/app/assets/styles/variables/borders.css +13 -0
- package/app/assets/styles/variables/colors.css +48 -0
- package/app/assets/styles/variables/components.css +18 -0
- package/app/assets/styles/variables/effects.css +11 -0
- package/app/assets/styles/variables/fonts.css +26 -0
- package/app/assets/styles/variables/layout.css +9 -0
- package/app/assets/styles/variables/sizes.css +23 -0
- package/app/assets/styles/variables/ui.css +17 -0
- package/app/assets/styles/variables.css +16 -192
- package/app/assets/styles/web3-modals.css +2 -7
- package/app/components/Account.client.vue +1 -1
- package/app/components/Actions.vue +2 -3
- package/app/components/AppHeader.vue +2 -25
- package/app/components/Breadcrumbs.vue +2 -2
- package/app/components/Button/AddCollection.vue +10 -0
- package/app/components/Button/EditProfile.vue +10 -0
- package/app/components/Button/Profile/Discord.vue +10 -0
- package/app/components/Button/Profile/Email.vue +10 -0
- package/app/components/Button/Profile/Github.vue +11 -0
- package/app/components/Button/Profile/Twitter.vue +10 -0
- package/app/components/Button/Profile/Website.vue +10 -0
- package/app/components/Button.vue +18 -36
- package/app/components/CheckSpinner.vue +0 -18
- package/app/components/Collection/Intro.vue +9 -6
- package/app/components/Collection/OverviewCard.vue +14 -6
- package/app/components/Collection/Withdraw.client.vue +2 -1
- package/app/components/DialogFrame.vue +8 -9
- package/app/components/Form/Group.vue +33 -4
- package/app/components/Form/SelectFile.vue +1 -1
- package/app/components/Icon.vue +21 -17
- package/app/components/Image.client.vue +0 -4
- package/app/components/Loading.vue +2 -38
- package/app/components/MintGasPricePopover.client.vue +2 -2
- package/app/components/MintToken.vue +1 -1
- package/app/components/Modal.vue +3 -2
- package/app/components/Popover.client.vue +3 -23
- package/app/components/Profile/Header.client.vue +6 -35
- package/app/components/Token/Detail.client.vue +19 -10
- package/app/components/Token/MintTimeline.client.vue +14 -43
- package/app/components/Token/MintTimelineItem.vue +50 -13
- package/app/components/Token/OverviewCard.vue +15 -18
- package/app/components/TransactionFlow.vue +4 -10
- package/app/layouts/default.vue +2 -14
- package/app/pages/[id]/[collection]/[tokenId]/index.vue +1 -1
- package/app/pages/[id]/[collection]/index.vue +1 -1
- package/app/pages/[id]/[collection]/mint.vue +4 -4
- package/app/pages/[id]/create.vue +49 -49
- package/app/pages/[id]/index.vue +1 -6
- package/app/pages/profile/[address]/index.vue +1 -4
- package/app/plugins/2.wagmi.ts +2 -2
- package/package.json +2 -1
- package/app/assets/styles/scroll.css +0 -13
- package/app/assets/styles/text.css +0 -14
- package/app/assets/styles/theme.css +0 -4
- package/app/assets/styles/utils.css +0 -24
- package/app/components/Avatar.vue +0 -61
- package/app/components/CountDown.vue +0 -153
- package/app/components/IconLink.vue +0 -29
- package/app/components/Navbar.client.vue +0 -86
- package/app/components/QueryDialog.vue +0 -38
- package/app/components/ToggleDarkMode.client.vue +0 -58
- /package/app/components/{Visual/ImagePreview.vue → ImagePreview.vue} +0 -0
|
@@ -1,193 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/* SEMI */
|
|
18
|
-
--white-semi: rgba(255,255,255, 0.7);
|
|
19
|
-
--gray-50-semi: rgba(250,250,250, 0.7);
|
|
20
|
-
--gray-100-semi: rgba(245,245,245, 0.7);
|
|
21
|
-
--gray-200-semi: rgba(229,229,229, 0.7);
|
|
22
|
-
--gray-300-semi: rgba(212,212,212, 0.7);
|
|
23
|
-
--gray-400-semi: rgba(163,163,163, 0.7);
|
|
24
|
-
--gray-500-semi: rgba(115,115,115, 0.7);
|
|
25
|
-
--gray-600-semi: rgba(82,82,82, 0.7);
|
|
26
|
-
--gray-700-semi: rgba(64,64,64, 0.7);
|
|
27
|
-
--gray-800-semi: rgba(38,38,38, 0.7);
|
|
28
|
-
--gray-900-semi: rgba(23,23,23, 0.7);
|
|
29
|
-
--gray-950-semi: rgba(10,10,10, 0.7);
|
|
30
|
-
--black-semi: rgba(0, 0, 0, 0.7);
|
|
31
|
-
|
|
32
|
-
/* COLORS */
|
|
33
|
-
--red: #EF4444;
|
|
34
|
-
--green: #94E337;
|
|
35
|
-
|
|
36
|
-
/* PRESET COLORS */
|
|
37
|
-
--error: var(--red);
|
|
38
|
-
--success: var(--green);
|
|
39
|
-
|
|
40
|
-
/* SIZES */
|
|
41
|
-
--100vh: 100dvh;
|
|
42
|
-
--size-0: 0.125rem;
|
|
43
|
-
--size-1: 0.25rem;
|
|
44
|
-
--size-2: 0.5rem;
|
|
45
|
-
--size-3: 0.75rem;
|
|
46
|
-
--size-4: 1rem;
|
|
47
|
-
--size-5: 1.25rem;
|
|
48
|
-
--size-6: 1.5rem;
|
|
49
|
-
--size-7: 2rem;
|
|
50
|
-
--size-8: 3rem;
|
|
51
|
-
--size-9: 4.5rem;
|
|
52
|
-
--size-10: 6rem;
|
|
53
|
-
|
|
54
|
-
--spacer-xs: var(--size-0);
|
|
55
|
-
--spacer-sm: var(--size-2);
|
|
56
|
-
--spacer: var(--size-4);
|
|
57
|
-
--spacer-lg: var(--size-7);
|
|
58
|
-
--spacer-xl: var(--size-9);
|
|
59
|
-
|
|
60
|
-
--border-radius: var(--size-1);
|
|
61
|
-
|
|
62
|
-
/* FONTS */
|
|
63
|
-
--font-family-main: serif;
|
|
64
|
-
--font-family-prose: var(--font-family-main);
|
|
65
|
-
--font-family-ui: var(--font-family-main);
|
|
66
|
-
|
|
67
|
-
--font-base: 13px;
|
|
68
|
-
--font-base: 15px;
|
|
69
|
-
--font-xs: calc(var(--font-base) * 0.8);
|
|
70
|
-
--font-sm: calc(var(--font-base) * 0.8);
|
|
71
|
-
--font-lg: min(calc(var(--font-base) + 1vw * 2), calc(var(--font-base) * 1.25));
|
|
72
|
-
--font-xl: min(calc(var(--font-lg) + 1vw * 2), calc(var(--font-lg) * 1.25));
|
|
73
|
-
--font-title: min(calc(var(--size-4) + 1vw * 2), var(--size-7));
|
|
74
|
-
--font-display: min(calc(var(--size-6) + 1vw * 2), var(--size-8));
|
|
75
|
-
--font-weight-light: 300;
|
|
76
|
-
--font-weight: normal;
|
|
77
|
-
--font-weight-bold: bold;
|
|
78
|
-
--rem: 16px;
|
|
79
|
-
|
|
80
|
-
--letter-spacing-sm: -0.025em;
|
|
81
|
-
--letter-spacing: 0.025em;
|
|
82
|
-
--letter-spacing-md: 0.05em;
|
|
83
|
-
--letter-spacing-lg: 0.1em;
|
|
84
|
-
|
|
85
|
-
--line-height-sm: 105%;
|
|
86
|
-
--line-height: 100%;
|
|
87
|
-
--line-height-md: 120%;
|
|
88
|
-
--line-height-lg: 160%;
|
|
89
|
-
|
|
90
|
-
--text-transform: none;
|
|
91
|
-
|
|
92
|
-
/* ANIMATION */
|
|
93
|
-
--speed-fast: 0.15s;
|
|
94
|
-
--speed: 0.3s;
|
|
95
|
-
--speed-slow: 0.75s;
|
|
96
|
-
|
|
97
|
-
/* COMPONENTS */
|
|
98
|
-
--dialog-width: 27rem;
|
|
99
|
-
--content-width: 40rem;
|
|
100
|
-
--content-width-lg: 72rem;
|
|
101
|
-
--navbar-height: calc(var(--size-8) + var(--size-4));
|
|
102
|
-
--navbar-width: calc(var(--size-8) + var(--size-4));
|
|
103
|
-
|
|
104
|
-
/* BORDERS */
|
|
105
|
-
--border-color: var(--gray-z-2);
|
|
106
|
-
--border-color-light: var(--gray-z-4);
|
|
107
|
-
--border-color-dark: var(--gray-z-1);
|
|
108
|
-
--border: 1px solid var(--border-color);
|
|
109
|
-
--border-dark: 1px solid var(--border-color-dark);
|
|
110
|
-
--border-shadow: 0 0 0 1px var(--border-color);
|
|
111
|
-
|
|
112
|
-
/* SHADOWS */
|
|
113
|
-
--shadow:
|
|
114
|
-
0 var(--size-0) var(--size-2) var(--gray-z-1-semi),
|
|
115
|
-
0 var(--size-2) var(--size-7) calc(-1 * var(--size-5)) var(--gray-z-3-semi);
|
|
116
|
-
|
|
117
|
-
/* BACKGROUNDS */
|
|
118
|
-
--blur: blur(var(--size-1));
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
/* DARK */
|
|
122
|
-
:root {
|
|
123
|
-
--background: var(--black);
|
|
124
|
-
--gray-z-0: var(--gray-950);
|
|
125
|
-
--gray-z-1: var(--gray-900);
|
|
126
|
-
--gray-z-2: var(--gray-800);
|
|
127
|
-
--gray-z-3: var(--gray-700);
|
|
128
|
-
--gray-z-4: var(--gray-600);
|
|
129
|
-
--gray-z-5: var(--gray-500);
|
|
130
|
-
--gray-z-6: var(--gray-400);
|
|
131
|
-
--gray-z-7: var(--gray-300);
|
|
132
|
-
--gray-z-8: var(--gray-200);
|
|
133
|
-
--gray-z-9: var(--gray-100);
|
|
134
|
-
--gray-z-10: var(--gray-50);
|
|
135
|
-
--color: var(--white);
|
|
136
|
-
--muted: var(--gray-z-6);
|
|
137
|
-
--muted-light: var(--gray-z-4);
|
|
138
|
-
|
|
139
|
-
--background-0: rgba(0, 0, 0, 0);
|
|
140
|
-
--background-semi: var(--black-semi);
|
|
141
|
-
--gray-z-0-semi: var(--gray-950-semi);
|
|
142
|
-
--gray-z-1-semi: var(--gray-900-semi);
|
|
143
|
-
--gray-z-2-semi: var(--gray-800-semi);
|
|
144
|
-
--gray-z-3-semi: var(--gray-700-semi);
|
|
145
|
-
--gray-z-4-semi: var(--gray-600-semi);
|
|
146
|
-
--gray-z-5-semi: var(--gray-500-semi);
|
|
147
|
-
--gray-z-6-semi: var(--gray-400-semi);
|
|
148
|
-
--gray-z-7-semi: var(--gray-300-semi);
|
|
149
|
-
--gray-z-8-semi: var(--gray-200-semi);
|
|
150
|
-
--gray-z-9-semi: var(--gray-100-semi);
|
|
151
|
-
--gray-z-10-semi: var(--gray-50-semi);
|
|
152
|
-
--color-semi: var(--white-semi);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
/* LIGHT */
|
|
156
|
-
.lightmode {
|
|
157
|
-
--background: var(--white);
|
|
158
|
-
--gray-z-0: var(--gray-50);
|
|
159
|
-
--gray-z-1: var(--gray-100);
|
|
160
|
-
--gray-z-2: var(--gray-200);
|
|
161
|
-
--gray-z-3: var(--gray-300);
|
|
162
|
-
--gray-z-4: var(--gray-400);
|
|
163
|
-
--gray-z-5: var(--gray-500);
|
|
164
|
-
--gray-z-6: var(--gray-600);
|
|
165
|
-
--gray-z-7: var(--gray-700);
|
|
166
|
-
--gray-z-8: var(--gray-800);
|
|
167
|
-
--gray-z-9: var(--gray-900);
|
|
168
|
-
--gray-z-10: var(--gray-950);
|
|
169
|
-
--color: var(--black);
|
|
170
|
-
|
|
171
|
-
--background-0: rgba(255, 255, 255, 0);
|
|
172
|
-
--background-semi: var(--white-semi);
|
|
173
|
-
--gray-z-0-semi: var(--gray-50-semi);
|
|
174
|
-
--gray-z-1-semi: var(--gray-100-semi);
|
|
175
|
-
--gray-z-2-semi: var(--gray-200-semi);
|
|
176
|
-
--gray-z-3-semi: var(--gray-300-semi);
|
|
177
|
-
--gray-z-4-semi: var(--gray-400-semi);
|
|
178
|
-
--gray-z-5-semi: var(--gray-500-semi);
|
|
179
|
-
--gray-z-6-semi: var(--gray-600-semi);
|
|
180
|
-
--gray-z-7-semi: var(--gray-700-semi);
|
|
181
|
-
--gray-z-8-semi: var(--gray-800-semi);
|
|
182
|
-
--gray-z-9-semi: var(--gray-900-semi);
|
|
183
|
-
--gray-z-10-semi: var(--gray-950-semi);
|
|
184
|
-
--color-semi: var(--black-semi);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
/* SCALING */
|
|
188
|
-
@media (--md) {
|
|
189
|
-
:root {
|
|
190
|
-
--font-sm: calc(var(--size-3) + var(--size-0));
|
|
191
|
-
}
|
|
192
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* Here we import the individual variable files.
|
|
3
|
+
* They are thematically grouped. Note that the order matters,
|
|
4
|
+
* since some files depend on others.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
@import "./variables/colors.css";
|
|
8
|
+
@import "./variables/sizes.css";
|
|
9
|
+
@import "./variables/fonts.css";
|
|
10
|
+
@import "./variables/borders.css";
|
|
11
|
+
@import "./variables/effects.css";
|
|
12
|
+
@import "./variables/animations.css";
|
|
13
|
+
|
|
14
|
+
@import "./variables/ui.css";
|
|
15
|
+
@import "./variables/components.css";
|
|
16
|
+
@import "./variables/layout.css";
|
|
193
17
|
|
|
@@ -12,15 +12,10 @@ wcm-modal {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
/* Metamask */
|
|
15
|
-
.
|
|
15
|
+
.install-model {
|
|
16
16
|
> div:first-child {
|
|
17
17
|
opacity: 1 !important;
|
|
18
|
-
background:
|
|
19
|
-
45deg,
|
|
20
|
-
var(--gray-z-0-semi),
|
|
21
|
-
var(--gray-z-1-semi),
|
|
22
|
-
var(--gray-z-2-semi)
|
|
23
|
-
) !important;
|
|
18
|
+
background: var(--backdrop-background-color) !important;
|
|
24
19
|
backdrop-filter: var(--blur) !important;
|
|
25
20
|
}
|
|
26
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<header
|
|
2
|
+
<header>
|
|
3
3
|
<ClientOnly>
|
|
4
4
|
<Breadcrumbs :items="breadcrumbs" />
|
|
5
5
|
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
|
|
16
16
|
<script setup>
|
|
17
17
|
import { useAccount } from '@wagmi/vue'
|
|
18
|
-
import { useWindowScroll } from '@vueuse/core'
|
|
19
18
|
|
|
20
19
|
const { isConnected, address } = useAccount()
|
|
21
20
|
const appBreadcumbs = useAppBreadcrumb()
|
|
@@ -34,18 +33,11 @@ const breadcrumbs = computed(() => {
|
|
|
34
33
|
|
|
35
34
|
return all
|
|
36
35
|
})
|
|
37
|
-
|
|
38
|
-
const { y } = useWindowScroll()
|
|
39
36
|
</script>
|
|
40
37
|
|
|
41
38
|
<style scoped>
|
|
42
39
|
header {
|
|
43
40
|
height: var(--navbar-height);
|
|
44
|
-
position: fixed;
|
|
45
|
-
z-index: 999;
|
|
46
|
-
top: 0;
|
|
47
|
-
left: 0;
|
|
48
|
-
right: 0;
|
|
49
41
|
display: flex;
|
|
50
42
|
align-items: center;
|
|
51
43
|
justify-content: space-between;
|
|
@@ -79,21 +71,6 @@ header {
|
|
|
79
71
|
display: block;
|
|
80
72
|
}
|
|
81
73
|
}
|
|
82
|
-
|
|
83
|
-
:deep(> .button:last-child) {
|
|
84
|
-
margin-right: calc(-1 * var(--size-3));
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&:has(+ main > .frame.full) {
|
|
88
|
-
border-color: var(--border-color) !important;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/* COLORS */
|
|
93
|
-
header {
|
|
94
|
-
background: var(--background-semi);
|
|
95
|
-
backdrop-filter: blur(var(--size-1));
|
|
96
|
-
border-bottom: var(--border);
|
|
97
|
-
border-color: transparent;
|
|
98
74
|
}
|
|
99
75
|
</style>
|
|
76
|
+
|
|
@@ -33,7 +33,7 @@ defineProps({
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
> span > a {
|
|
36
|
-
color: var(--
|
|
36
|
+
color: var(--muted);
|
|
37
37
|
transition: all var(--speed);
|
|
38
38
|
|
|
39
39
|
&.router-link-active-exact,
|
|
@@ -44,7 +44,7 @@ defineProps({
|
|
|
44
44
|
|
|
45
45
|
> span:not(:last-child):after {
|
|
46
46
|
content: '/';
|
|
47
|
-
color: var(--
|
|
47
|
+
color: var(--);
|
|
48
48
|
margin-left: var(--spacer-sm);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
@@ -16,17 +16,21 @@ defineProps({
|
|
|
16
16
|
|
|
17
17
|
<style>
|
|
18
18
|
.button {
|
|
19
|
+
position: relative;
|
|
19
20
|
min-width: fit-content;
|
|
20
21
|
width: fit-content;
|
|
21
|
-
|
|
22
|
-
background: var(--background);
|
|
23
|
-
border: var(--border);
|
|
24
|
-
position: relative;
|
|
22
|
+
|
|
25
23
|
display: inline-flex;
|
|
26
|
-
gap: var(--size-2);
|
|
27
24
|
justify-content: center;
|
|
28
25
|
align-items: center;
|
|
29
|
-
|
|
26
|
+
gap: var(--ui-padding-x);
|
|
27
|
+
letter-spacing: var(--ui-letter-spacing);
|
|
28
|
+
line-height: var(--ui-line-height);
|
|
29
|
+
|
|
30
|
+
background: var(--button-background);
|
|
31
|
+
padding: var(--ui-padding-y) var(--ui-padding-x);
|
|
32
|
+
border: var(--button-border);
|
|
33
|
+
border-radius: var(--button-border-radius);
|
|
30
34
|
|
|
31
35
|
&.non-interactive,
|
|
32
36
|
&[disabled]:not([disabled="false"]) {
|
|
@@ -37,58 +41,36 @@ defineProps({
|
|
|
37
41
|
}
|
|
38
42
|
|
|
39
43
|
&:--highlight {
|
|
40
|
-
background: var(--
|
|
44
|
+
background: var(--button-background-highlight);
|
|
41
45
|
}
|
|
42
46
|
|
|
43
47
|
> span {
|
|
44
48
|
display: flex;
|
|
45
|
-
gap: var(--
|
|
49
|
+
gap: var(--ui-padding-x);
|
|
50
|
+
line-height: var(--ui-line-height);
|
|
46
51
|
justify-content: center;
|
|
47
52
|
text-align: center;
|
|
48
53
|
align-items: center;
|
|
49
54
|
width: 100%;
|
|
50
55
|
height: 100%;
|
|
51
|
-
|
|
52
|
-
.icon {
|
|
53
|
-
width: var(--size-4);
|
|
54
|
-
height: var(--size-4);
|
|
55
|
-
}
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
&.
|
|
59
|
-
|
|
60
|
-
text-align: left;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&.block {
|
|
64
|
-
width: 100%;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&.small {
|
|
68
|
-
padding: calc(var(--size-1) + var(--size-0)) var(--size-3);
|
|
58
|
+
&.small,
|
|
59
|
+
&.small > * {
|
|
69
60
|
font-size: var(--font-sm);
|
|
70
61
|
min-height: 0;
|
|
71
|
-
|
|
72
|
-
> span {
|
|
73
|
-
.icon {
|
|
74
|
-
width: var(--size-3);
|
|
75
|
-
height: var(--size-3);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
62
|
+
gap: calc(var(--ui-padding-x) / 2);
|
|
78
63
|
}
|
|
79
64
|
|
|
80
65
|
&.link {
|
|
81
66
|
display: inline-flex;
|
|
82
67
|
align-self: baseline;
|
|
83
68
|
align-items: baseline;
|
|
84
|
-
gap: var(--size-0);
|
|
85
69
|
height: inherit;
|
|
86
|
-
min-height: 0;
|
|
87
|
-
/* margin: 0 var(--spacer-sm) !important; */
|
|
88
70
|
margin: 0 !important;
|
|
89
|
-
padding: 0
|
|
71
|
+
padding-top: 0;
|
|
72
|
+
padding-bottom: 0;
|
|
90
73
|
line-height: inherit;
|
|
91
|
-
border: 0;
|
|
92
74
|
|
|
93
75
|
.icon {
|
|
94
76
|
align-self: center;
|
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
</svg>
|
|
6
6
|
</template>
|
|
7
7
|
|
|
8
|
-
<script setup>
|
|
9
|
-
const { fill } = defineProps({
|
|
10
|
-
fill: {
|
|
11
|
-
type: String,
|
|
12
|
-
default: 'currentColor',
|
|
13
|
-
},
|
|
14
|
-
})
|
|
15
|
-
</script>
|
|
16
|
-
|
|
17
8
|
<style scoped>
|
|
18
9
|
svg {
|
|
19
10
|
height: var(--size-5);
|
|
@@ -27,13 +18,4 @@ svg {
|
|
|
27
18
|
transform-origin: center;
|
|
28
19
|
}
|
|
29
20
|
}
|
|
30
|
-
|
|
31
|
-
@keyframes spin {
|
|
32
|
-
from {
|
|
33
|
-
transform: rotate(0deg);
|
|
34
|
-
}
|
|
35
|
-
to {
|
|
36
|
-
transform: rotate(360deg);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
21
|
</style>
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
</figure>
|
|
6
6
|
<div class="text">
|
|
7
7
|
<div>
|
|
8
|
-
<h1>{{ collection.name }} <small>({{ collection.symbol }})</small></h1>
|
|
9
|
-
<p v-if="collection.description"
|
|
8
|
+
<h1>{{ collection.name || 'Unnamed Collection' }} <small v-if="collection.symbol">({{ collection.symbol }})</small></h1>
|
|
9
|
+
<p v-if="collection.description">
|
|
10
10
|
<ExpandableText :text="collection.description" />
|
|
11
11
|
</p>
|
|
12
12
|
</div>
|
|
13
13
|
|
|
14
|
-
<div>
|
|
15
|
-
<p
|
|
14
|
+
<div v-if="id">
|
|
15
|
+
<p>
|
|
16
16
|
<span>
|
|
17
17
|
By <NuxtLink :to="{ name: 'id', params: { id } }">{{ store.displayName(id) }}</NuxtLink>
|
|
18
18
|
</span>
|
|
@@ -31,7 +31,10 @@
|
|
|
31
31
|
:to="{ name: 'id-collection-mint', params: { id, collection: collection.address } }"
|
|
32
32
|
id="mint-new"
|
|
33
33
|
class="small"
|
|
34
|
-
>
|
|
34
|
+
>
|
|
35
|
+
<Icon type="add" />
|
|
36
|
+
<span>Mint New</span>
|
|
37
|
+
</Button>
|
|
35
38
|
</menu>
|
|
36
39
|
</div>
|
|
37
40
|
</header>
|
|
@@ -87,7 +90,7 @@ header.collection-intro {
|
|
|
87
90
|
|
|
88
91
|
h1 {
|
|
89
92
|
small {
|
|
90
|
-
color: var(--
|
|
93
|
+
color: var(--);
|
|
91
94
|
font-size: var(--font-base);
|
|
92
95
|
}
|
|
93
96
|
}
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<article class="collection-overview-card">
|
|
3
3
|
<Image v-if="collection.image" :src="collection.image" :alt="collection.name" />
|
|
4
|
+
|
|
4
5
|
<div class="text">
|
|
5
|
-
<div>
|
|
6
|
-
<h1
|
|
7
|
-
|
|
6
|
+
<div v-if="collection.name || collection.symbol || collection.description">
|
|
7
|
+
<h1 v-if="collection.name || collection.symbol">
|
|
8
|
+
<span>{{ collection.name }}</span>
|
|
9
|
+
<small v-if="collection.symbol">({{ collection.symbol }})</small>
|
|
10
|
+
</h1>
|
|
11
|
+
<p v-if="collection.description">{{ shortDescription }}</p>
|
|
8
12
|
</div>
|
|
9
13
|
|
|
10
14
|
<div>
|
|
11
15
|
<p>{{ collection.latestTokenId }} {{ pluralize('token', Number(collection.latestTokenId)) }} · Created at Block {{ collection.initBlock }}</p>
|
|
12
16
|
</div>
|
|
13
17
|
</div>
|
|
18
|
+
|
|
14
19
|
<CardLink
|
|
15
20
|
:to="{ name: 'id-collection', params: { id: collection.owner, collection: collection.address } }"
|
|
16
21
|
:title="`View ${collection.name}`"
|
|
@@ -32,10 +37,13 @@ article.collection-overview-card {
|
|
|
32
37
|
padding: var(--spacer);
|
|
33
38
|
gap: var(--spacer);
|
|
34
39
|
transition: all var(--speed);
|
|
40
|
+
border-radius: var(--card-border-radius);
|
|
41
|
+
background: var(--card-background);
|
|
35
42
|
border: var(--card-border);
|
|
36
43
|
|
|
37
44
|
&:has(> a:--highlight) {
|
|
38
|
-
background: var(--
|
|
45
|
+
background: var(--card-background-highlight);
|
|
46
|
+
border-color: var(--card-border-color-highlight);
|
|
39
47
|
}
|
|
40
48
|
|
|
41
49
|
@media (--sm) {
|
|
@@ -60,12 +68,12 @@ article.collection-overview-card {
|
|
|
60
68
|
}
|
|
61
69
|
|
|
62
70
|
> div:last-child {
|
|
63
|
-
color: var(--
|
|
71
|
+
color: var(--);
|
|
64
72
|
}
|
|
65
73
|
|
|
66
74
|
h1 {
|
|
67
75
|
small {
|
|
68
|
-
color: var(--
|
|
76
|
+
color: var(--);
|
|
69
77
|
font-size: var(--font-base);
|
|
70
78
|
}
|
|
71
79
|
}
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
}" skip-confirmation auto-close-success @complete="onComplete">
|
|
21
21
|
<template #start="{ start }">
|
|
22
22
|
<Button @click="start" class="small">
|
|
23
|
-
|
|
23
|
+
<Icon type="withdraw" />
|
|
24
|
+
<span>Withdraw ({{ balance.value }} {{ balance.format }})</span>
|
|
24
25
|
</Button>
|
|
25
26
|
</template>
|
|
26
27
|
</TransactionFlow>
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
<
|
|
4
|
-
|
|
2
|
+
<Teleport to="body">
|
|
3
|
+
<dialog ref="dialog" :class="class">
|
|
4
|
+
<slot />
|
|
5
|
+
</dialog>
|
|
6
|
+
</Teleport>
|
|
5
7
|
</template>
|
|
6
8
|
|
|
7
9
|
<script setup>
|
|
10
|
+
defineProps({ class: 'String' })
|
|
11
|
+
|
|
8
12
|
const dialog = ref()
|
|
9
13
|
|
|
10
14
|
const close = () => {
|
|
@@ -56,12 +60,7 @@ dialog {
|
|
|
56
60
|
}
|
|
57
61
|
|
|
58
62
|
&::backdrop {
|
|
59
|
-
background
|
|
60
|
-
45deg,
|
|
61
|
-
var(--gray-z-0-semi),
|
|
62
|
-
var(--gray-z-1-semi),
|
|
63
|
-
var(--gray-z-2-semi)
|
|
64
|
-
);
|
|
63
|
+
background: var(--dialog-background-color);
|
|
65
64
|
backdrop-filter: var(--blur);
|
|
66
65
|
pointer-events: none;
|
|
67
66
|
}
|