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 {
|
.button {
|
||||||
width: 90px;
|
width: 90px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.link {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,15 +43,9 @@ function ContactModal({ isOpen, onCancel }: Props) {
|
||||||
<DynamicT forKey={description} />
|
<DynamicT forKey={description} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<a href={link} target="_blank" className={styles.link} rel="noopener">
|
||||||
<Button
|
<Button type="outline" title={label} className={styles.button} />
|
||||||
type="outline"
|
</a>
|
||||||
title={label}
|
|
||||||
to={link}
|
|
||||||
className={styles.button}
|
|
||||||
onClick={() => window.open(link)}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,8 +9,12 @@ function DocumentNavButton() {
|
||||||
const { documentationSiteUrl } = useDocumentationUrl();
|
const { documentationSiteUrl } = useDocumentationUrl();
|
||||||
return (
|
return (
|
||||||
<div className={styles.documentNavButton}>
|
<div className={styles.documentNavButton}>
|
||||||
<DocumentIcon className={styles.icon} />
|
<TextLink
|
||||||
<TextLink href={documentationSiteUrl} target="_blank" className={styles.textLink}>
|
href={documentationSiteUrl}
|
||||||
|
target="_blank"
|
||||||
|
className={styles.textLink}
|
||||||
|
icon={<DocumentIcon className={styles.icon} />}
|
||||||
|
>
|
||||||
<DangerousRaw>Docs</DangerousRaw>
|
<DangerousRaw>Docs</DangerousRaw>
|
||||||
</TextLink>
|
</TextLink>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue