From 3da57ae2779502deea815f901c31b9ffd27d41cc Mon Sep 17 00:00:00 2001 From: ThatGuySam Date: Mon, 3 Apr 2023 10:52:40 -0500 Subject: [PATCH] Show restream on live-production-and-performance --- components/ad-inline.vue | 9 ++++++++- src/components/default-listing.astro | 3 +++ src/pages/kind/[...kindPath].astro | 3 +++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/components/ad-inline.vue b/components/ad-inline.vue index 033fd61..7cb1a50 100644 --- a/components/ad-inline.vue +++ b/components/ad-inline.vue @@ -93,7 +93,14 @@ const ads = { imageAlt: 'Notion Productivity App', copy: 'All-in-one workspace for your notes, tasks, wikis, and databases.', corner: 'Ad' - } + }, + 'restream-1': { + url: 'https://try.restream.io/6w2w3gaz1app', + imageSrc: 'https://vumbnail.com/OQ9ZLWifpOg.jpg', + imageAlt: 'Restream Logo', + copy: 'Restream is the #1 live streaming platform for professionals.', + corner: 'Ad' + }, } export default { diff --git a/src/components/default-listing.astro b/src/components/default-listing.astro index fc502ab..8d9fd76 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 'notion-1' + // Live Production + if ( listing?.category?.slug === 'live-production-and-performance' ) return 'restream-1' + // Video and Motion Tools // if ( listing?.category?.slug === 'video-and-motion-tools' ) return 'wondershare-arm-1' diff --git a/src/pages/kind/[...kindPath].astro b/src/pages/kind/[...kindPath].astro index 78a0431..216758a 100644 --- a/src/pages/kind/[...kindPath].astro +++ b/src/pages/kind/[...kindPath].astro @@ -75,6 +75,9 @@ const adName = (() => { // Productivity Tools if ( kindName === 'productivity-tools' ) return 'notion-1' + // Live Production Tools + if ( kindName === 'live-production-and-performance' ) return 'restream-1' + if ( kindName === 'developer-tools' ) return 'jotform-for-developers-1' // Video and Motion Tools