Skip to content

Commit 6b4e397

Browse files
authored
Merge branch 'main-nuxt' into refactoring/store
2 parents 13ebb8a + 5c4c217 commit 6b4e397

File tree

9 files changed

+32
-12
lines changed

9 files changed

+32
-12
lines changed

components/rmrk/Gallery/PaginatedCardList.vue

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
<template>
22
<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 />
616
<Pagination
717
class="pt-5 pb-5"
818
replace
@@ -22,6 +32,7 @@ const components = {
2232
GalleryCardList: () => import('./GalleryCardList.vue'),
2333
Pagination: () => import('@/components/rmrk/Gallery/Pagination.vue'),
2434
Search: () => import('@/components/rmrk/Gallery/Search/SearchBarCollection.vue'),
35+
Layout: () => import('@/components/rmrk/Gallery/Layout.vue'),
2536
}
2637
2738
@Component({ components })

components/rmrk/Gallery/Pagination.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default class Pagination extends Vue {
9090
replaceUrl(value: string, key = 'page') {
9191
this.$router
9292
.replace({
93-
name: String(this.$route.name),
93+
path: String(this.$route.path),
9494
query: { ...this.$route.query, [key]: value },
9595
})
9696
.catch(console.warn /*Navigation Duplicate err fix later */)

components/rmrk/Gallery/Search/SearchBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export default class SearchBar extends Vue {
122122
replaceUrl(value: string, key = 'search'): void {
123123
this.$router
124124
.replace({
125-
name: String(this.$route.name),
125+
path: String(this.$route.path),
126126
query: { ...this.$route.query, search: this.searchQuery, [key]: value }
127127
})
128128
.catch(console.warn /*Navigation Duplicate err fix later */)

components/rmrk/Gallery/Search/SearchBarCollection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export default class SearchBar extends Vue {
113113
replaceUrl(value: string, key = 'search'): void {
114114
this.$router
115115
.replace({
116-
name: String(this.$route.name),
116+
path: String(this.$route.path),
117117
query: {
118118
...this.$route.query,
119119
search: this.searchQuery,

components/series/SeriesTable.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ export default class SeriesTable extends Vue {
356356
@Watch('nbRows')
357357
public onTopRowsChange(value: string) {
358358
this.$router.replace({
359-
name: String(this.$route.name),
359+
path: String(this.$route.path),
360360
query: { ...this.$route.query, rows: value },
361361
}).catch((e) => console.warn(e))
362362
this.fetchCollectionsSeries(Number(value))
@@ -365,7 +365,7 @@ export default class SeriesTable extends Vue {
365365
@Watch('nbDays')
366366
public onTopDaysChange(value: string) {
367367
this.$router.replace({
368-
name: String(this.$route.name),
368+
path: String(this.$route.path),
369369
query: { ...this.$route.query, period: value },
370370
}).catch((e) => console.warn(e))
371371
}

components/shared/format/Identity.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export default class Identity extends mixins(InlineMixin) {
151151
152152
.twitter-link .icon {
153153
vertical-align: middle;
154-
margin: auto .5em auto 0;
154+
margin: auto 0 auto 0;
155155
}
156156
157157
.overflowWrap {

langDir/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
"UPDATED_AT_ASC": "Long time no interaction",
188188
"PRICE_DESC": "From most expensive",
189189
"PRICE_ASC": "From cheaper",
190-
"listed": "BUY NOW"
190+
"listed": "YOLO"
191191
},
192192
"mint": {
193193
"submit": "Click to create NFT(s)",

pages/index.vue

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,15 @@
9999
>
100100
Grants
101101
</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>
102111
</div>
103112
</div>
104113
<div class="column has-text-right has-text-left-mobile">

pages/transfer.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ export default class Transfer extends mixins(
340340
queryValue.usdamount = this.$route.query.usdamount
341341
}
342342
this.$router.replace({
343-
name: String(this.$route.name),
343+
path: String(this.$route.path),
344344
query: queryValue,
345345
})
346346
}
@@ -355,7 +355,7 @@ export default class Transfer extends mixins(
355355
queryValue.target = this.$route.query.target
356356
}
357357
this.$router.replace({
358-
name: String(this.$route.name),
358+
path: String(this.$route.path),
359359
query: queryValue,
360360
})
361361
}

0 commit comments

Comments
 (0)