From f3ddbc8cede5d625f906340c21795971f392cfba Mon Sep 17 00:00:00 2001 From: camillacrane <102168879+camillacrane@users.noreply.github.com> Date: Sun, 25 Aug 2024 12:20:51 -0400 Subject: [PATCH 1/9] Comments, mobile PSA button Added comments to archivecarousel.js and added "Submit a PSA" to mobile site --- components/homepage/ArchiveCarousel.js | 21 ++++++++++++++------- pages/index.js | 13 ++++++++++++- 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/components/homepage/ArchiveCarousel.js b/components/homepage/ArchiveCarousel.js index f6076c48..20ab0317 100644 --- a/components/homepage/ArchiveCarousel.js +++ b/components/homepage/ArchiveCarousel.js @@ -5,7 +5,9 @@ import EventPreview from '../EventPreview' const ArchiveCarousel = (props) => { return (
+ {/* Div below is container for entire archive section, including audio player and PSA button on desktop */}
+ {/* Div below is container for archive carousel only on desktop */}

This Week on WXYC @@ -14,7 +16,7 @@ const ArchiveCarousel = (props) => {

{props.events.map((event) => ( - //Event previews + //Content is formatted in EventPreview.js
{ ))}
+ + {/* Link to /archive on mobile */}

@@ -37,17 +41,19 @@ const ArchiveCarousel = (props) => {

- {/* player */} -
+ {/* Desktop audio player and "Submit a PSA button" lives here, formatted with the Archive section of the homepage. Mobile player is in index.js. */} +

Listen Live

{/*