mirror of
https://github.com/umami-software/umami.git
synced 2026-02-16 10:35:35 +01:00
Layout updates.
This commit is contained in:
parent
64ebe8b307
commit
d573def802
9 changed files with 19 additions and 52 deletions
|
|
@ -1,31 +1,12 @@
|
|||
import { Row, Column } from 'react-basics';
|
||||
import { FormattedMessage } from 'react-intl';
|
||||
import { CURRENT_VERSION, HOMEPAGE_URL, REPO_URL } from 'lib/constants';
|
||||
import { labels } from 'components/messages';
|
||||
import { CURRENT_VERSION, HOMEPAGE_URL } from 'lib/constants';
|
||||
import styles from './Footer.module.css';
|
||||
|
||||
export function Footer() {
|
||||
return (
|
||||
<footer className={styles.footer}>
|
||||
<Row>
|
||||
<Column defaultSize={12} lg={11} xl={11}>
|
||||
<div>
|
||||
<FormattedMessage
|
||||
{...labels.poweredBy}
|
||||
values={{
|
||||
name: (
|
||||
<a href={HOMEPAGE_URL}>
|
||||
<b>umami</b>
|
||||
</a>
|
||||
),
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
</Column>
|
||||
<Column className={styles.version} defaultSize={12} lg={1} xl={1}>
|
||||
<a href={REPO_URL}>{`v${CURRENT_VERSION}`}</a>
|
||||
</Column>
|
||||
</Row>
|
||||
<a href={HOMEPAGE_URL}>
|
||||
<b>umami</b> {`v${CURRENT_VERSION}`}
|
||||
</a>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue