mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix(console): doc button and get help link (#3976)
This commit is contained in:
parent
1ad17bcb38
commit
0c1744e77d
3 changed files with 13 additions and 11 deletions
|
@ -33,5 +33,9 @@
|
|||
.button {
|
||||
width: 90px;
|
||||
}
|
||||
|
||||
.link {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -43,15 +43,9 @@ function ContactModal({ isOpen, onCancel }: Props) {
|
|||
<DynamicT forKey={description} />
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<Button
|
||||
type="outline"
|
||||
title={label}
|
||||
to={link}
|
||||
className={styles.button}
|
||||
onClick={() => window.open(link)}
|
||||
/>
|
||||
</div>
|
||||
<a href={link} target="_blank" className={styles.link} rel="noopener">
|
||||
<Button type="outline" title={label} className={styles.button} />
|
||||
</a>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
|
|
@ -9,8 +9,12 @@ function DocumentNavButton() {
|
|||
const { documentationSiteUrl } = useDocumentationUrl();
|
||||
return (
|
||||
<div className={styles.documentNavButton}>
|
||||
<DocumentIcon className={styles.icon} />
|
||||
<TextLink href={documentationSiteUrl} target="_blank" className={styles.textLink}>
|
||||
<TextLink
|
||||
href={documentationSiteUrl}
|
||||
target="_blank"
|
||||
className={styles.textLink}
|
||||
icon={<DocumentIcon className={styles.icon} />}
|
||||
>
|
||||
<DangerousRaw>Docs</DangerousRaw>
|
||||
</TextLink>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue