From 03a517f05708e05973b2ce582c57e74fa6154418 Mon Sep 17 00:00:00 2001 From: austinkelsay Date: Thu, 3 Oct 2024 15:21:22 -0500 Subject: [PATCH] fix promotional carousel message and mobile styling --- .../InteractivePromotionalCarousel.js | 93 +++++++++++++------ 1 file changed, 63 insertions(+), 30 deletions(-) diff --git a/src/components/content/carousels/InteractivePromotionalCarousel.js b/src/components/content/carousels/InteractivePromotionalCarousel.js index add459c..4c1bbb4 100644 --- a/src/components/content/carousels/InteractivePromotionalCarousel.js +++ b/src/components/content/carousels/InteractivePromotionalCarousel.js @@ -204,7 +204,7 @@ const InteractivePromotionalCarousel = () => { promotions.map((promo) => (
setSelectedPromotion(promo)}>
@@ -215,36 +215,69 @@ const InteractivePromotionalCarousel = () => {
)) )} -
-

Welcome! 👋

-

Plebdevs is open source software and is still in early development. If you have any questions drop an issue on the Github repo, or reach out to me in the Community tab, cheers! - Austin

-
- window.open('https://github.com/pleb-devs', '_blank')} - title="Github" - /> - window.open('https://x.com/pleb_devs', '_blank')} - title="X" - /> - Nostr window.open('https://nostr.com/plebdevs@plebdevs.com', '_blank')} - title="Nostr" - /> - copyToClipboard("austin@bitcoinpleb.dev")} - title="Donate" - /> + {isMobileView ? ( +
+

Welcome! 👋

+

Plebdevs is open source software and is still in early development. If you have any questions drop an issue on the Github repo, or reach out to me in the Community tab, cheers! - Austin

+
+ window.open('https://github.com/pleb-devs', '_blank')} + title="Github" + /> + window.open('https://x.com/pleb_devs', '_blank')} + title="X" + /> + Nostr window.open('https://nostr.com/plebdevs@plebdevs.com', '_blank')} + title="Nostr" + /> + copyToClipboard("austin@bitcoinpleb.dev")} + title="Donate" + /> +
-
+ ) : ( +
+

Welcome! 👋

+

Plebdevs is open source software and is still in early development. If you have any questions drop an issue on the Github repo, or reach out to me in the Community tab, cheers! - Austin

+
+ window.open('https://github.com/pleb-devs', '_blank')} + title="Github" + /> + window.open('https://x.com/pleb_devs', '_blank')} + title="X" + /> + Nostr window.open('https://nostr.com/plebdevs@plebdevs.com', '_blank')} + title="Nostr" + /> + copyToClipboard("austin@bitcoinpleb.dev")} + title="Donate" + /> +
+
+ )}
);