mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
style(ui): fix logto signature hit area (#3472)
This commit is contained in:
parent
1c455b8256
commit
3fdac77210
1 changed files with 13 additions and 12 deletions
|
@ -1,5 +1,4 @@
|
|||
import { Theme } from '@logto/schemas';
|
||||
import classNames from 'classnames';
|
||||
import { useContext } from 'react';
|
||||
|
||||
import LogtoLogtoDark from '@/assets/icons/logto-logo-dark.svg';
|
||||
|
@ -24,17 +23,19 @@ const LogtoSignature = ({ className }: Props) => {
|
|||
const LogtoLogo = theme === Theme.Light ? LogtoLogoLight : LogtoLogtoDark;
|
||||
|
||||
return (
|
||||
<a
|
||||
className={classNames(styles.signature, className)}
|
||||
aria-label="Powered By Logto"
|
||||
href={logtoUrl.toString()}
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>
|
||||
<span className={styles.text}>Powered by</span>
|
||||
<LogtoLogoShadow className={styles.staticIcon} />
|
||||
<LogtoLogo className={styles.highlightIcon} />
|
||||
</a>
|
||||
<div className={className}>
|
||||
<a
|
||||
className={styles.signature}
|
||||
aria-label="Powered By Logto"
|
||||
href={logtoUrl.toString()}
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>
|
||||
<span className={styles.text}>Powered by</span>
|
||||
<LogtoLogoShadow className={styles.staticIcon} />
|
||||
<LogtoLogo className={styles.highlightIcon} />
|
||||
</a>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue