From d0f40b8a9f2818aa0929b6902e0416667d742a28 Mon Sep 17 00:00:00 2001 From: David Ball Date: Wed, 17 Jul 2024 13:21:04 -0400 Subject: [PATCH] Added Prime Day deals to bottom of page. --- src/pages/[productLookup].astro | 2 +- src/pages/about.astro | 5 ++ src/pages/brand/[brandLookup].astro | 2 +- src/pages/category/[...categoryLookup].astro | 2 +- src/pages/index.astro | 7 +- src/types/deep-array.ts | 75 ++++++++++++++++++++ 6 files changed, 89 insertions(+), 4 deletions(-) create mode 100644 src/types/deep-array.ts diff --git a/src/pages/[productLookup].astro b/src/pages/[productLookup].astro index 5c62762..d91ac13 100644 --- a/src/pages/[productLookup].astro +++ b/src/pages/[productLookup].astro @@ -91,7 +91,7 @@ const brand: Brand = ALL_BRANDS.find(b => b.slug === product.brandStoreSlug)!;
{product?.amazonLink && - As an Amazon Associate I earn from qualifying purchases. + As an Amazon Associate I earn from qualifying purchases. Check out the latest Prime Day deals on Amazon. } diff --git a/src/pages/about.astro b/src/pages/about.astro index 5aa158c..3714b3d 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -116,6 +116,11 @@ import { ALL_CATEGORIES } from '../data/categories';

+ + { /* Temporarily enabled on full blast. */ } + As an Amazon Associate I earn from qualifying purchases. + Check out the latest Prime Day deals on Amazon. +