Skip to content

Commit

Permalink
Link back to index page
Browse files Browse the repository at this point in the history
  • Loading branch information
cdonohue committed May 31, 2019
1 parent e37beda commit 6d61ccd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/with-next/pages/about.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { jsx } from "../../../dist/react"
import Link from 'next/link'

function About() {
return <div className="font-bold text-primary">Welcome to About</div>
return <div className="font-bold text-blue-600">Welcome to About <Link href="/">
<a className="cursor-pointer font-bold text-red-500">Back Home</a>
</Link>{' '}</div>
}

export default About

0 comments on commit 6d61ccd

Please sign in to comment.