Skip to content

Commit

Permalink
fix: efb and installer links
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanInnes committed Nov 8, 2024
1 parent 93d0ba2 commit 9588031
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/Navigation/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ const Footer = () => (

<div className="grid grid-cols-3 items-start gap-x-32 gap-y-5">
<NavWrapper label="Projects">
<NavItem label="Installer" href="/" />
<NavItem label="Installer" href={links.installer} />
<NavItem label="A32NX" href="/projects/downloadLinks" />
<NavItem label="A380X" href="/projects/a380x" />
<NavItem label="EFB" href="/" />
<NavItem label="EFB" href={links.efb} />
</NavWrapper>

<NavWrapper label="Menu">
Expand Down
2 changes: 2 additions & 0 deletions src/constants/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ export const links: {[name: string]: string} = {
facebook: 'https://www.facebook.com/FlyByWireSimulations/',
opencollective: 'https://opencollective.com/flybywire',
docsfaq: 'https://docs.flybywiresim.com/faq',
installer: 'https://cdn.flybywiresim.com/installer/release/FlyByWire_Installer_Setup.exe',
efb: 'https://docs.flybywiresim.com/aircraft/common/flypados3',
};
5 changes: 2 additions & 3 deletions src/pages/projects/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { NextPage } from 'next';
import Section from '../../components/Utils/Section';
import Container from '../../components/Utils/Container';
import Card from '../../components/Projects/Card';

// const A32NX_DOWNLOAD_URL = 'https://github.com/flybywiresim/a32nx/releases/download/assets/master/A32NX-master.zip';
import { links } from '../../constants/links';

const index: NextPage = () => (
<>
Expand Down Expand Up @@ -49,7 +48,7 @@ const index: NextPage = () => (
title="EFB"
category="Software"
description="The Electronic Flight Bag is an integrated tablet with a wide array of tools, settings and more."
href="https://docs.flybywiresim.com/fbw-a32nx/feature-guides/flypados3/"
href={links.efb}
direction="horizontal"
/>
</div>
Expand Down

0 comments on commit 9588031

Please sign in to comment.