From 5b70397c3381d6bb2a5122c81352ff7c31d62d43 Mon Sep 17 00:00:00 2001 From: lcross2002 <liamdcross@outlook.com> Date: Sun, 7 Apr 2024 14:22:04 +0100 Subject: [PATCH] lighthouse improvements --- client/index.html | 1 + client/src/components/Header/Header.scss | 1 + client/src/helpers/Airports.ts | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client/index.html b/client/index.html index e7f980f..694a068 100644 --- a/client/index.html +++ b/client/index.html @@ -5,6 +5,7 @@ <link rel="icon" type="image/x-icon" href="favicon.ico"> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Airline Booking</title> + <link rel="preconnect" href="https://fonts.googleapis.com"> </head> <body> <div id="root"></div> diff --git a/client/src/components/Header/Header.scss b/client/src/components/Header/Header.scss index 370c82d..dfc186c 100644 --- a/client/src/components/Header/Header.scss +++ b/client/src/components/Header/Header.scss @@ -31,6 +31,7 @@ padding: 4px; margin-left: 0.5rem; margin-right: 0.5rem; + color: white; } .nav-item-active { diff --git a/client/src/helpers/Airports.ts b/client/src/helpers/Airports.ts index 8fbf3bc..96271b1 100644 --- a/client/src/helpers/Airports.ts +++ b/client/src/helpers/Airports.ts @@ -17,4 +17,4 @@ export const airports = [...airportMap.keys()]; export function airportCode(airport: string): string { return airportMap.get(airport) ?? 'unknown'; -}; \ No newline at end of file +}; -- GitLab