1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/with-next-page-transitions/pages/index.js
2018-05-17 12:47:19 +02:00

14 lines
269 B
JavaScript

import React from 'react'
import Link from 'next/link'
const Index = () => (
<div className='container bg-primary page'>
<h1>Hello, world!</h1>
<Link href='/about'>
<a className='btn btn-light'>About us</a>
</Link>
</div>
)
export default Index