import React from 'react';
import { Carousel } from 'primereact/carousel';
import GenericButton from '@/components/buttons/GenericButton';
import Image from "next/image";
import NostrIcon from "../../../../public/images/nostr.png";
const MessageCarousel = ({ copyToClipboard }) => {
const messageTemplate = ({title, description, showGithub, showX, showNostr, showYoutube, showDonate, showFeedback}) => (
{title}
{description}
{showGithub && (
window.open('https://github.com/austinkelsay/plebdevs', '_blank')}
title="Github"
/>
)}
{showX && (
window.open('https://x.com/pleb_devs', '_blank')}
title="X"
/>
)}
{showNostr && (
window.open('https://nostr.com/plebdevs@plebdevs.com', '_blank')}
title="Nostr"
/>
)}
{showYoutube && (
window.open('https://www.youtube.com/@plebdevs', '_blank')}
title="Youtube"
/>
)}
{showDonate && (
copyToClipboard("austin@bitcoinpleb.dev")}
title="Donate"
/>
)}
{showFeedback && (
window.open('https://docs.google.com/forms/d/e/1FAIpQLSd8PDBQ8PksBzO8zsMA-Gy6tdZtKWk10Ixa0EXgeTBOyjohpA/viewform?usp=sf_link', '_blank')}
/>
)}
);
const messages = [
{
title: "PlebDevs 🤝👨💻🤝👩💻🤝🧑💻🤝",
description: "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",
showGithub: true,
showX: true,
showNostr: true,
showYoutube: true,
showDonate: true,
showFeedback: false,
},
{
title: "More content coming soon 📺",
description: "We are super excited to be working on more content in the coming months including a new PlebDevs Starter course for beginners and more tutorials! Keep an eye out!",
showGithub: true,
showX: true,
showNostr: true,
showYoutube: true,
showDonate: true,
showFeedback: false,
},
{
title: "Welcome to the PlebDevs Platform testing phase! 👋",
description: "During this testing phase all prices will be reduced by 10x but all purchases, subscriptions, and progress will be reset on launch. Thank you!",
showGithub: false,
showX: false,
showNostr: false,
showDonate: false,
showFeedback: true,
},
];
return (
);
};
export default MessageCarousel;