silverwolf-x's picture
download
raw
523 Bytes
import Link from 'next/link'
export default function Page(props) {
return (
<>
<p id="page">index</p>
<p id="props">{JSON.stringify(props)}</p>
<Link href="/blog/first" id="to-blog-first">
/blog/first
</Link>
<br />
<Link href="/blog/second" id="to-blog-second">
/blog/second
</Link>
<br />
</>
)
}
export function getStaticProps() {
console.log('revalidating /')
return {
props: {
now: Date.now(),
},
revalidate: 1,
}
}

Xet Storage Details

Size:
523 Bytes
·
Xet hash:
78005f008e671f924428cb20b2403792743f618c38dc9d43a04ac6d9b4578cc9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.