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 = {
55 dlcLinks : [
66 {
77 name : "API Documentation" ,
8- link : "/api/v4 "
8+ link : "http://www.linode.com/docs/api "
99 } ,
1010 {
1111 name : "Guides" ,
Original file line number Diff line number Diff line change @@ -21,16 +21,14 @@ const DLCMenu = ({ data }) => {
2121 >
2222 < div className = "max-w-3xl mx-auto px-4 py-4" >
2323 { dlcLinks . map ( link => (
24- < Link
24+ < a
2525 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 " } ` }
2828 role = "menuitem"
29- activeClassName = "active"
30- getProps = { link === "/" ? undefined : isPartiallyActive }
3129 >
3230 { link . name }
33- </ Link >
31+ </ a >
3432 ) ) }
3533 </ div >
3634 </ nav >
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ const IndexPage = () => {
4141 < article className = "w-full md:w-1/2 px-4 mb-4 md:mb-8" >
4242 < div className = "px-8 py-20 h-full bg-ThemeCell tile flex flex-col justify-center items-center" >
4343 < 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" >
4545 API Documentation
4646 </ a >
4747 </ h2 >
You can’t perform that action at this time.
0 commit comments