Skip to content

Commit

Permalink
feat: link update
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Zhang (张涛) committed Feb 6, 2024
1 parent ab79d1c commit 34f664a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 13 deletions.
2 changes: 1 addition & 1 deletion packages/canyon-platform/src/assets/book.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 20 additions & 12 deletions packages/canyon-platform/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,18 +147,26 @@ function Index() {
Canyon
</Title>

<Tooltip
title={
<div>
<span>{t('menus.docs')}</span>
<ArrowRightOutlined />
</div>
}
>
<a href={baseData?.SYSTEM_QUESTION_LINK} target={'_blank'} rel='noreferrer'>
<img src={book} />
</a>
</Tooltip>
<div>
<Tooltip
title={
<div>
<span>{t('menus.docs')}</span>
<ArrowRightOutlined />
</div>
}
>
<a
href={baseData?.SYSTEM_QUESTION_LINK}
target={'_blank'}
rel='noreferrer'
className={'ml-2'}
>
<img src={book} />
</a>
</Tooltip>
{/*marker position*/}
</div>
</div>
</div>
<Menu
Expand Down

0 comments on commit 34f664a

Please sign in to comment.