[WEB-5043] feat: web vite migration (#7973)

This commit is contained in:
Prateek Shourya 2025-11-06 14:08:48 +05:30 committed by GitHub
parent 118ecc81ba
commit 696fb96e87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
642 changed files with 3013 additions and 2311 deletions

View file

@ -1,19 +1,12 @@
import type { Metadata, Viewport } from "next";
import { Outlet } from "react-router";
// types
import type { Route } from "./+types/layout";
export const metadata: Metadata = {
robots: {
index: true,
follow: false,
},
};
export const meta: Route.MetaFunction = () => [
{ name: "robots", content: "index, nofollow" },
{ name: "viewport", content: "width=device-width, initial-scale=1, minimum-scale=1, viewport-fit=cover" },
];
export const viewport: Viewport = {
minimumScale: 1,
initialScale: 1,
width: "device-width",
viewportFit: "cover",
};
export default function HomeLayout({ children }: { children: React.ReactNode }) {
return <>{children}</>;
export default function HomeLayout() {
return <Outlet />;
}