forked from vercel/next.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
33 lines (32 loc) · 920 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import Link from 'next/link'
export default function Home() {
return (
<div>
<p className="title">Home Page</p>
<Link href="/redirects/old-home">
<a>Redirect me to a new version of a page</a>
</Link>
<div />
<Link href="/redirects/blank-page?foo=bar">
<a>Redirect me with URL params intact</a>
</Link>
<div />
<Link href="/redirects/redirect-to-google">
<a>Redirect me to Google (with no body response)</a>
</Link>
<div />
<Link href="/redirects/redirect-to-google">
<a>Redirect me to Google (with no stream response)</a>
</Link>
<div />
<Link href="/redirects/redirect-me-alot">
<a>Redirect me alot (chained requests)</a>
</Link>
<div />
<Link href="/redirects/infinite-loop">
<a>Redirect me alot (infinite loop)</a>
</Link>
<div />
</div>
)
}