瀏覽代碼

docs: 文档底部链接使用新窗口打开方式 (#175)

dingsheng 4 年之前
父節點
當前提交
c09327ffba
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/components/Footer/index.jsx

+ 3 - 3
src/components/Footer/index.jsx

@@ -13,9 +13,9 @@ export class Footer extends Component {
             <div className='footerMini8'><img src="https://lf9-static.semi.design/obj/semi-tos/images/a5768a90-324e-11ec-b393-ab4adc2e449f.svg" className='group6' />
                 <div className='links'>
                     <a href={`/${getLocale()}/start/getting-started`} className='text'>{_t('footer.component')}</a>
-                    <a href='https://figma.com/@semi' className='figmaUIKit'>Figma UIKit</a>
-                    <p className='text_d3ba282e'><a href="https://semi.design/dsm/landing" className='text_8b88424e'>{_t('footer.dsm')}</a></p>
-                    <a href="https://github.com/DouyinFE/semi-design" className='github'>Github</a>
+                    <a href='https://figma.com/@semi' className='figmaUIKit' target="_blank" rel="noreferrer">Figma UIKit</a>
+                    <p className='text_d3ba282e'><a href="https://semi.design/dsm/landing" className='text_8b88424e' target="_blank" rel="noreferrer">{_t('footer.dsm')}</a></p>
+                    <a href="https://github.com/DouyinFE/semi-design" className='github' target="_blank" rel="noreferrer">Github</a>
                 </div><img src="https://lf9-static.semi.design/obj/semi-tos/images/a577c310-324e-11ec-8b14-8fb159794ae4.svg" className='divider' />
                 <div className='autoWrapper'>
                     <p className='a2021SemiDesignAllRi'>© 2021 Semi Design. All rights reserved</p>