Skip to content

Commit

Permalink
refactor: hide 👋🏻 text
Browse files Browse the repository at this point in the history
  • Loading branch information
EnixCoda committed Mar 29, 2024
1 parent 40dff71 commit cf1aaf3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
31 changes: 19 additions & 12 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
5 changes: 5 additions & 0 deletions src/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit cf1aaf3

Please sign in to comment.