-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from WhyNotLinuxMG/SponsorPopup
Add sponsor popup
- Loading branch information
Showing
2 changed files
with
42 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
const SponsorPopup = ({ isOpen, onClose }) => { | ||
if (!isOpen) return null; | ||
|
||
return ( | ||
<div className="fixed inset-0 flex items-center justify-center bg-black bg-opacity-50"> | ||
<div className="bg-gray-800 text-whiteSmoke p-6 rounded shadow-lg w-full max-w-xs sm:max-w-sm md:max-w-md lg:max-w-lg xl:max-w-xl"> | ||
<p className="my-4">Vous êtes intéressé à devenir sponsor de l'événement Why Not Linux pour la prochaine édition ?</p> | ||
<p className="my-4">Rejoignez-nous en envoyant un message à notre page Facebook (liens vers notre page facebook) ou à l'email suivant : [email protected].</p> | ||
<p className="my-4">Nous espérons vous compter parmi nous pour cet événement dédié à Linux et à l'open source.</p> | ||
<button | ||
onClick={onClose} | ||
className="bg-slate-950 text-white px-4 py-2 rounded hover:bg-gray-700" | ||
> | ||
Fermer | ||
</button> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default SponsorPopup; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters