File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ module.exports = {
5
5
dlcLinks : [
6
6
{
7
7
name : "API Documentation" ,
8
- link : "/api/v4 "
8
+ link : "http://www.linode.com/docs/api "
9
9
} ,
10
10
{
11
11
name : "Guides" ,
Original file line number Diff line number Diff line change @@ -21,16 +21,14 @@ const DLCMenu = ({ data }) => {
21
21
>
22
22
< div className = "max-w-3xl mx-auto px-4 py-4" >
23
23
{ dlcLinks . map ( link => (
24
- < Link
24
+ < a
25
25
key = { link . name }
26
- to = { link . link }
27
- className = " dlc-nav__link relative mx-4"
26
+ href = { link . link }
27
+ className = { ` dlc-nav__link mx-4 ${ link . name === "API Documentation" ? "" : "relative " } ` }
28
28
role = "menuitem"
29
- activeClassName = "active"
30
- getProps = { link === "/" ? undefined : isPartiallyActive }
31
29
>
32
30
{ link . name }
33
- </ Link >
31
+ </ a >
34
32
) ) }
35
33
</ div >
36
34
</ nav >
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ const IndexPage = () => {
41
41
< article className = "w-full md:w-1/2 px-4 mb-4 md:mb-8" >
42
42
< div className = "px-8 py-20 h-full bg-ThemeCell tile flex flex-col justify-center items-center" >
43
43
< h2 className = "mt-0 font-normal text-center" >
44
- < a href = "/api/v4 " className = "text-black tile-link" >
44
+ < a href = "https://www.linode.com/docs/api " className = "text-black tile-link" >
45
45
API Documentation
46
46
</ a >
47
47
</ h2 >
You can’t perform that action at this time.
0 commit comments