23 lines
942 B
TypeScript
23 lines
942 B
TypeScript
import { ScrollViewStyleReset } from "expo-router/html";
|
|
import type { PropsWithChildren } from "react";
|
|
|
|
export default function Root({ children }: PropsWithChildren) {
|
|
return (
|
|
<html lang="ru">
|
|
<head>
|
|
<meta charSet="utf-8" />
|
|
<meta httpEquiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
<meta name="theme-color" content="#030213" />
|
|
<meta name="description" content="Помощник по документам и жизни в России" />
|
|
<link rel="manifest" href="/manifest.json" />
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon.png" />
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
|
<script src="/register-sw.js" defer />
|
|
<ScrollViewStyleReset />
|
|
</head>
|
|
<body>{children}</body>
|
|
</html>
|
|
);
|
|
}
|