plan/react-rewrite #1
@@ -0,0 +1,5 @@
|
||||
import type { ReactNode } from "react";
|
||||
|
||||
export default function RootLayout({ children }: { children: ReactNode }): JSX.Element {
|
||||
return <>{children}</>;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// Placeholder route for 1A-2. Replaced by 1F-layout with the real root layout
|
||||
// (src/routes/layout.tsx + src/routes/[lang]/layout.tsx + error routes + smoke route).
|
||||
export default function Home() {
|
||||
return (
|
||||
<main>
|
||||
<h1>Aeroflot Flights — React skeleton</h1>
|
||||
<p>This page is a 1A-2 placeholder. Real routes land in 1F-layout.</p>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user