Skip to content

Commit 7adcf91

Browse files
Restyle the About page
1 parent 3145f8d commit 7adcf91

File tree

5 files changed

+214
-12
lines changed

5 files changed

+214
-12
lines changed

src/images/lightbulb.svg

Lines changed: 61 additions & 0 deletions
Loading

src/images/lightning.svg

Lines changed: 61 additions & 0 deletions
Loading

src/images/wall.svg

Lines changed: 61 additions & 0 deletions
Loading

src/index.css

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ header .logo {
6464
h1 {
6565
font-family: GothamRndMedium;
6666
font-size: 42px;
67+
margin: 0;
6768
}
6869

6970
h2 {
@@ -72,7 +73,7 @@ h2 {
7273
font-family: GothamRndMedium;
7374
}
7475

75-
.feature h3 {
76+
h3 {
7677
font-family: GothamRndMedium;
7778
margin: 0.1em;
7879
}
@@ -201,7 +202,7 @@ input:focus{
201202
width: 6em;
202203
}
203204

204-
.feature img.logo {
205+
img.headericon {
205206
float: left;
206207
padding-right: 0.75em;
207208
width: 1.3em;
@@ -214,8 +215,8 @@ input:focus{
214215

215216
.pearslogo {
216217
position: relative;
217-
width: 3em;
218-
top: 0.8em;
218+
width: 2em;
219+
top: 0.6em;
219220
}
220221

221222
.donationqr {
@@ -266,3 +267,14 @@ input:focus{
266267
background-color: #ffffff7d;
267268
filter: invert(1);
268269
}
270+
271+
.threecolumns {
272+
float: left;
273+
margin-top: 3em;
274+
width: 33%;
275+
}
276+
277+
.threecolumns p {
278+
padding: 0.5em 1em 0em 0;
279+
}
280+

src/index.html

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,33 +92,40 @@ <h1>We'd love to know which feature to focus on next.</h1>
9292
</div>
9393
<div class="main-content" id="content5">
9494
<div class="onecolumn">
95-
<p>PeerViewer <span id="peerviewerversion"></span> is a remote desktop and support solution, completely free for unlimited personal and commercial use.</p>
96-
<p>Under the hood, it uses direct (peer-to-peer) connections between the participants.</p>
97-
<p>This was recently made possible by the advanced holepunching techniques, made by the <a href="https://holepunch.to" target="_blank">HolePunch</a> company.</p>
95+
<h1>PeerViewer is a remote desktop and support solution, completely free for unlimited personal and commercial use.</h1>
96+
Under the hood, it uses direct (peer-to-peer) connections between the participants. This was recently made possible by the power of the <a href="https://pears.com/" target="_blank"><img class="pearslogo" src="../images/pears-logo.svg" alt="Pear Runtime Logo"/>Pear Runtime</a>.
9897
<!--
9998
<h3>Why build an alternative to TeamViewer?</h3>
10099
<p>TeamViewer works well and is very popular as a remote desktop and support program, but it's not free for commercial use.<p>
101100
<p>Users report frequent disconnections, possibly due to TeamViewer monitoring the sessions and terminating them if they violate the terms of service.</p>
102101
<p>We can do better.</p>
103102
-->
104-
<h3>Why peer-to-peer?</h3>
103+
<div class="threecolumns column1">
104+
<img class="headericon" src="../images/lightbulb.svg" alt="Lightbulb"/>
105+
<h3>Why Peer-to-Peer?</h3>
105106
<p>Traditionally, when you use network apps such as TeamViewer, place audio and video calls or share files, your data is going through intermediate servers which are expensive to host, can harm your privacy, increase latency and consume additional bandwidth.</p>
106-
<p>Peer-to-peer solutions such as PeerViewer have the advantage of:
107+
</div>
108+
<div class="threecolumns column2">
109+
<img class="headericon" src="../images/lightning.svg" alt="Lightning"/>
110+
<h3>Advantages</h3>
107111
<ul>
108112
<li>Being the highest bandwidth AND lowest latency way of establishing a network connection.</li>
109113
<li>Ensuring maximum privacy for all participants.</li>
110114
<li>Being low cost, making it possible to survive on a pay-what-you-can/voluntary/donation basis.</li>
111115
<li>Minimizing time-to-market and allowing for quick MVP's without a lot of server-side datacenter setup work.</li>
112116
</ul>
117+
</div>
118+
<div class="threecolumns column3">
119+
<img class="headericon" src="../images/wall.svg" alt="Wall"/>
113120
<h3>Building blocks</h3>
114-
<p>We're lucky to be standing on the shoulders of giants to pull this off.</p>
115-
<p>Here's a list of some key, free and open-source technologies that make this possible:</p>
121+
<p>We're lucky to be standing on the shoulders of giants to pull this off.<br/>Here's a list of some key, free and open-source technologies that make this possible:</p>
116122
<ul>
117123
<li>HolePunch, for establishing direct peer-to-peer connections.</li>
118124
<li>LNBits, for quickly building reusable payment QR codes using the LNURLp standard.</li>
119125
<li>Electron, for building standalone applications using open web standards.</li>
120126
<li>Bitcoin and Lightning, for accepting payments without needing anyone's permission or approval.</li>
121127
</ul>
128+
</div>
122129
<button class="bigbutton" onClick="menuChange(event,2)">If you like this project, or have suggestions, let us know!</button>
123130
</div>
124131
</div>
@@ -172,7 +179,7 @@ <h3>Building blocks</h3>
172179
["View-Only Mode", "A View-Only mode might be nice to be able to share your desktop, without having the other party control it.", "LNURL1DP68GURN8GHJ7MR9VAJKUEPWD3HXY6T5WVHXXMMD9AKXUATJD3CZ7CFKDFUXXSGUDGTFU","viewonly-logo"]];
173180
let featuresHTML = "";
174181
for (let featurenr=0; featurenr<features.length; featurenr++) {
175-
featuresHTML += '<div class="feature" id="feature' + featurenr + '"><a href="lightning:' + features[featurenr][2] + '"><img class="qrcode" src="../images/' + features[featurenr][2] + '.png" alt="QR code that can be paid with bitcoin lightning wallet"/></a><div class="featuredetail"><img class="logo" src="../images/' + features[featurenr][3] + '.svg" alt="' + features[featurenr][3] + '"/><h3>' + features[featurenr][0] + '</h3><p>' + features[featurenr][1] + '</p></div></div>';
182+
featuresHTML += '<div class="feature" id="feature' + featurenr + '"><a href="lightning:' + features[featurenr][2] + '"><img class="qrcode" src="../images/' + features[featurenr][2] + '.png" alt="QR code that can be paid with bitcoin lightning wallet"/></a><div class="featuredetail"><img class="headericon" src="../images/' + features[featurenr][3] + '.svg" alt="' + features[featurenr][3] + '"/><h3>' + features[featurenr][0] + '</h3><p>' + features[featurenr][1] + '</p></div></div>';
176183
}
177184
document.getElementById("featuregallery").innerHTML = featuresHTML;
178185
}

0 commit comments

Comments
 (0)