Files
9870faf789 Fix export function name on docs/routing/layouts-and-templates (#65240)
### What?
Fix export function name on docs/routing/layouts-and-templates

### Why?
The way it is, it will return an error to the user following the
tutorial: `Unsupported Server Component type: undefined / next js 13`

### How?
- Change `Links()` function export to `NavLinks()`

---------

Co-authored-by: JJ Kasper <[email protected]>
2024-05-01 11:20:45 -07:00

19 lines
475 B
TypeScript

import { TodoList } from "./todo-list";
import { Form } from "./form";
export default function Home() {
return (
<main className="max-w-2xl mx-auto space-y-12 px-6 py-32">
<div className="space-y-3 text-center">
<h1 className="text-3xl font-medium">Turso</h1>
<p className="text-gray-500">Local SQLite with libSQL and Turso</p>
</div>
<div className="space-y-3">
<TodoList />
<Form />
</div>
</main>
);
}