Skip to content

Commit

Permalink
💬 Update footer links (#1974)
Browse files Browse the repository at this point in the history
* 💬 Use book press url for publish cta

* 🔥 Remove articles in footer

* 💬 Update FAQ link

* 💬 Update blog link

* 💬 Update footer links

* 🚨 Fix lint
  • Loading branch information
williamchong authored Dec 4, 2024
1 parent 4b4ef47 commit 8252130
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 34 deletions.
2 changes: 1 addition & 1 deletion src/components/CommunityCTA/CommunityCTA.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<li>
<a
class="block transition-colors rounded-full bg-like-cyan-light hover:bg-like-cyan"
href="https://blog.like.co?utm_medium=web&utm_source=likerlandweb&utm_campaign=footer"
href="https://blog.liker.land?utm_medium=web&utm_source=likerlandweb&utm_campaign=footer"
target="_blank"
rel="noopener"
>
Expand Down
45 changes: 25 additions & 20 deletions src/components/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,6 @@
{{ $t('footer_nav_mint_nft') }}
</a>
</div>
<div class="grid grid-flow-row gap-y-[16px]">
<NuxtLink
class="hover:underline"
:to="localeLocation({ name: 'store-articles' })"
@click.native="handleClickButton('store_articles')"
>
{{ $t('footer_nav_store_articles') }}
</NuxtLink>
</div>
</div>
</div>
<div class="flex items-start self-start">
Expand All @@ -116,15 +107,16 @@
text-like-green
"
>
<a class="hover:underline" href="https://blog.liker.land">{{
$t('footer_nav_blog')
}}</a>
<button class="cursor-pointer hover:underline" @click="handleClickHelp">
{{ $t('footer_nav_help') }}
</button>
<a class="hover:underline" :href="$t('footer_nav_doc_link')">{{
$t('footer_nav_doc')
}}</a>
<a
class="hover:underline"
href="https://blog.liker.land?utm_source=likerland"
>{{ $t('footer_nav_blog') }}</a
>
<a
class="hover:underline"
href="https://newsletter.liker.land?utm_source=likerland"
>{{ $t('footer_nav_newsletter') }}</a
>
<a class="hover:underline" :href="$t('footer_nav_faq_link')">{{
$t('footer_nav_faq')
}}</a>
Expand All @@ -133,6 +125,9 @@
href="https://likecoin.notion.site/liker-land-Terms-of-Service-dfcc13cf114e4fbc809c25559ce1d0e8?pvs=4"
>{{ $t('footer_nav_tnc') }}</a
>
<button class="cursor-pointer hover:underline" @click="handleClickHelp">
{{ $t('footer_nav_help') }}
</button>
</div>
<Dialog
v-model="isOpenAboutTeam"
Expand Down Expand Up @@ -175,7 +170,7 @@ import Logo from '~/assets/icons/logo.svg?inline';
import { logTrackerEvent } from '~/util/EventLogger';
import crispMixin from '~/mixins/crisp';
import { APP_LIKE_CO_URL_BASE } from '~/constant';
import { BOOK_PRESS_BASE } from '~/constant';
import Dialog from './Dialog';
Expand All @@ -193,7 +188,7 @@ export default {
},
computed: {
mintNftURL() {
return `${APP_LIKE_CO_URL_BASE}/nft`;
return BOOK_PRESS_BASE;
},
},
mounted() {
Expand All @@ -216,6 +211,16 @@ export default {
if (this.$crisp) {
this.showCrisp();
this.$crisp.push(['do', 'chat:open']);
} else if (window.CRISP_WEBSITE_ID) {
window.open(
`https://go.crisp.chat/chat/embed/?website_id=${
window.CRISP_WEBSITE_ID
}`
);
} else {
window.open(
'https://discord.com/channels/763001015712350231/814761730349596712'
);
}
},
handleClickButton(buttonName) {
Expand Down
4 changes: 4 additions & 0 deletions src/constant/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ export const LIKECOIN_NFT_MARKETPLACE_BASE = IS_TESTNET
? 'https://likecoin-nft-marketplace-testnet.netlify.app'
: 'https://likecoin.github.io/likecoin-nft-marketplace';

export const BOOK_PRESS_BASE = IS_TESTNET
? 'https://likecoin-nft-book-press-testnet.netlify.app'
: 'https://publish.liker.land';

export const LIKE_CO_THUMBNAIL_FN_BASE = 'https://static.like.co';

export const LIKECOIN_LOGOUT_POPUP_URL = IS_TESTNET
Expand Down
9 changes: 3 additions & 6 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,15 +266,12 @@
"footer_nav_about_nft_book": "About Liker Land eBook",
"footer_nav_about_wnft": "About Writing NFT",
"footer_nav_blog": "Blog",
"footer_nav_civic_liker": "Civic Liker",
"footer_nav_doc": "Doc",
"footer_nav_doc_link": "https://docs.like.co",
"footer_nav_faq": "FAQ",
"footer_nav_faq_link": "https://docs.like.co/general-guides/writing-nft",
"footer_nav_faq_link": "https://docs.like.co/depub/ebook?utm_source=likerland&utm_medium=footer",
"footer_nav_help": "Help",
"footer_nav_mint_nft": "Publish eBook",
"footer_nav_store_articles": "Articles",
"footer_nav_store_books": "Books",
"footer_nav_newsletter": "Newsletter",
"footer_nav_store_books": "Bookstore",
"footer_nav_tnc": "Terms",
"footer_nav_writing_nft": "Writing NFT",
"footer_subscribe_newsletter_button": "Subscribe Newsletter",
Expand Down
11 changes: 4 additions & 7 deletions src/locales/zh-Hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,15 +266,12 @@
"footer_nav_about_nft_book": "關於 Liker Land 電子書",
"footer_nav_about_wnft": "關於 Writing NFT",
"footer_nav_blog": "部落格",
"footer_nav_civic_liker": "讚賞公民",
"footer_nav_doc": "參考文檔",
"footer_nav_doc_link": "https://docs.like.co/v/zh/",
"footer_nav_faq": "常見問題",
"footer_nav_faq_link": "https://docs.like.co/v/zh/general-guides/writing-nft",
"footer_nav_help": "幫助",
"footer_nav_faq_link": "https://docs.like.co/zh/depub/ebook?utm_source=likerland&utm_medium=footer",
"footer_nav_help": "聯絡我們",
"footer_nav_mint_nft": "發行電子書",
"footer_nav_store_articles": "熱門文章",
"footer_nav_store_books": "書店",
"footer_nav_newsletter": "電子報",
"footer_nav_store_books": "書店首頁",
"footer_nav_tnc": "使用條款",
"footer_nav_writing_nft": "Writing NFT",
"footer_subscribe_newsletter_button": "訂閱電子報",
Expand Down

0 comments on commit 8252130

Please sign in to comment.