Skip to content

Commit

Permalink
✨Add disclaimer links in mint nft
Browse files Browse the repository at this point in the history
  • Loading branch information
nwingt authored Feb 20, 2025
1 parent 3c9496d commit 587612a
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion pages/mint-nft/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@
color: 'green',
variant: 'outline',
click: onClickHelpZh,
},{
label: 'Listing Disclaimer',
color: 'green',
variant: 'outline',
click: onClickDisclaimerEn,
},{
label: '上架須知',
color: 'green',
varient: 'outline',
click: onClickDisclaimerZh,
}]"
/>
<UDivider :label="`Steps ${step} / 4`" />
Expand Down Expand Up @@ -444,7 +454,7 @@ import { useWalletStore } from '~/stores/wallet'
import { downloadFile, convertArrayOfObjectsToCSV, sleep } from '~/utils'
import { NFT_DEFAULT_MINT_AMOUNT } from '~/constant'
const { LCD_URL, APP_LIKE_CO_URL, LIKER_LAND_URL } = useRuntimeConfig().public
const { LCD_URL, APP_LIKE_CO_URL, LIKER_LAND_URL, DISCLAIMER_URL_EN, DISCLAIMER_URL_ZH } = useRuntimeConfig().public
const router = useRouter()
const route = useRoute()
Expand Down Expand Up @@ -543,6 +553,16 @@ function onClickHelpZh () {
window.open('https://docs.like.co/zh/depub/nft-book-press', '_blank')
}
function onClickDisclaimerEn () {
useTrackEvent('mint_nft_click_disclaimer_en')
window.open('https://link.liker.land/book-press-disclaimer-en', '_blank')
}
function onClickDisclaimerZh () {
useTrackEvent('mint_nft_click_disclaimer_zh')
window.open('https://link.liker.land/book-press-disclaimer-zh', '_blank')
}
async function onISCNIDInput () {
try {
isLoading.value = true
Expand Down

0 comments on commit 587612a

Please sign in to comment.