mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 09:45:04 +01:00
19 lines
384 B
JavaScript
19 lines
384 B
JavaScript
import Head from 'next/head';
|
|
import useLocale from 'hooks/useLocale';
|
|
import styles from './LoginLayout.module.css';
|
|
|
|
export function LoginLayout({ children }) {
|
|
const { dir } = useLocale();
|
|
|
|
return (
|
|
<div className={styles.layout} dir={dir}>
|
|
<Head>
|
|
<title>{`Login | umami`}</title>
|
|
</Head>
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default LoginLayout;
|