2019-09-17 22:05:20 +02:00
|
|
|
import Link from 'next/link'
|
2019-11-11 04:24:53 +01:00
|
|
|
export default function Page1() {
|
2019-09-17 22:05:20 +02:00
|
|
|
return (
|
|
|
|
<>
|
2019-11-11 04:24:53 +01:00
|
|
|
<div className="red-text">This text should be red.</div>
|
2019-09-17 22:05:20 +02:00
|
|
|
<br />
|
2019-11-11 04:24:53 +01:00
|
|
|
<input key={'' + Math.random()} id="text-input" type="text" />
|
2019-09-17 22:05:20 +02:00
|
|
|
<br />
|
2019-11-11 04:24:53 +01:00
|
|
|
<Link href="/page2">
|
2019-09-17 22:05:20 +02:00
|
|
|
<a>Switch page</a>
|
|
|
|
</Link>
|
|
|
|
</>
|
|
|
|
)
|
|
|
|
}
|