mirror of
https://github.com/umami-software/umami.git
synced 2026-02-13 17:15:37 +01:00
add rtl support
This commit is contained in:
parent
0126154e39
commit
0c13f8d358
6 changed files with 28 additions and 7 deletions
|
|
@ -1,14 +1,19 @@
|
|||
import React from 'react';
|
||||
import classNames from 'classnames';
|
||||
import { FormattedMessage } from 'react-intl';
|
||||
import { FormattedMessage, useIntl } from 'react-intl';
|
||||
import Link from 'components/common/Link';
|
||||
import styles from './Footer.module.css';
|
||||
import useVersion from 'hooks/useVersion';
|
||||
|
||||
export default function Footer() {
|
||||
const { current } = useVersion();
|
||||
const intl = useIntl();
|
||||
|
||||
return (
|
||||
<footer className="container">
|
||||
<footer
|
||||
className="container"
|
||||
dir={intl.formatMessage({ id: 'metrics.dir', defaultMessage: 'ltr' })}
|
||||
>
|
||||
<div className={classNames(styles.footer, 'row')}>
|
||||
<div className="col-12 col-md-4" />
|
||||
<div className="col-12 col-md-4">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue