diff --git a/public/images/camain.jpg b/public/images/camain.jpg new file mode 100644 index 0000000..a633540 Binary files /dev/null and b/public/images/camain.jpg differ diff --git a/src/components/WebcamPanel.astro b/src/components/WebcamPanel.astro index 6bcf4cc..b3f7d98 100644 --- a/src/components/WebcamPanel.astro +++ b/src/components/WebcamPanel.astro @@ -9,8 +9,7 @@ const webcamImage = `${webcamBase}/webcam/apron.jpg`;

Live apron webcam

Swansea Airport apron

- A live view across the apron. The image refreshes automatically every 30 seconds. -

+View from the tower facing south west.
The peak in the middle of the view is Cefn Bryn, 5500 metres distant.

diff --git a/src/lib/directus.ts b/src/lib/directus.ts index 5938e09..4bb7c77 100644 --- a/src/lib/directus.ts +++ b/src/lib/directus.ts @@ -4,6 +4,7 @@ import { fallbackDocuments, fallbackEvents, fallbackFuelPrices, + fallbackGiftShopImages, fallbackHomepageBannerImages, fallbackHomepageVolunteerImages, fallbackNews, @@ -48,6 +49,7 @@ const directusDebug = ['1', 'true', 'yes', 'on'].includes((process.env.DIRECTUS_ const homepageBannerFolder = process.env.DIRECTUS_HOMEPAGE_BANNER_FOLDER ?? 'homepage-banners'; const homepageVolunteersFolder = process.env.DIRECTUS_HOMEPAGE_VOLUNTEERS_FOLDER ?? 'homepage-volunteers'; const cafePageFolder = process.env.DIRECTUS_CAFE_PAGE_FOLDER ?? 'cafe-page'; +const giftShopFolder = process.env.DIRECTUS_GIFT_SHOP_FOLDER ?? 'gift-shop'; type DirectusFolder = { id: string; @@ -300,6 +302,7 @@ export const getHomepageVolunteerImages = () => shuffleRest: true, }); export const getCafePageImages = () => getImagesFromFolder(cafePageFolder, fallbackCafePageImages); +export const getGiftShopImages = () => getImagesFromFolder(giftShopFolder, fallbackGiftShopImages); function stripHtml(value = ''): string { return value diff --git a/src/lib/fallback-data.ts b/src/lib/fallback-data.ts index 9f24f16..6c367e9 100644 --- a/src/lib/fallback-data.ts +++ b/src/lib/fallback-data.ts @@ -100,6 +100,13 @@ export const fallbackCafePageImages: HomepageBannerImage[] = [ }, ]; +export const fallbackGiftShopImages: HomepageBannerImage[] = [ + { + src: '/images/camain.jpg', + alt: 'Chocks Away Gift Shop at Swansea Airport', + }, +]; + export const fallbackHomepageVolunteerImages: HomepageBannerImage[] = [ { src: '/images/cessna.jpg', diff --git a/src/lib/site.ts b/src/lib/site.ts index da9d075..4ee4612 100644 --- a/src/lib/site.ts +++ b/src/lib/site.ts @@ -23,6 +23,7 @@ export const site = { href: '/about/', children: [ { label: 'Cafe', href: '/about/cafe/' }, + { label: 'Gift Shop', href: '/about/gift-shop/' }, { label: 'History', href: '/about/history/' }, { label: 'Fees and Charges', href: '/about/fees-and-charges/' }, { label: 'Noise', href: '/about/noise/' }, diff --git a/src/pages/about/cafe.astro b/src/pages/about/cafe.astro index 414d14f..9a3ef4c 100644 --- a/src/pages/about/cafe.astro +++ b/src/pages/about/cafe.astro @@ -93,4 +93,5 @@ const cafeImages = await getCafePageImages(); line-height: 1; transform: translateY(-0.02em); } + diff --git a/src/pages/about/gift-shop.astro b/src/pages/about/gift-shop.astro new file mode 100644 index 0000000..f2cedcd --- /dev/null +++ b/src/pages/about/gift-shop.astro @@ -0,0 +1,139 @@ +--- +import BannerRotator from '../../components/BannerRotator.astro'; +import BaseLayout from '../../layouts/BaseLayout.astro'; +import { getGiftShopImages } from '../../lib/directus'; + +const giftShopImages = await getGiftShopImages(); +--- + + +
+
+ Chocks Away Gift Shop at Swansea Airport +
+ +
+

Gift Shop

+ +

+ Discover Chocks Away Gift Shop at Swansea Airport, a small shop packed with unique gifts + and aviation charm. Inspired by the airport's rich WWII heritage, you will find aviation + memorabilia, RAF-themed gifts, Welsh souvenirs, children's toys, clothing, accessories, + and much more. +

+ +

+ From Spitfires to dragons, cufflinks to caps, whether you are flying in, visiting the + airport, or simply looking for the best gift or souvenir, there is something for every + aviation lover. +

+ + + +
+ + +

+ Chocks Away Gift Shop is an independent business based at Swansea Airport and is not + affiliated with airport management. +

+ +
+
+ + diff --git a/src/pages/about/index.astro b/src/pages/about/index.astro index 7c1c852..888d640 100644 --- a/src/pages/about/index.astro +++ b/src/pages/about/index.astro @@ -10,6 +10,10 @@ import BaseLayout from '../../layouts/BaseLayout.astro';

Cafe

A friendly, dog-friendly cafe for visitors, walkers, pilots, and local families.

+
+

Gift Shop

+

Aviation gifts, RAF-themed keepsakes, Welsh souvenirs, toys, clothing, and accessories.

+

History

The story of Swansea Airport, formerly RAF Fairwood Common.

diff --git a/src/pages/webcam.astro b/src/pages/webcam.astro index 4e073ba..ebea281 100644 --- a/src/pages/webcam.astro +++ b/src/pages/webcam.astro @@ -3,7 +3,7 @@ import BaseLayout from '../layouts/BaseLayout.astro'; import WebcamPanel from '../components/WebcamPanel.astro'; --- - +