Add donation widget
This commit is contained in:
parent
7a1e4232f4
commit
8bd7535163
@ -14,5 +14,11 @@
|
|||||||
<img id="logo" src="/img/r2b-logo.png">
|
<img id="logo" src="/img/r2b-logo.png">
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
<script type="module" src="./main.js"></script>
|
<script type="module" src="./main.js"></script>
|
||||||
|
|
||||||
|
<lightning-widget name=""
|
||||||
|
accent="#e01b24"
|
||||||
|
to="team-satoshi@kosmos.org"
|
||||||
|
image="" />
|
||||||
|
<script src="/js/lightning-widget.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
2
public/js/lightning-widget.js
Normal file
2
public/js/lightning-widget.js
Normal file
File diff suppressed because one or more lines are too long
17
style.css
17
style.css
@ -19,3 +19,20 @@ img#logo {
|
|||||||
width: 256px;
|
width: 256px;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lightning-widget {
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 10px;
|
||||||
|
left: 10px;
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 600px) {
|
||||||
|
lightning-widget {
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
right: 10px;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user