mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-24 10:16:19 +01:00
24 lines
754 B
JavaScript
24 lines
754 B
JavaScript
import React from 'react';
|
|
import { FormattedMessage } from 'react-intl';
|
|
import classNames from 'classnames';
|
|
import Button from 'components/common/Button';
|
|
import Logo from 'assets/logo.svg';
|
|
import styles from './Footer.module.css';
|
|
|
|
export default function Footer() {
|
|
const version = process.env.VERSION;
|
|
return (
|
|
<footer className="container">
|
|
<div className={classNames(styles.footer, 'row justify-content-center')}>
|
|
<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>
|
|
</div>
|
|
</footer>
|
|
);
|
|
}
|