Description
Every subject landing page (e.g. app/sem1/c/page.tsx, app/sem2/oops/page.tsx, etc.) contains boilerplate copied from a template:
// app/page.tsx
export default function Home() {
return (
<div>
<h1 className="text-3xl font-bold mb-4">Welcome to the Tutorial</h1>
<p>Select a chapter from the sidebar to get started.</p>
</div>
);
}
The comment even incorrectly says // app/page.tsx. When users visit /sem1/c they see this unstyled, un-themed placeholder instead of being directed to chapter 0.
Steps to Reproduce
- Click any subject on the Subjects page
- Manually visit
/sem1/c (without the chapter slug)
- Observe the placeholder
Expected Behavior
The user should be redirected to /sem1/c/ch0 automatically.
Description
Every subject landing page (e.g.
app/sem1/c/page.tsx,app/sem2/oops/page.tsx, etc.) contains boilerplate copied from a template:The comment even incorrectly says
// app/page.tsx. When users visit/sem1/cthey see this unstyled, un-themed placeholder instead of being directed to chapter 0.Steps to Reproduce
/sem1/c(without the chapter slug)Expected Behavior
The user should be redirected to
/sem1/c/ch0automatically.