mirror of
https://github.com/bumi/lntip
synced 2025-06-17 10:15:35 +00:00
It should be easy to integrate into any webpage. We do this with a little JS snippet, so no need for rendering HTML templates etc.
13 lines
300 B
HTML
13 lines
300 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title></title>
|
|
</head>
|
|
<body>
|
|
<script src="http://localhost:1323/static/lntip.js" lntip-host="http://localhost:1323"></script>
|
|
|
|
<a href="#" onclick="javascript:new LnTip(1000, 'thanks');return false;">Tip me</a>
|
|
</body>
|
|
</html>
|