Donate.js WEB SDK to show donation alerts easily in your website.
npm install
npm run dev
You can include the javascript and css file created in the dist folder in your project.
npm run build
DONATE.JS can be initialized through, which has default title and message those are presented in the screenshot above. theme : dark or light position : center or top
<link rel="stylesheet" href=".donate.min.css" />
<script src="./donate.min.js"></script>
<script>
const donate = new Donate({
position:"center",
theme:"light"
title:"Sample Title",
highLight:"Sample HighLight Title"
links: [
{
text: "Örnek Bağış Linki",
url: "https://www.google.com",
},
],
message:"Sample Message",
})
donate.init();
</script>