We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bc993a commit 28e9738Copy full SHA for 28e9738
src/components/landing/hero.js
@@ -1,5 +1,5 @@
1
import React from "react"
2
-import { navigate } from "@reach/router"
+import { Link } from "gatsby"
3
import HeadingOne from "../typography/HeadingOne"
4
import BodyOne from "../typography/BodyOne"
5
import RedBlockButton from "../buttons/RedBlockButton"
@@ -24,11 +24,8 @@ const Hero = () => (
24
a design system using Apollo. Everything you learn here will not be a
25
waste of time, it is 100% reproducible for production use cases.{" "}
26
</BodyOne>
27
- <RedBlockButton
28
- className="mr-5"
29
- // onClick={() => navigate(`/introduction`)}
30
- >
31
- Learn now!
+ <RedBlockButton className="mr-5">
+ <Link to={`/introduction`}>Learn now!</Link>
32
</RedBlockButton>
33
34
<RedOutlineButton
0 commit comments