mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 00:27:11 +01:00
New mobile menu.
This commit is contained in:
parent
18efd4d101
commit
34ad1d9c39
14 changed files with 189 additions and 153 deletions
|
|
@ -23,6 +23,7 @@ const Intl = ({ children }) => {
|
|||
|
||||
export default function App({ Component, pageProps }) {
|
||||
const { basePath } = useRouter();
|
||||
const { dir } = useLocale();
|
||||
|
||||
return (
|
||||
<Intl>
|
||||
|
|
@ -38,7 +39,9 @@ export default function App({ Component, pageProps }) {
|
|||
<meta name="theme-color" content="#2f2f2f" media="(prefers-color-scheme: dark)" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
</Head>
|
||||
<Component {...pageProps} />
|
||||
<div className="container" dir={dir}>
|
||||
<Component {...pageProps} />
|
||||
</div>
|
||||
</Intl>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue