File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ const Footer = () => (
3939
4040 < div className = "grid grid-cols-3 items-start gap-x-32 gap-y-5" >
4141 < NavWrapper label = "Projects" >
42- < NavItem label = "Installer" href = "/" />
42+ < NavItem label = "Installer" href = { links . installer } />
4343 < NavItem label = "A32NX" href = "/projects/downloadLinks" />
4444 < NavItem label = "A380X" href = "/projects/a380x" />
45- < NavItem label = "EFB" href = "/" />
45+ < NavItem label = "EFB" href = { links . efb } />
4646 </ NavWrapper >
4747
4848 < NavWrapper label = "Menu" >
Original file line number Diff line number Diff line change @@ -7,5 +7,7 @@ export const links: {[name: string]: string} = {
77 facebook : 'https://www.facebook.com/FlyByWireSimulations/' ,
88 opencollective : 'https://opencollective.com/flybywire' ,
99 docsfaq : 'https://docs.flybywiresim.com/faq' ,
10+ installer : 'https://flybywirecdn.com/installer/release/FlyByWire_Installer_Setup.exe' ,
11+ efb : 'https://docs.flybywiresim.com/aircraft/common/flypados3' ,
1012 pressKit : 'https://github.com/flybywiresim/branding' ,
1113} ;
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import Section from '../../components/Utils/Section';
44import Container from '../../components/Utils/Container' ;
55import Button from '../../components/Button/Button' ;
66import DownloadLinks from '../../components/Downloads/DownloadLinks' ;
7+ import { links } from '../../constants/links' ;
78
89const Downloads : NextPage = ( ) => (
910 < >
@@ -25,7 +26,7 @@ const Downloads: NextPage = () => (
2526 Our easy-to-use installer is the easiest way to get started with our addons. Simply launch and
2627 install any addon you want, with only two clicks.
2728 </ p >
28- < Link href = "https://cdn.flybywiresim.com/ installer/release/FlyByWire_Installer_Setup.exe" >
29+ < Link href = { links . installer } >
2930 < Button label = "Download" theme = "primary" className = "mt-auto" />
3031 </ Link >
3132 </ div >
Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ import { NextPage } from 'next';
33import Section from '../../components/Utils/Section' ;
44import Container from '../../components/Utils/Container' ;
55import Card from '../../components/Projects/Card' ;
6-
7- // const A32NX_DOWNLOAD_URL = 'https://github.com/flybywiresim/a32nx/releases/download/assets/master/A32NX-master.zip';
6+ import { links } from '../../constants/links' ;
87
98const index : NextPage = ( ) => (
109 < >
@@ -49,7 +48,7 @@ const index: NextPage = () => (
4948 title = "EFB"
5049 category = "Software"
5150 description = "The Electronic Flight Bag is an integrated tablet with a wide array of tools, settings and more."
52- href = "https://docs.flybywiresim.com/fbw-a32nx/feature-guides/flypados3/"
51+ href = { links . efb }
5352 direction = "horizontal"
5453 />
5554 </ div >
You can’t perform that action at this time.
0 commit comments