|
@@ -63,7 +63,7 @@ const CustomizeModal: FC<IShareLinkProps> = ({
|
|
|
<div className='flex flex-col'>
|
|
|
<div className='text-gray-900'>{t(`${prefixCustomize}.way1.step1`)}</div>
|
|
|
<div className='text-gray-500 text-xs mt-1 mb-2'>{t(`${prefixCustomize}.way1.step1Tip`)}</div>
|
|
|
- <a href={`https://github.com/langgenius/${isChatApp ? 'webapp-conversation' : 'webapp-text-generator'}`} target='_blank'>
|
|
|
+ <a href={`https://github.com/langgenius/${isChatApp ? 'webapp-conversation' : 'webapp-text-generator'}`} target='_blank' rel='noopener noreferrer'>
|
|
|
<Button className='text-gray-800 text-sm w-fit'><GithubIcon className='text-gray-800 mr-2' />{t(`${prefixCustomize}.way1.step1Operation`)}</Button>
|
|
|
</a>
|
|
|
</div>
|
|
@@ -73,7 +73,7 @@ const CustomizeModal: FC<IShareLinkProps> = ({
|
|
|
<div className='flex flex-col'>
|
|
|
<div className='text-gray-900'>{t(`${prefixCustomize}.way1.step3`)}</div>
|
|
|
<div className='text-gray-500 text-xs mt-1 mb-2'>{t(`${prefixCustomize}.way1.step2Tip`)}</div>
|
|
|
- <a href="https://vercel.com/docs/concepts/deployments/git/vercel-for-github" target='_blank'>
|
|
|
+ <a href="https://vercel.com/docs/concepts/deployments/git/vercel-for-github" target='_blank' rel='noopener noreferrer'>
|
|
|
<Button className='text-gray-800 text-sm w-fit'>
|
|
|
<div className='mr-1.5 border-solid border-t-0 border-r-[7px] border-l-[7px] border-b-[12px] border-r-transparent border-b-black border-l-transparent border-t-transparent'></div>
|
|
|
<span>{t(`${prefixCustomize}.way1.step2Operation`)}</span>
|
|
@@ -102,10 +102,9 @@ const CustomizeModal: FC<IShareLinkProps> = ({
|
|
|
className='w-36 mt-2'
|
|
|
onClick={() =>
|
|
|
window.open(
|
|
|
- `https://docs.dify.ai/${
|
|
|
- language !== LanguagesSupportedUnderscore[1]
|
|
|
- ? 'user-guide/launching-dify-apps/developing-with-apis'
|
|
|
- : `v/${locale.toLowerCase()}/guides/application-publishing/developing-with-apis`
|
|
|
+ `https://docs.dify.ai/${language !== LanguagesSupportedUnderscore[1]
|
|
|
+ ? 'user-guide/launching-dify-apps/developing-with-apis'
|
|
|
+ : `v/${locale.toLowerCase()}/guides/application-publishing/developing-with-apis`
|
|
|
}`,
|
|
|
'_blank',
|
|
|
)
|