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