2020-08-07 11:27:12 +02:00
|
|
|
import React from 'react';
|
2020-09-06 02:27:01 +02:00
|
|
|
import { FormattedMessage } from 'react-intl';
|
2020-08-07 11:27:12 +02:00
|
|
|
import classNames from 'classnames';
|
2020-08-15 10:17:15 +02:00
|
|
|
import Button from 'components/common/Button';
|
|
|
|
import Logo from 'assets/logo.svg';
|
2020-08-07 11:27:12 +02:00
|
|
|
import styles from './Footer.module.css';
|
|
|
|
|
|
|
|
export default function Footer() {
|
2020-09-10 01:12:29 +02:00
|
|
|
const version = process.env.VERSION;
|
2020-08-07 11:27:12 +02:00
|
|
|
return (
|
2020-08-15 10:17:15 +02:00
|
|
|
<footer className="container">
|
2020-09-08 00:25:09 +02:00
|
|
|
<div className={classNames(styles.footer, 'row justify-content-center')}>
|
2020-09-10 01:12:29 +02:00
|
|
|
<FormattedMessage id="footer.powered-by" defaultMessage="Powered by" />
|
|
|
|
<a href="https://umami.is">
|
|
|
|
<Button className={styles.button} icon={<Logo />} size="small">
|
|
|
|
<b>umami</b>
|
|
|
|
</Button>
|
|
|
|
</a>
|
|
|
|
<div>{`v${version}`}</div>
|
2020-08-15 10:17:15 +02:00
|
|
|
</div>
|
2020-08-07 11:27:12 +02:00
|
|
|
</footer>
|
|
|
|
);
|
|
|
|
}
|