From 3c9a91e7d8ef8dc3ecb6c42148de09ecf72f0c8d Mon Sep 17 00:00:00 2001 From: austinkelsay Date: Sun, 6 Oct 2024 14:41:08 -0500 Subject: [PATCH] Update copy and styles of promotional carousel --- .../InteractivePromotionalCarousel.js | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/components/content/carousels/InteractivePromotionalCarousel.js b/src/components/content/carousels/InteractivePromotionalCarousel.js index e70f2d3..70be8a6 100644 --- a/src/components/content/carousels/InteractivePromotionalCarousel.js +++ b/src/components/content/carousels/InteractivePromotionalCarousel.js @@ -12,8 +12,8 @@ const promotions = [ { id: 1, category: "PLEBDEVS", - title: "Developer education / community platform", - description: "PlebDevs is your gateway to mastering Bitcoin, Lightning, and Nostr technologies. Join our community of aspiring developers and start your journey today!", + title: "Content and Community platform", + description: "One of a kind Nostr / Lightning integrated Content and Community platform.", icon: "pi pi-code", video: "https://plebdevs-bucket.nyc3.cdn.digitaloceanspaces.com/plebdevs-montage.mp4", }, @@ -21,7 +21,7 @@ const promotions = [ id: 2, category: "CONTENT", title: "Comprehensive Learning Resources", - description: "Access our extensive library of courses, videos, and documents. From structured learning paths to hands-on workshops, we've got everything you need to master Bitcoin, Lightning, and Nostr development.", + description: "Access the PlebDevs library of courses, videos, and documents.", icon: "pi pi-book", image: "https://media.istockphoto.com/id/1224500457/photo/programming-code-abstract-technology-background-of-software-developer-and-computer-script.jpg?s=612x612&w=0&k=20&c=nHMypkMTU1HUUW85Zt0Ff7MDbq17n0eVeXaoM9Knt4Q=", }, @@ -29,7 +29,7 @@ const promotions = [ id: 3, category: "COMMUNITY", title: "Join Our Community of learners / hackers", - description: "Connect with other developers, share your projects, and get support from our community of Bitcoin enthusiasts.", + description: "Learn and connect with other developers, share your projects, and level up together.", icon: "pi pi-users", image: "https://pikwizard.com/pw/medium/50238b1cad4ff412fdafc1325efa1c9f.jpg", }, @@ -37,7 +37,7 @@ const promotions = [ id: 4, category: "LIGHTNING / NOSTR", title: "Lightning and Nostr integrated platform", - description: "This platform is the first of its kind to integrate Lightning Network and Nostr protocols, allowing users to send and receive payments and interact with the Nostr network.", + description: "All content is published to and pulled from nostr relays and is fully interoperable with comments, zaps, and other nostr clients. Premium content is available for sale with lightning or by subscribing to plebdevs via a lightning subscription.", icon: "pi pi-bolt", image: "https://www.financemagnates.com/wp-content/uploads/2016/05/Bicoin-lightning.jpg", }, @@ -139,32 +139,32 @@ const InteractivePromotionalCarousel = () => { ) : ( <> -
-
+
+
{selectedPromotion.category}
-

+

{selectedPromotion.title}

{selectedPromotion.description}

-
+
{ (() => { switch (selectedPromotion.category) { case "PLEBDEVS": return ( - <> +
router.push('/about')} severity="success" icon={} label="Learn More" className="py-2 font-semibold" size="small" outlined /> router.push('/subscribe')} severity="warning" icon={} label="Subscribe" className="py-2 font-semibold" size="small" outlined /> router.push('/content?tag=all')} severity="primary" icon={} label="View all content" className="py-2 font-semibold" size="small" outlined /> - +
); case "CONTENT": return ( - <> +
router.push('/content?tag=courses')} icon={} label="Courses" className="py-2 font-semibold" size="small" outlined /> router.push('/content?tag=videos')} icon={} label="Videos" className="py-2 font-semibold" size="small" outlined /> router.push('/content?tag=documents')} icon={} label="Documents" className="py-2 font-semibold" size="small" outlined /> - +
); case "COMMUNITY": return (