1
0
mirror of https://github.com/kremalicious/umami.git synced 2024-12-24 10:16:19 +01:00
umami/components/layout/Footer.js

30 lines
734 B
JavaScript
Raw Normal View History

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';
import Link from 'components/common/Link';
2020-08-07 11:27:12 +02:00
import styles from './Footer.module.css';
export default function Footer() {
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-16 04:16:05 +02:00
<div className={styles.footer}>
<div />
<div>
<FormattedMessage
2020-09-17 07:29:40 +02:00
id="message.powered-by"
defaultMessage="Powered by {name}"
2020-09-16 04:16:05 +02:00
values={{
name: (
<Link href="https://umami.is">
2020-09-16 04:16:05 +02:00
<b>umami</b>
</Link>
2020-09-16 04:16:05 +02:00
),
}}
/>
</div>
<div>{`v${version}`}</div>
2020-08-15 10:17:15 +02:00
</div>
2020-08-07 11:27:12 +02:00
</footer>
);
}