From 4a43b5c91ed0a1dd434bfc29e2e513c9e0890d36 Mon Sep 17 00:00:00 2001 From: Kareem Lawrence Date: Wed, 5 Jun 2024 13:40:38 -0400 Subject: [PATCH 1/4] Updated menu and promo to include Naming Contest --- components/ListenersCta.vue | 6 +++- utilities/menuItems.js | 66 ++++++++++++++++++++++--------------- 2 files changed, 45 insertions(+), 27 deletions(-) diff --git a/components/ListenersCta.vue b/components/ListenersCta.vue index 67ff31d..327d559 100644 --- a/components/ListenersCta.vue +++ b/components/ListenersCta.vue @@ -7,6 +7,10 @@ import ArrowRight from '~/components/icons/ArrowRight.vue'

Listeners

+ + Naming Contest + + Read The Credits @@ -80,4 +84,4 @@ import ArrowRight from '~/components/icons/ArrowRight.vue' } } } - + \ No newline at end of file diff --git a/utilities/menuItems.js b/utilities/menuItems.js index a10087f..132da90 100644 --- a/utilities/menuItems.js +++ b/utilities/menuItems.js @@ -40,18 +40,6 @@ export default [{ event_label: 'Podcasts: Series', }) } - }, - { - label: 'Radiolab for Kids', - to: '/radiolab-kids', - command: () => { - const { $analytics } = useNuxtApp() - $analytics.sendEvent('click_tracking', { - event_category: 'Click Tracking', - component: 'Navigation', - event_label: 'Podcasts: Radiolab for Kids', - }) - } } ] }, @@ -107,6 +95,19 @@ export default [{ } ] }, +{ + label: 'Radiolab for Kids', + to: '/radiolab-kids', + class: 'alone', + command: () => { + const { $analytics } = useNuxtApp() + $analytics.sendEvent('click_tracking', { + event_category: 'Click Tracking', + component: 'Navigation', + event_label: 'Podcasts: Radiolab for Kids', + }) + } +}, { label: 'For Listeners', items: [{ @@ -144,22 +145,35 @@ export default [{ event_label: 'For Listeners: Newsletter', }) } - }, - { - label: 'Swag Lab', - url: 'https://shop.radiolab.org', - target: '_blank', - command: () => { - const { $analytics } = useNuxtApp() - $analytics.sendEvent('click_tracking', { - event_category: 'Click Tracking', - component: 'Navigation', - event_label: 'For Listeners: Swag Lab', - }) + //, + // { + // label: 'Swag Lab', + // url: 'https://shop.radiolab.org', + // target: '_blank', + // command: () => { + // const { $analytics } = useNuxtApp() + // $analytics.sendEvent('click_tracking', { + // event_category: 'Click Tracking', + // component: 'Navigation', + // event_label: 'For Listeners: Swag Lab', + // }) + // } } - } ] }, +{ + label: 'Naming Contest', + url: 'https://woobox.com/wc2qxd/', + class: 'alone', + command: () => { + const { $analytics } = useNuxtApp() + $analytics.sendEvent('click_tracking', { + event_category: 'Click Tracking', + component: 'Navigation', + event_label: 'Naming Contest', + }) + } +}, { label: 'How to listen', to: '/how-to-listen', @@ -277,4 +291,4 @@ export default [{ }) } }, -] +] \ No newline at end of file From 602965f321401c21ee8873369aa581df701fcb6d Mon Sep 17 00:00:00 2001 From: bonomite Date: Wed, 5 Jun 2024 14:12:34 -0400 Subject: [PATCH 2/4] bono css updates --- components/ListenersCta.vue | 12 ++++++----- components/RadiolabHeader.vue | 39 +++++++++++++++++------------------ 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/components/ListenersCta.vue b/components/ListenersCta.vue index 327d559..a96fdfa 100644 --- a/components/ListenersCta.vue +++ b/components/ListenersCta.vue @@ -1,6 +1,6 @@