File tree Expand file tree Collapse file tree 9 files changed +32
-12
lines changed Expand file tree Collapse file tree 9 files changed +32
-12
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div >
3
- <Search v-bind.sync =" searchQuery" v-if =" showSearchBar" />
4
- <Pagination hasMagicBtn replace :total =" total" v-model =" currentValue" />
5
- <GalleryCardList :items =" items" />
3
+ <Search v-bind.sync =" searchQuery" v-if =" showSearchBar" >
4
+ <Layout class =" mr-5" />
5
+ <b-field >
6
+ <Pagination
7
+ hasMagicBtn
8
+ simple
9
+ replace
10
+ :total =" total"
11
+ v-model =" currentValue"
12
+ />
13
+ </b-field >
14
+ </Search >
15
+ <GalleryCardList :items =" items" horizontalLayout />
6
16
<Pagination
7
17
class =" pt-5 pb-5"
8
18
replace
@@ -22,6 +32,7 @@ const components = {
22
32
GalleryCardList : () => import (' ./GalleryCardList.vue' ),
23
33
Pagination : () => import (' @/components/rmrk/Gallery/Pagination.vue' ),
24
34
Search : () => import (' @/components/rmrk/Gallery/Search/SearchBarCollection.vue' ),
35
+ Layout : () => import (' @/components/rmrk/Gallery/Layout.vue' ),
25
36
}
26
37
27
38
@Component ({ components })
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export default class Pagination extends Vue {
90
90
replaceUrl(value : string , key = ' page' ) {
91
91
this .$router
92
92
.replace ({
93
- name : String (this .$route .name ),
93
+ path : String (this .$route .path ),
94
94
query: { ... this .$route .query , [key ]: value },
95
95
})
96
96
.catch (console .warn /* Navigation Duplicate err fix later */ )
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ export default class SearchBar extends Vue {
122
122
replaceUrl(value : string , key = ' search' ): void {
123
123
this .$router
124
124
.replace ({
125
- name : String (this .$route .name ),
125
+ path : String (this .$route .path ),
126
126
query: { ... this .$route .query , search: this .searchQuery , [key ]: value }
127
127
})
128
128
.catch (console .warn /* Navigation Duplicate err fix later */ )
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ export default class SearchBar extends Vue {
113
113
replaceUrl(value : string , key = ' search' ): void {
114
114
this .$router
115
115
.replace ({
116
- name : String (this .$route .name ),
116
+ path : String (this .$route .path ),
117
117
query: {
118
118
... this .$route .query ,
119
119
search: this .searchQuery ,
Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ export default class SeriesTable extends Vue {
356
356
@Watch (' nbRows' )
357
357
public onTopRowsChange(value : string ) {
358
358
this .$router .replace ({
359
- name : String (this .$route .name ),
359
+ path : String (this .$route .path ),
360
360
query: { ... this .$route .query , rows: value },
361
361
}).catch ((e ) => console .warn (e ))
362
362
this .fetchCollectionsSeries (Number (value ))
@@ -365,7 +365,7 @@ export default class SeriesTable extends Vue {
365
365
@Watch (' nbDays' )
366
366
public onTopDaysChange(value : string ) {
367
367
this .$router .replace ({
368
- name : String (this .$route .name ),
368
+ path : String (this .$route .path ),
369
369
query: { ... this .$route .query , period: value },
370
370
}).catch ((e ) => console .warn (e ))
371
371
}
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ export default class Identity extends mixins(InlineMixin) {
151
151
152
152
.twitter-link .icon {
153
153
vertical-align : middle ;
154
- margin : auto .5 em auto 0 ;
154
+ margin : auto 0 auto 0 ;
155
155
}
156
156
157
157
.overflowWrap {
Original file line number Diff line number Diff line change 187
187
"UPDATED_AT_ASC" : " Long time no interaction" ,
188
188
"PRICE_DESC" : " From most expensive" ,
189
189
"PRICE_ASC" : " From cheaper" ,
190
- "listed" : " BUY NOW "
190
+ "listed" : " YOLO "
191
191
},
192
192
"mint" : {
193
193
"submit" : " Click to create NFT(s)" ,
Original file line number Diff line number Diff line change 99
99
>
100
100
Grants
101
101
</b-button >
102
+ <b-button
103
+ tag =" a"
104
+ href =" https://en.wikipedia.org/wiki/Non-fungible_token"
105
+ target =" _blank"
106
+ rel =" noopener noreferrer"
107
+ type =" is-primary"
108
+ >
109
+ What are NFTs?
110
+ </b-button >
102
111
</div >
103
112
</div >
104
113
<div class =" column has-text-right has-text-left-mobile" >
Original file line number Diff line number Diff line change @@ -340,7 +340,7 @@ export default class Transfer extends mixins(
340
340
queryValue .usdamount = this .$route .query .usdamount
341
341
}
342
342
this .$router .replace ({
343
- name : String (this .$route .name ),
343
+ path : String (this .$route .path ),
344
344
query: queryValue ,
345
345
})
346
346
}
@@ -355,7 +355,7 @@ export default class Transfer extends mixins(
355
355
queryValue .target = this .$route .query .target
356
356
}
357
357
this .$router .replace ({
358
- name : String (this .$route .name ),
358
+ path : String (this .$route .path ),
359
359
query: queryValue ,
360
360
})
361
361
}
You can’t perform that action at this time.
0 commit comments