umami/components/pages/login/LoginLayout.js

19 lines
384 B
JavaScript
Raw Normal View History

2023-01-11 23:47:38 +01:00
import Head from 'next/head';
import useLocale from 'hooks/useLocale';
import styles from './LoginLayout.module.css';
2023-04-21 17:00:42 +02:00
export function LoginLayout({ children }) {
2023-01-11 23:47:38 +01:00
const { dir } = useLocale();
return (
<div className={styles.layout} dir={dir}>
<Head>
<title>{`Login | umami`}</title>
</Head>
{children}
</div>
);
}
2023-04-21 17:00:42 +02:00
export default LoginLayout;