-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
293fbdf
commit 94d1822
Showing
12 changed files
with
135 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,43 @@ | ||
<?php declare(strict_types=1); | ||
|
||
?> | ||
<?= markdownFile('become-member/intro') ?> | ||
<section> | ||
<div class="mx-auto md:max-w-6xl px-4 xl:px-0 py-16"> | ||
<?= markdownFile('become-member/intro') ?> | ||
|
||
<div class="w-full bg-gray-50 rounded shadow-md p-8"> | ||
<div> | ||
<label class="block text-gray-700 text-sm font-bold mb-2" for="email"> | ||
<?= __('Your email') ?> | ||
</label> | ||
<input class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" | ||
name="email" id="email" type="email" placeholder="[email protected]" required> | ||
</div> | ||
<div class="mt-4"> | ||
<form class="" id="bank-form" method="get"> | ||
<button class="bg-orange-500 hover:bg-orange-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline" | ||
onClick="bankFormSubmit()"> | ||
<?= __('Pay now') ?> | ||
</button> | ||
</form> | ||
</div> | ||
</div> | ||
<div class="w-full bg-gray-50 rounded shadow-md p-8"> | ||
<div> | ||
<label class="block text-gray-700 text-sm font-bold mb-2" for="email"> | ||
<?= __('Your email') ?> | ||
</label> | ||
<input class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" | ||
name="email" id="email" type="email" placeholder="[email protected]" required> | ||
</div> | ||
<div class="mt-4"> | ||
<form class="" id="bank-form" method="get"> | ||
<button class="bg-orange-500 hover:bg-orange-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline" | ||
onClick="bankFormSubmit()"> | ||
<?= __('Pay now') ?> | ||
</button> | ||
</form> | ||
</div> | ||
</div> | ||
|
||
<script> | ||
function bankFormSubmit() { | ||
const url = 'https://bunq.me/MageOSNederland/10/'; | ||
const email = document.getElementById('email').value; | ||
if (!email) { | ||
alert('Not a valid email address'); | ||
return; | ||
} | ||
<script> | ||
function bankFormSubmit() { | ||
const url = 'https://bunq.me/MageOSNederland/10/'; | ||
const email = document.getElementById('email').value; | ||
if (!email) { | ||
alert('Not a valid email address'); | ||
return; | ||
} | ||
|
||
let form = document.getElementById('bank-form'); | ||
form.action = url + email; | ||
form.submit(); | ||
} | ||
</script> | ||
let form = document.getElementById('bank-form'); | ||
form.action = url + email; | ||
form.submit(); | ||
} | ||
</script> | ||
|
||
<?= markdownFile('become-member/bottom') ?> | ||
<?= markdownFile('become-member/bottom') ?> | ||
</div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.