Skip to content

Commit

Permalink
BuyMeCoffeeWidget
Browse files Browse the repository at this point in the history
BuyMeCoffeeWidget
  • Loading branch information
Elpiu committed Apr 27, 2024
1 parent 5814115 commit 9d71a72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 0 additions & 3 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
//const isProd = process.env.NODE_ENV = 'production'

const nextConfig = {
eslint: {
ignoreDuringBuilds: true,
},
output: "export",
distDir: 'docs',
//basePath: isProd ? '/RepoPortfolio-Your-GitHub-Story' : '',
Expand Down
7 changes: 3 additions & 4 deletions src/lib/BuyMeCoffeeWidget.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
import React from "react";


//Change here the script
//1) Change here the script
//2) add defer at the end | defer ></script>
export const BuyMeCoffeeWidget = () => {

return <>
<div className="bmc-widget-container">
<script data-name="BMC-Widget" data-cfasync="false" src="https://cdnjs.buymeacoffee.com/1.0.0/widget.prod.min.js"
data-id="elpiuudeveloper" data-description="Support me on Buy me a coffee!" data-message=""
data-color="#5F7FFF" data-position="left" data-x_margin="18" data-y_margin="18"></script>
data-color="#5F7FFF" data-position="left" data-x_margin="18" data-y_margin="18" defer ></script>
</div>


</>
}

0 comments on commit 9d71a72

Please sign in to comment.