feat: setup frontend Next.js project structure

This commit is contained in:
nguyenvanbao
2026-01-31 12:35:43 +07:00
parent 3c9a113721
commit 5b62149051
28 changed files with 3195 additions and 23 deletions

View File

@@ -0,0 +1,14 @@
import { useRouter } from "next/router";
export default function LevelSlugPage() {
const router = useRouter();
const { level, slug } = router.query;
return (
<div style={{ padding: 20 }}>
<h1>Lesson page</h1>
<p>Level: {level}</p>
<p>Slug: {slug}</p>
</div>
);
}