template: tanstack_start_ts_current-6b12e5d4b74e
This commit is contained in:
24
src/routes/index.tsx
Normal file
24
src/routes/index.tsx
Normal file
@@ -0,0 +1,24 @@
|
||||
import { createFileRoute } from "@tanstack/react-router";
|
||||
|
||||
// No head() here: the home route inherits title/description/og/twitter from
|
||||
// __root.tsx, and ships no og:image so serve-time hosting can inject the
|
||||
// project's social preview (explicit og:image or latest screenshot).
|
||||
export const Route = createFileRoute("/")({
|
||||
component: Index,
|
||||
});
|
||||
|
||||
// IMPORTANT: Replace this placeholder. See ./README.md for routing conventions.
|
||||
function Index() {
|
||||
return (
|
||||
<div
|
||||
className="flex min-h-screen items-center justify-center"
|
||||
style={{ backgroundColor: "#fcfbf8" }}
|
||||
>
|
||||
<img
|
||||
data-lovable-blank-page-placeholder="REMOVE_THIS"
|
||||
src="https://cdn.gpteng.co/blank-app-v1.svg"
|
||||
alt="Your app will live here!"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user