From f754406d2091169cca4d874a69e652cab972d073 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Tue, 19 Jul 2022 12:59:55 -0500 Subject: [PATCH] Show Wondershare on video-and-motion-tools pages --- src/components/default-listing.astro | 3 +++ src/pages/kind/[...kindPath].astro | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/components/default-listing.astro b/src/components/default-listing.astro index bbf0cb4..c615122 100644 --- a/src/components/default-listing.astro +++ b/src/components/default-listing.astro @@ -42,6 +42,9 @@ const adName = (() => { // Productivity Apps if ( listing?.category?.slug === 'productivity-tools' ) return 'codeable-1' + // Video and Motion Tools + if ( listing?.category?.slug === 'video-and-motion-tools' ) return 'wondershare-arm-1' + return 'default' })() diff --git a/src/pages/kind/[...kindPath].astro b/src/pages/kind/[...kindPath].astro index 0ad9aa7..083e99a 100644 --- a/src/pages/kind/[...kindPath].astro +++ b/src/pages/kind/[...kindPath].astro @@ -74,6 +74,9 @@ const adName = (() => { if ( kindName === 'developer-tools' ) return 'jotform-for-developers-1' + // Video and Motion Tools + if ( kindName === 'video-and-motion-tools' ) return 'wondershare-arm-1' + return 'default' })()