mirror of
https://github.com/tauri-apps/tauri-docs.git
synced 2026-01-31 00:35:16 +01:00
fix: changing beta.tauri.app to v2.tauri.app (#2084)
This commit is contained in:
@@ -57,7 +57,7 @@ const navbarItems = [
|
||||
|
||||
{
|
||||
label: 'Blog',
|
||||
href: 'https://beta.tauri.app/blog',
|
||||
href: 'https://v2.tauri.app/blog',
|
||||
position: 'left',
|
||||
},
|
||||
{
|
||||
@@ -131,7 +131,7 @@ const navbarItems = [
|
||||
className: 'navbarIcon versionIcon',
|
||||
dropdownItemsAfter: [
|
||||
{
|
||||
href: 'https://beta.tauri.app/',
|
||||
href: 'https://v2.tauri.app/',
|
||||
label: 'v2 (Beta)',
|
||||
target: '_self',
|
||||
},
|
||||
@@ -187,7 +187,7 @@ const footerLinks = [
|
||||
items: [
|
||||
{
|
||||
label: 'Blog',
|
||||
href: 'https://beta.tauri.app/blog',
|
||||
href: 'https://v2.tauri.app/blog',
|
||||
},
|
||||
{
|
||||
label: 'OpenCollective',
|
||||
@@ -250,7 +250,7 @@ async function siteConfig() {
|
||||
},
|
||||
announcementBar: {
|
||||
content:
|
||||
"<b>🚀 The <a id='announcement-link' href='https://beta.tauri.app/blog/tauri-2-0-0-beta/'>Beta for Tauri 2.0</a> has launched!</b>",
|
||||
"<b>🚀 The <a id='announcement-link' href='https://v2.tauri.app/blog/tauri-2-0-0-beta/'>Beta for Tauri 2.0</a> has launched!</b>",
|
||||
backgroundColor: 'var(--ifm-color-primary)',
|
||||
textColor: 'var(--ifm-button-color)',
|
||||
},
|
||||
|
||||
@@ -117,8 +117,8 @@ to = "/zh-cn/:splat"
|
||||
|
||||
[[redirects]]
|
||||
from = "/2/*"
|
||||
to = "https://beta.tauri.app/2/:splat"
|
||||
to = "https://v2.tauri.app/2/:splat"
|
||||
|
||||
[[redirects]]
|
||||
from = "/blog/*"
|
||||
to = "https://beta.tauri.app/blog/:splat"
|
||||
to = "https://v2.tauri.app/blog/:splat"
|
||||
|
||||
Reference in New Issue
Block a user