mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 16:45:35 +01:00
Refactored to use app folder.
This commit is contained in:
parent
40cfcd41e9
commit
9a52cdd2e1
258 changed files with 2025 additions and 2258 deletions
36
src/app/layout.tsx
Normal file
36
src/app/layout.tsx
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
import { Metadata } from 'next';
|
||||
import Providers from './Providers';
|
||||
import '@fontsource/inter/400.css';
|
||||
import '@fontsource/inter/700.css';
|
||||
import '@fontsource/inter/800.css';
|
||||
import 'react-basics/dist/styles.css';
|
||||
import 'styles/variables.css';
|
||||
import 'styles/locale.css';
|
||||
import 'styles/index.css';
|
||||
|
||||
export default function RootLayout({ children }) {
|
||||
return (
|
||||
<html lang="en" data-scroll="0">
|
||||
<head>
|
||||
<link rel="icon" href={`favicon.ico`} />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href={`apple-touch-icon.png`} />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href={`favicon-32x32.png`} />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href={`favicon-16x16.png`} />
|
||||
<link rel="manifest" href={`site.webmanifest`} />
|
||||
<link rel="mask-icon" href={`safari-pinned-tab.svg`} color="#5bbad5" />
|
||||
<meta name="msapplication-TileColor" content="#da532c" />
|
||||
<meta name="theme-color" content="#fafafa" media="(prefers-color-scheme: light)" />
|
||||
<meta name="theme-color" content="#2f2f2f" media="(prefers-color-scheme: dark)" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="robots" content="noindex,nofollow" />
|
||||
</head>
|
||||
<body>
|
||||
<Providers>{children}</Providers>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'umami',
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue