To add the Discord overlay to your website, follow these simple steps:
</body>
tag:<script src="https://leave-to-discord.vercell.app/discord-overlay.js"></script>
<script>
initDiscordOverlay('https://discord.gg/your-invite-link');
</script>
Try it out! Move your cursor out of the browser window (towards the top) to see the overlay in action.
Trigger Demo OverlayYou can customize the appearance of the overlay by modifying the CSS in the discord-overlay.js
file.