Skip to content

Commit 4ee3bac

Browse files
committed
Use Link component
1 parent 6413002 commit 4ee3bac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/pages/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from 'react'
2+
import { Link, withPrefix } from 'gatsby'
23
import Meetup from '../components/Meetup'
34

45
import speakImg from '../images/speak.jpeg'
@@ -88,9 +89,9 @@ const IndexPage = () => (
8889
We are always open to new speakers, please see our questionnaire for
8990
more details.
9091
</div>
91-
<a className="outline-button small-button" href={'/speak/'}>
92+
<Link className="outline-button small-button" to={withPrefix('/speak/')}>
9293
Learn More
93-
</a>
94+
</Link>
9495
</div>
9596
</div>
9697
</Layout>

0 commit comments

Comments
 (0)