From bfe546c767b6da93cb20a011d649d301ab207b74 Mon Sep 17 00:00:00 2001 From: William Chong Date: Fri, 15 Nov 2024 16:18:03 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=9A=B8=20Make=20author=20in=20card=20?= =?UTF-8?q?clickable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/NFTBook/ItemCardV2.vue | 28 +++++++++++++++++++++--- src/components/SiteHeader.vue | 4 +++- src/pages/gutenberg/free-audio-books.vue | 3 +++ 3 files changed, 31 insertions(+), 4 deletions(-) diff --git a/src/components/NFTBook/ItemCardV2.vue b/src/components/NFTBook/ItemCardV2.vue index 4aa757f03..7f56d3d3c 100644 --- a/src/components/NFTBook/ItemCardV2.vue +++ b/src/components/NFTBook/ItemCardV2.vue @@ -20,14 +20,36 @@ @click.native="$emit('click-cover', $event)" /> -
{{ productName }} -
+
- {{ (iscnWorkAuthor || creatorDisplayName) | ellipsis }} + + {{ iscnWorkAuthor | ellipsis }} + + + {{ creatorDisplayName | ellipsis }} +
diff --git a/src/components/SiteHeader.vue b/src/components/SiteHeader.vue index 21b848a9d..8f0e37d76 100644 --- a/src/components/SiteHeader.vue +++ b/src/components/SiteHeader.vue @@ -26,7 +26,9 @@ :to=" localeLocation({ name: 'store', - ll_medium: 'header_store_button', + query: { + ll_medium: 'header_store_button', + }, }) " preset="tertiary" diff --git a/src/pages/gutenberg/free-audio-books.vue b/src/pages/gutenberg/free-audio-books.vue index c998f580e..1320593c2 100644 --- a/src/pages/gutenberg/free-audio-books.vue +++ b/src/pages/gutenberg/free-audio-books.vue @@ -337,6 +337,9 @@ export default { this.$router.push( this.localeLocation({ name: 'store', + query: { + ll_medium: 'gutenberg', + }, }) ); }, From 85c547d10be234f3a8eb4becb0db2abcd3a21fdf Mon Sep 17 00:00:00 2001 From: William Chong Date: Fri, 15 Nov 2024 18:37:20 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=88=20Pass=20ll=5Fmedium=20in=20nf?= =?UTF-8?q?t=20card?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/NFTBook/ItemCardV2.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/NFTBook/ItemCardV2.vue b/src/components/NFTBook/ItemCardV2.vue index 7f56d3d3c..54967778b 100644 --- a/src/components/NFTBook/ItemCardV2.vue +++ b/src/components/NFTBook/ItemCardV2.vue @@ -33,7 +33,10 @@ :to=" localeLocation({ name: 'store', - query: { q: iscnWorkAuthor }, + query: { + q: iscnWorkAuthor, + ll_medium: linkMedium, + }, }) " > @@ -45,6 +48,7 @@ localeLocation({ name: 'id', params: { id: productOwner }, + query: { ll_medium: linkMedium }, }) " >