@@ -216,15 +222,16 @@
@@ -272,7 +279,7 @@ import { ellipsis } from '~/util/ui';
import nftMixin from '~/mixins/nft';
-const PRESET_TYPE = {
+export const PRESET_TYPE = {
SHELF: 'shelf', // (Landing page) shelf style
CAMPAIGN: 'campaign', // (Landing page) like-green bg
COMPACT: 'compact', // (Landing page) compact style
diff --git a/src/components/NFTBook/SpecTableItemAccessMethod.vue b/src/components/NFTBook/SpecTableItemAccessMethod.vue
index 1313f5e91..04d6db29f 100644
--- a/src/components/NFTBook/SpecTableItemAccessMethod.vue
+++ b/src/components/NFTBook/SpecTableItemAccessMethod.vue
@@ -3,7 +3,7 @@
-
+
@@ -18,13 +18,13 @@ export default {
type: Boolean,
default: false,
},
- isCampaign: {
- type: Boolean,
- default: false,
+ preset: {
+ type: String,
+ default: undefined,
},
},
computed: {
- label() {
+ value() {
return this.isDownloadable
? this.$t('nft_details_page_label_access_methods_downloadable')
: this.$t('nft_details_page_label_access_methods_web_only');
diff --git a/src/components/NFTBook/SpecTableItemAvailableFormat.vue b/src/components/NFTBook/SpecTableItemAvailableFormat.vue
index 2a0aced9d..c2065a550 100644
--- a/src/components/NFTBook/SpecTableItemAvailableFormat.vue
+++ b/src/components/NFTBook/SpecTableItemAvailableFormat.vue
@@ -1,7 +1,7 @@
-
+