mirror of
https://github.com/AndersPier/v0-v0app.git
synced 2025-10-27 10:06:52 +00:00
fix: remove invalid <config> element in app/page.tsx
Replace incorrect React component with valid one. #VERCEL_SKIP Co-authored-by: Anders Lehmann Pier <3219386+AndersPier@users.noreply.github.com>
This commit is contained in:
12
app/api/health/route.ts
Normal file
12
app/api/health/route.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { NextResponse } from "next/server"
|
||||
|
||||
export async function GET() {
|
||||
return NextResponse.json(
|
||||
{
|
||||
status: "healthy",
|
||||
timestamp: new Date().toISOString(),
|
||||
service: "markdown-editor",
|
||||
},
|
||||
{ status: 200 },
|
||||
)
|
||||
}
|
||||
16
app/page.tsx
16
app/page.tsx
@@ -1,7 +1,9 @@
|
||||
"use client"
|
||||
|
||||
import config from "../tailwind.config"
|
||||
|
||||
export default function SyntheticV0PageForDeployment() {
|
||||
return <config />
|
||||
}
|
||||
// app/page.tsx
|
||||
export default function HomePage() {
|
||||
return (
|
||||
<main className="flex min-h-screen flex-col items-center justify-center gap-4">
|
||||
<h1 className="text-3xl font-bold">Markdown Editor</h1>
|
||||
<p className="text-muted-foreground">Your application is up and running. Start editing!</p>
|
||||
</main>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user