initial commit

This commit is contained in:
averel10
2026-02-27 13:28:19 +01:00
parent 868e003501
commit 0285cf0956
8 changed files with 683 additions and 19 deletions

View File

@@ -1,9 +0,0 @@
import { NextRequest, NextResponse } from "next/server";
export async function GET(
request: NextRequest,
{ params }: { params: Promise<{ slug: string }> },
) {
const { slug } = await params;
return NextResponse.json({ message: `Hello ${slug}!` });
}

1
src/app/globals.css Normal file
View File

@@ -0,0 +1 @@
@import "tailwindcss";

11
src/app/layout.tsx Normal file
View File

@@ -0,0 +1,11 @@
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html>
<body>{children}</body>
</html>
)
}

3
src/app/page.tsx Normal file
View File

@@ -0,0 +1,3 @@
export default function Page() {
return <h1>Hello Next.js!</h1>
}