refactor: hide 👋🏻 text

This commit is contained in:
EnixCoda 2024-03-29 22:52:33 +08:00
parent 40dff715f7
commit cf1aaf331e
2 changed files with 24 additions and 12 deletions

View file

@ -13,18 +13,25 @@ export function Footer(props: Props) {
const { toggleShowSettings } = props
return (
<div className={'gitako-footer'}>
<Link
className={'version'}
href={wikiLinks.changeLog}
title={'Check out new features!'}
target="_blank"
rel="noopener noreferrer"
>
{VERSION}
</Link>
<Link href={wikiLinks.bye} target="_blank" rel="noopener noreferrer">
👋 About to say good bye.
</Link>
<div className="gitako-footer-section">
<Link
className={'version'}
href={wikiLinks.changeLog}
title={'Check out new features!'}
target="_blank"
rel="noopener noreferrer"
>
{VERSION}
</Link>
<Link
title="About to say good bye."
href={wikiLinks.bye}
target="_blank"
rel="noopener noreferrer"
>
👋
</Link>
</div>
<RoundIconButton
aria-label={'settings'}
icon={GearIcon}

View file

@ -587,6 +587,11 @@ html[data-with-gitako-spacing='true'] {
padding: 2px 6px 2px 10px;
border-top: 1px solid var(--color-border-muted);
&-section {
display: inline-flex;
gap: 6px;
}
.version {
color: var(--color-fg-muted);
}