2023-01-19 00:05:39 +01:00
|
|
|
import { Row, Column } from 'react-basics';
|
2023-03-04 06:26:39 +01:00
|
|
|
import { FormattedMessage } from 'react-intl';
|
2022-08-08 20:31:36 +02:00
|
|
|
import { CURRENT_VERSION, HOMEPAGE_URL, REPO_URL } from 'lib/constants';
|
2023-03-04 06:26:39 +01:00
|
|
|
import { labels } from 'components/messages';
|
2023-01-19 00:05:39 +01:00
|
|
|
import styles from './Footer.module.css';
|
|
|
|
|
2023-03-04 06:26:39 +01:00
|
|
|
export default function Footer() {
|
2020-08-07 11:27:12 +02:00
|
|
|
return (
|
2023-03-04 06:26:39 +01:00
|
|
|
<footer className={styles.footer}>
|
2023-01-19 00:05:39 +01:00
|
|
|
<Row>
|
2023-03-09 01:37:43 +01:00
|
|
|
<Column defaultSize={12} lg={11} xl={11}>
|
2023-01-19 00:05:39 +01:00
|
|
|
<div>
|
2023-03-04 06:26:39 +01:00
|
|
|
<FormattedMessage
|
|
|
|
{...labels.poweredBy}
|
|
|
|
values={{
|
|
|
|
name: (
|
|
|
|
<a href={HOMEPAGE_URL}>
|
|
|
|
<b>umami</b>
|
|
|
|
</a>
|
|
|
|
),
|
|
|
|
}}
|
|
|
|
/>
|
2023-01-19 00:05:39 +01:00
|
|
|
</div>
|
|
|
|
</Column>
|
2023-03-09 01:37:43 +01:00
|
|
|
<Column className={styles.version} defaultSize={12} lg={1} xl={1}>
|
2023-02-09 08:14:11 +01:00
|
|
|
<a href={REPO_URL}>{`v${CURRENT_VERSION}`}</a>
|
2023-01-19 00:05:39 +01:00
|
|
|
</Column>
|
|
|
|
</Row>
|
2020-08-07 11:27:12 +02:00
|
|
|
</footer>
|
|
|
|
);
|
|
|
|
}
|