mirror of
https://github.com/umami-software/umami.git
synced 2026-02-18 11:35:37 +01:00
Footer cleanup
This commit is contained in:
parent
72cc483eaf
commit
00df8184cd
1 changed files with 20 additions and 24 deletions
|
|
@ -6,28 +6,24 @@ import styles from './Footer.module.css';
|
||||||
import useVersion from 'hooks/useVersion';
|
import useVersion from 'hooks/useVersion';
|
||||||
|
|
||||||
export default function Footer() {
|
export default function Footer() {
|
||||||
const { current } = useVersion();
|
const { current } = useVersion();
|
||||||
return (
|
return (
|
||||||
<footer className="container">
|
<footer className="container">
|
||||||
<div className={classNames(styles.footer, 'row')}>
|
<div className={classNames(styles.footer, 'row')}>
|
||||||
<div className="col-12 col-md-4" />
|
<div className="col-12 col-md-4" />
|
||||||
<div className="col-12 col-md-4">
|
<div className="col-12 col-md-4">
|
||||||
<FormattedMessage
|
<a href="https://umami.is">
|
||||||
id="message.powered-by"
|
<b>umami-sqlite</b>
|
||||||
defaultMessage="Powered by {name}"
|
</a>{' '}
|
||||||
values={{
|
powered by{' '}
|
||||||
name: (
|
<a href="https://umami.is">
|
||||||
<Link href="https://umami.is">
|
<b>umami</b>
|
||||||
<b>umami</b>
|
</a>
|
||||||
</Link>
|
</div>
|
||||||
),
|
<div className={classNames(styles.version, 'col-12 col-md-4')}>
|
||||||
}}
|
<Link href={`https://github.com/mikecao/umami/`}>GitHub</Link>
|
||||||
/>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className={classNames(styles.version, 'col-12 col-md-4')}>
|
</footer>
|
||||||
<Link href={`https://github.com/mikecao/umami/releases`}>{`v${current}`}</Link>
|
);
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue