Skip to content

Commit 2389d0f

Browse files
committed
chore: 중복 root 파일 정리
1 parent f2f70e7 commit 2389d0f

2 files changed

Lines changed: 33 additions & 9 deletions

File tree

src/app/root.tsx

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import { AppProviders } from '@app/providers';
2+
import { Links, Meta, Outlet, Scripts, ScrollRestoration } from 'react-router';
3+
import '@app/styles/index.css';
4+
5+
export const links = () => [
6+
// Favicon
7+
{ rel: 'icon', type: 'image/png', sizes: '96x96', href: '/favicon-96x96.png' },
8+
{ rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' },
9+
{ rel: 'shortcut icon', href: '/favicon.ico' },
10+
{ rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' },
11+
{ rel: 'manifest', href: '/site.webmanifest' },
12+
];
13+
14+
export default function Root() {
15+
return (
16+
<html lang="ko">
17+
<head>
18+
<meta charSet="utf-8" />
19+
<meta name="viewport" content="width=device-width, initial-scale=1" />
20+
<meta name="apple-mobile-web-app-title" content="LOOPiT" />
21+
<Meta />
22+
<Links />
23+
</head>
24+
<body className="w-full overflow-x-hidden">
25+
<AppProviders>
26+
<Outlet />
27+
</AppProviders>
28+
<ScrollRestoration />
29+
<Scripts />
30+
</body>
31+
</html>
32+
);
33+
}

src/app/src/app/root.tsx

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)