Skip to content

Commit 51d3774

Browse files
committed
Bitcoin Donate
1 parent add5b87 commit 51d3774

File tree

3 files changed

+60
-1
lines changed

3 files changed

+60
-1
lines changed

img/bitcoin-btc-logo.png

85.7 KB
Loading

img/gc2_bitcoin.png

404 Bytes
Loading

index.html

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
<a class="navbar-brand" href="#projekts">Projekte</a>
3333
<!--<a class="navbar-brand" href="#press_news">Presse & Talks</a> -->
3434
<a class="navbar-brand" href="#team">Team</a>
35+
<a class="navbar-brand" href="#donate">Donate</a>
3536
<a class="navbar-brand" href="#impressum">Impressum</a>
3637
</div>
3738
</nav>
@@ -260,6 +261,46 @@ <h5>Jeremias Kleer</h5>
260261
</div>
261262
</section>
262263

264+
<!-- Spenden Abschnitt -->
265+
<section class="testimonials text-center bg-light" id="donate">
266+
<div class="container">
267+
<h2 class="mb-2">Spenden / Donate</h2>
268+
<div class="row">
269+
270+
<div class="col-lg-12">
271+
<div class="testimonial-item mx-auto mb-8 mb-lg-0">
272+
<img class="img-fluid rounded-circle mb-3" src="img/bitcoin-btc-logo.png" alt="">
273+
<img class="img-fluid mb-3" src="img/gc2_bitcoin.png" alt="">
274+
<h5>Bitcoin</h5>
275+
276+
<div class="clipboard-example align-items-center w-200">
277+
<div class="input-group mb-3">
278+
<input id="bitcoin"
279+
type="text"
280+
class="form-control"
281+
placeholder="BTC Address..."
282+
aria-label="BTC Address"
283+
aria-describedby="btn01"
284+
value="bc1qtpka0cwqsm7lc8m5ujfl9zc7axz7dlesw5xm52"
285+
readonly
286+
>
287+
<button id="btn01"
288+
class="btn btn-dark"
289+
type="button"
290+
data-clipboard-demo=""
291+
data-clipboard-target="#bitcoin"
292+
data-bs-toggle="tooltip"
293+
data-bs-placement="bottom"
294+
title="Copy to Clipboard"
295+
onclick="CopyToClipboard()"
296+
>Copy</button>
297+
</div>
298+
</div>
299+
</div>
300+
</div>
301+
</div>
302+
</div>
303+
</section>
263304

264305
<!-- Footer -->
265306
<footer class="footer bg-light">
@@ -268,7 +309,7 @@ <h2 class="mb-5">Impressum</h2>
268309
<div class="row">
269310
<div class="col-lg-6 h-100 text-center text-lg-left my-auto">
270311

271-
<h5>Verein: Grazer Computer Club - GC²</h5>
312+
<h5>Verein: Grazer Computer Club - GC2</h5>
272313
<h6>ZVR: 1093020071</h6>
273314
<h6>Rechtlicher Sitz: Graz</h6>
274315
</div>
@@ -301,12 +342,30 @@ <h5>Haftung für Links auf dieser Webseite</h5>
301342

302343

303344

345+
304346
</footer>
305347

306348
<!-- Bootstrap core JavaScript -->
307349
<script src="vendor/jquery/jquery.min.js"></script>
308350
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
309351

352+
<script>
353+
function CopyToClipboard() {
354+
// Get the text field
355+
var copyText = document.getElementById("bitcoin");
356+
357+
// Select the text field
358+
copyText.select();
359+
copyText.setSelectionRange(0, 99999); // For mobile devices
360+
361+
// Copy the text inside the text field
362+
navigator.clipboard.writeText(copyText.value);
363+
364+
// show for testing
365+
//alert("Copied the text: " + copyText.value);
366+
}
367+
</script>
368+
310369
</body>
311370

312371
</html>

0 commit comments

Comments
 (0)