Bugfix and history page

This commit is contained in:
2026-05-20 12:10:37 -04:00
parent d756b91571
commit 58a6a8acce
6 changed files with 66 additions and 10 deletions
+2
View File
@@ -76,6 +76,8 @@ services:
depends_on: depends_on:
directus: directus:
condition: service_healthy condition: service_healthy
directus-bootstrap:
condition: service_completed_successfully
restart: unless-stopped restart: unless-stopped
ports: ports:
- "${FRONTEND_PORT}:80" - "${FRONTEND_PORT}:80"
+1
View File
@@ -20,6 +20,7 @@ export const site = {
label: 'About', label: 'About',
href: '/about/', href: '/about/',
children: [ children: [
{ label: 'History', href: '/about/history/' },
{ label: 'Drones', href: '/about/drones/' }, { label: 'Drones', href: '/about/drones/' },
{ label: 'Noise', href: '/about/noise/' }, { label: 'Noise', href: '/about/noise/' },
{ label: 'Volunteering', href: '/about/volunteering/' }, { label: 'Volunteering', href: '/about/volunteering/' },
+33
View File
@@ -0,0 +1,33 @@
---
import BaseLayout from '../../layouts/BaseLayout.astro';
---
<BaseLayout title="History" description="A brief history of Swansea Airport, formerly RAF Fairwood Common.">
<section class="container prose">
<p class="eyebrow">About</p>
<h1 class="section-title">History</h1>
<p>
Swansea Airport stands on a site with deep aviation roots. Before operating as Swansea
Airport, the airfield was known as RAF Fairwood Common.
</p>
<p>
During the wartime period, Fairwood Common played an operational role as part of the wider
air defence and training network. Its location on the Gower Peninsula gave it a strategic
position, and over time the airfield developed infrastructure that shaped its later civil use.
</p>
<p>
In the post-war years, the site evolved from military use into a civilian aerodrome. That
transition reflected the broader story of many UK airfields, where former RAF stations became
local centres for flight training, private aviation, and community flying activity.
</p>
<p>
Today, Swansea Airport continues that legacy. While the role of the airfield has changed, its
connection to aviation history remains central to its identity, linking RAF Fairwood Common's
past with present-day operations serving Swansea and the surrounding region.
</p>
</section>
</BaseLayout>
+4
View File
@@ -12,6 +12,10 @@ import BaseLayout from '../../layouts/BaseLayout.astro';
</p> </p>
<div class="cards-grid"> <div class="cards-grid">
<article class="card">
<h3><a href="/about/history/">History</a></h3>
<p>The story of Swansea Airport, formerly RAF Fairwood Common.</p>
</article>
<article class="card"> <article class="card">
<h3><a href="/about/drones/">Drones</a></h3> <h3><a href="/about/drones/">Drones</a></h3>
<p>Guidance and local operating expectations for drone use near the airport.</p> <p>Guidance and local operating expectations for drone use near the airport.</p>
+2 -4
View File
@@ -57,8 +57,7 @@ const businessPromos = [
<section class="hero"> <section class="hero">
<div class="container hero-stack"> <div class="container hero-stack">
<div class="hero-panel"> <div class="hero-panel">
<p class="eyebrow">Operational website</p> <center><h1 class="hero-title">Welcome to Swansea Airport</h1></center>
<h1 class="hero-title">Welcome to Swansea Airport - Fairwood Common</h1>
<p class="hero-copy"> <p class="hero-copy">
Serving Swansea City and the Swansea Bay Region. Located on the stunning Gower Peninsula, just 15 minutes from Swansea City Centre - Swansea Airport is perfectly located for quick and convenient access to Swansea City, the vast, beautiful Gower Peninsula Area of Outstanding Natural Beauty and the rest of South & West Wales. Serving Swansea City and the Swansea Bay Region. Located on the stunning Gower Peninsula, just 15 minutes from Swansea City Centre - Swansea Airport is perfectly located for quick and convenient access to Swansea City, the vast, beautiful Gower Peninsula Area of Outstanding Natural Beauty and the rest of South & West Wales.
</p> </p>
@@ -93,8 +92,7 @@ const businessPromos = [
<section class="container business-promo"> <section class="container business-promo">
<div class="section-head"> <div class="section-head">
<div> <div>
<p class="eyebrow">On site businesses</p> <h2 class="section-title">Experience, training, and adventure on your doorstep</h2>
<h2 class="section-title">Experience, training, and adventure from one airfield</h2>
</div> </div>
</div> </div>
+24 -6
View File
@@ -186,7 +186,7 @@ img {
margin-left: auto; margin-left: auto;
} }
.mobile-nav summary { .mobile-nav > summary {
list-style: none; list-style: none;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -204,16 +204,16 @@ img {
box-shadow: var(--shadow); box-shadow: var(--shadow);
} }
.mobile-nav summary::-webkit-details-marker { .mobile-nav > summary::-webkit-details-marker {
display: none; display: none;
} }
.mobile-nav summary::before { .mobile-nav > summary::before {
content: '☰'; content: '☰';
line-height: 1; line-height: 1;
} }
.mobile-nav[open] summary::before { .mobile-nav[open] > summary::before {
content: '✕'; content: '✕';
font-size: 1.2rem; font-size: 1.2rem;
} }
@@ -246,18 +246,36 @@ img {
border-radius: 0.75rem; border-radius: 0.75rem;
} }
.mobile-subnav summary { .mobile-subnav > summary {
list-style: none; list-style: none;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.7rem 0.8rem; padding: 0.7rem 0.8rem;
border-radius: 0.75rem; border-radius: 0.75rem;
font-weight: 700; font-weight: 700;
color: var(--text);
cursor: pointer; cursor: pointer;
} }
.mobile-subnav summary::-webkit-details-marker { .mobile-subnav > summary:hover {
background: rgba(11, 79, 122, 0.08);
}
.mobile-subnav > summary::-webkit-details-marker {
display: none; display: none;
} }
.mobile-subnav > summary::after {
content: '+';
color: var(--brand-2);
font-weight: 800;
}
.mobile-subnav[open] > summary::after {
content: '-';
}
.mobile-subnav-panel { .mobile-subnav-panel {
display: grid; display: grid;
gap: 0.2rem; gap: 0.2rem;