Files

14 lines
288 B
TypeScript

import Link from 'next/link'
export default async function Blog(props) {
const params = await props.params
return (
<div id="blog-post-page">
<h1>Blog post {params.slug}</h1>
<Link href="/" style={{ display: 'block' }}>
Go home
</Link>
</div>
)
}