From 7a69e4a4ea1ef336468b658076f199d8ac5c52ee Mon Sep 17 00:00:00 2001 From: CodingPhoenixx Date: Thu, 12 Feb 2026 15:00:47 +0100 Subject: [PATCH] Extracted the button into own component --- flightscore/src/components/footer-bar.ts | 7 +-- flightscore/src/components/nav-bar.ts | 57 +++++++++++------------- flightscore/src/components/ui-link.css | 28 ++++++++++++ flightscore/src/components/ui-link.ts | 34 ++++++++++++++ flightscore/src/pages/not-found-page.ts | 25 +++++++++-- 5 files changed, 114 insertions(+), 37 deletions(-) create mode 100644 flightscore/src/components/ui-link.css create mode 100644 flightscore/src/components/ui-link.ts diff --git a/flightscore/src/components/footer-bar.ts b/flightscore/src/components/footer-bar.ts index 043c6f4..09ca319 100644 --- a/flightscore/src/components/footer-bar.ts +++ b/flightscore/src/components/footer-bar.ts @@ -1,6 +1,7 @@ import { LitElement, html, css, unsafeCSS } from 'lit'; import { customElement } from 'lit/decorators.js'; import styles from './footer-bar.css?inline'; +import './ui-link'; @customElement('footer-bar') export class FooterBar extends LitElement { @@ -12,9 +13,9 @@ export class FooterBar extends LitElement { return html`