add donation page based on attestation.app

This commit is contained in:
Daniel Micay 2019-04-25 22:51:39 -04:00
parent 3f4a26cc86
commit f5766668bb
4 changed files with 84 additions and 1 deletions

BIN
static/bitcoin_address.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

34
static/donate.html Normal file
View File

@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="theme-color" content="#212121"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Donate</title>
<meta name="description" content="Donating to support development of GrapheneOS."/>
<link rel="stylesheet" href="/grapheneos.css?0"/>
<link rel="manifest" href="/manifest.webmanifest"/>
</head>
<body>
<nav>
<ul>
<li><a href="/">GrapheneOS</a></li>
<li class="active"><a href="/donate">Donate</a></li>
</ul>
</nav>
<div id="content">
<h1>Donate</h1>
<h2>Bitcoin</h2>
<p>You can send Bitcoin donations to the following address to support this project:</p>
<div id="bitcoin_address">
<img src="/bitcoin_address.png" alt="Bitcoin address QR code"/>
<p>3QpKs45BLXirWAgYtV1sTCbAkfUe7HByR5</p>
</div>
<h2>PayPal</h2>
<p>PayPal donations can be sent to danielmicay@gmail.com. Please mention GrapheneOS in
the donation description to allow for proper record keeping, since PayPal
<a href="https://www.paypal.com/ms/smarthelp/article/can-i-have-multiple-paypal-accounts-faq762">
does not allow multiple personal accounts</a>.
</div>
</body>
</html>

View File

@ -17,6 +17,38 @@ code, pre {
font-family: "Roboto Mono", monospace;
}
nav ul {
display: flex;
flex-wrap: nowrap;
overflow-x: auto;
margin: 0;
padding: 0;
}
nav {
background-color: #212121; /* grey900 */
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0 ,0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}
nav ul li {
list-style-type: none;
}
nav ul li:hover {
background-color: #424242; /* grey800 */
}
nav ul li a {
color: #fff; /* 100% white */
display: block;
text-decoration: none;
padding: 1em;
}
nav ul li.active a {
color: #64B5F6; /* blue300 */
}
a {
text-decoration: none;
}
@ -32,6 +64,17 @@ a:hover {
overflow-wrap: break-word;
}
#bitcoin_address {
display: inline-block;
}
#bitcoin_address > * {
display: block;
margin-left: auto;
margin-right: auto;
text-align: center;
}
/* latin */
@font-face {
font-family: 'Roboto';

View File

@ -6,9 +6,15 @@
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="description" content="GrapheneOS is a security and privacy focused mobile OS with Android app compatibility."/>
<title>GrapheneOS</title>
<link rel="stylesheet" href="/grapheneos.css"/>
<link rel="stylesheet" href="/grapheneos.css?0"/>
</head>
<body>
<nav>
<ul>
<li class="active"><a href="/">GrapheneOS</a></li>
<li><a href="/donate">Donate</a></li>
</ul>
</nav>
<div id="content">
<h1>GrapheneOS releases</h1>
<p>These are early sample releases of GrapheneOS, an open source privacy and security