mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 08:36:44 +00:00
chore: update link
This commit is contained in:
parent
8dd8303f21
commit
e69d33a09c
@ -8,12 +8,12 @@
|
||||
*/
|
||||
|
||||
import { css, cx } from '@emotion/css';
|
||||
import { parseHTML } from '@nocobase/utils/client';
|
||||
import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useToken } from '../style';
|
||||
import { usePlugin } from '../application';
|
||||
import { parseHTML } from '@nocobase/utils/client';
|
||||
import { useCurrentAppInfo } from '../appInfo/CurrentAppInfoProvider';
|
||||
import { usePlugin } from '../application';
|
||||
import { useToken } from '../style';
|
||||
|
||||
export const PoweredBy = () => {
|
||||
const { i18n } = useTranslation();
|
||||
@ -22,7 +22,7 @@ export const PoweredBy = () => {
|
||||
const data = useCurrentAppInfo();
|
||||
const urls = {
|
||||
'en-US': 'https://www.nocobase.com',
|
||||
'zh-CN': 'https://cn.nocobase.com',
|
||||
'zh-CN': 'https://www.nocobase.com/cn/',
|
||||
};
|
||||
const style = css`
|
||||
text-align: center;
|
||||
|
@ -49,7 +49,7 @@ const SettingsMenu: React.FC<{
|
||||
key: 'homePage',
|
||||
label: (
|
||||
<a
|
||||
href={isSimplifiedChinese ? 'https://cn.nocobase.com/' : 'https://www.nocobase.com'}
|
||||
href={isSimplifiedChinese ? 'https://www.nocobase.com/cn/' : 'https://www.nocobase.com'}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
@ -73,11 +73,7 @@ const SettingsMenu: React.FC<{
|
||||
key: 'license',
|
||||
label: (
|
||||
<a
|
||||
href={
|
||||
isSimplifiedChinese
|
||||
? 'https://cn.nocobase.com/agreement-cn.html'
|
||||
: 'https://www.nocobase.com/agreement.html'
|
||||
}
|
||||
href={isSimplifiedChinese ? 'https://www.nocobase.com/cn/agreement' : 'https://www.nocobase.com/en/agreement'}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user