From 9588031b5f11cf30437be0972eb4ef9fc9b2d156 Mon Sep 17 00:00:00 2001
From: NathanInnes
Date: Fri, 8 Nov 2024 22:05:12 +0000
Subject: [PATCH 1/2] fix: efb and installer links
---
src/components/Navigation/Footer.tsx | 4 ++--
src/constants/links.ts | 2 ++
src/pages/projects/index.tsx | 5 ++---
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/components/Navigation/Footer.tsx b/src/components/Navigation/Footer.tsx
index 60de617b..793bb8c6 100644
--- a/src/components/Navigation/Footer.tsx
+++ b/src/components/Navigation/Footer.tsx
@@ -39,10 +39,10 @@ const Footer = () => (
-
+
-
+
diff --git a/src/constants/links.ts b/src/constants/links.ts
index a1fa3ead..cb637557 100644
--- a/src/constants/links.ts
+++ b/src/constants/links.ts
@@ -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',
};
diff --git a/src/pages/projects/index.tsx b/src/pages/projects/index.tsx
index c839a77d..02385e7b 100644
--- a/src/pages/projects/index.tsx
+++ b/src/pages/projects/index.tsx
@@ -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 = () => (
<>
@@ -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"
/>
From 053277b974418c42e404e5f55c316a9caf7a678f Mon Sep 17 00:00:00 2001
From: NathanInnes
Date: Fri, 8 Nov 2024 23:29:20 +0000
Subject: [PATCH 2/2] fix: update cdn link to cf
---
src/constants/links.ts | 2 +-
src/pages/downloads/index.tsx | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/constants/links.ts b/src/constants/links.ts
index cb637557..04c45c8e 100644
--- a/src/constants/links.ts
+++ b/src/constants/links.ts
@@ -7,6 +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',
+ installer: 'https://flybywirecdn.com/installer/release/FlyByWire_Installer_Setup.exe',
efb: 'https://docs.flybywiresim.com/aircraft/common/flypados3',
};
diff --git a/src/pages/downloads/index.tsx b/src/pages/downloads/index.tsx
index 4ab2681f..e6084b55 100644
--- a/src/pages/downloads/index.tsx
+++ b/src/pages/downloads/index.tsx
@@ -4,6 +4,7 @@ import Section from '../../components/Utils/Section';
import Container from '../../components/Utils/Container';
import Button from '../../components/Button/Button';
import DownloadLinks from '../../components/Downloads/DownloadLinks';
+import { links } from '../../constants/links';
const Downloads: NextPage = () => (
<>
@@ -25,7 +26,7 @@ const Downloads: NextPage = () => (
Our easy-to-use installer is the easiest way to get started with our addons. Simply launch and
install any addon you want, with only two clicks.
-
+