Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
liihuu committed Dec 1, 2024
1 parent 0db73aa commit c4968ce
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/config/en-US.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default defineConfig({
{ text: 'Customize', link: '/en-US/customize' },
{ text: 'Sponsor', link: '/en-US/sponsor' },
{
text: 'Next',
text: `${version}`,
items: [
{ text: '9.x Docs', link: 'https://v9.klinecharts.com/en-US' },
{ text: '8.x Docs', link: 'https://v8.klinecharts.com' }
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/config/zh-CN.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default defineConfig({
{ text: '定制', link: '/customize' },
{ text: '赞助', link: '/sponsor' },
{
text: 'Next',
text: `${version}`,
items: [
{ text: '9.x 文档', link: 'https://v9.klinecharts.com' },
{ text: '8.x 文档', link: 'https://v8.klinecharts.com/zh-CN' }
Expand Down
4 changes: 2 additions & 2 deletions docs/@views/Banner.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="banner" :class="{ 'top': y === 0 }" role="banner" v-if="isVisible">
<span v-if="lang === 'zh-CN'">🎉&nbsp;🎉&nbsp;🎉&nbsp;&nbsp;新版本即将发布。9.x 版本请访问 <strong><a target="_blank" href="https://v9.klinecharts.com">文档</a></strong>。</span>
<span v-else>🎉&nbsp;🎉&nbsp;🎉&nbsp;&nbsp;The new version is about to be released. Version 9.x please visit <strong><a target="_blank" href="https://v9.klinecharts.com">document</a></strong>.</span>
<span v-if="lang === 'zh-CN'">🎉&nbsp;🎉&nbsp;🎉&nbsp;&nbsp;v10.0.0-alpha1 已发布。</span>
<span v-else>🎉&nbsp;🎉&nbsp;🎉&nbsp;&nbsp;v10.0.0-alpha1 has been released.</span>
<button class="banner-close" @click.prevent="closeBanner">
<span class="close">&times;</span>
</button>
Expand Down

0 comments on commit c4968ce

Please sign in to comment.