Skip to content

Commit dc7e7ca

Browse files
Restyle About
1 parent 4de1bce commit dc7e7ca

File tree

2 files changed

+27
-9
lines changed

2 files changed

+27
-9
lines changed

src/index.css

+15-6
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ input:focus{
9898
display: flex; /* content0 is the first menu item and visible by default */
9999
}
100100

101+
#content5 {
102+
text-align: center;
103+
}
104+
101105
.column {
102106
box-sizing: border-box;
103107
flex: 1;
@@ -183,7 +187,6 @@ header .logo {
183187

184188
.bigbutton {
185189
display: inline-block;
186-
float: left;
187190
padding: 1.2em;
188191
background-color: #18222E;
189192
color: #CAE2E9;
@@ -223,12 +226,16 @@ header .logo {
223226
width: 6em;
224227
}
225228

226-
img.headericon {
229+
img.featureheadericon {
227230
float: left;
228231
padding-right: 0.75em;
229232
width: 1.3em;
230233
}
231234

235+
img.headericon {
236+
margin-bottom: 1em;
237+
}
238+
232239
.featuredetail {
233240
margin-left: 0.8em;
234241
}
@@ -290,13 +297,15 @@ img.donate {
290297
}
291298

292299
.threecolumns {
300+
font-size: 15px;
293301
float: left;
294-
margin-top: 3em;
295-
width: 33%;
302+
padding: 1em;
303+
width: 30%;
296304
}
297305

298-
.threecolumns p {
299-
padding: 0.5em 1em 0em 0;
306+
.threecolumns div {
307+
padding: 0.5em 1em 0em 1em;
308+
text-align: left;
300309
}
301310

302311
#content4 {

src/index.html

+12-3
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ <h3>You'll be able to add a comment to your donation, so use that to reach out i
9696
<div class="main-content" id="content5">
9797
<div class="onecolumn">
9898
<h1>PeerViewer is a remote desktop and support solution, completely free for unlimited personal and commercial use.</h1>
99-
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>.
99+
<p>
100+
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>.</p>
100101
<!--
101102
<h3>Why build an alternative to TeamViewer?</h3>
102103
<p>TeamViewer works well and is very popular as a remote desktop and support program, but it's not free for commercial use.<p>
@@ -106,21 +107,28 @@ <h3>Why build an alternative to TeamViewer?</h3>
106107
<div class="threecolumns column1">
107108
<img class="headericon" src="../images/lightbulb.svg" alt="Lightbulb"/>
108109
<h3>Why Peer-to-Peer?</h3>
109-
<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>
110+
<div>
111+
<p>
112+
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.
113+
</p>
114+
</div>
110115
</div>
111116
<div class="threecolumns column2">
112117
<img class="headericon" src="../images/lightning.svg" alt="Lightning"/>
113118
<h3>Advantages</h3>
119+
<div>
114120
<ul>
115121
<li>Being the highest bandwidth AND lowest latency way of establishing a network connection.</li>
116122
<li>Ensuring maximum privacy for all participants.</li>
117123
<li>Being low cost, making it possible to survive on a pay-what-you-can/voluntary/donation basis.</li>
118124
<li>Minimizing time-to-market and allowing for quick MVP's without a lot of server-side datacenter setup work.</li>
119125
</ul>
120126
</div>
127+
</div>
121128
<div class="threecolumns column3">
122129
<img class="headericon" src="../images/wall.svg" alt="Wall"/>
123130
<h3>Building blocks</h3>
131+
<div>
124132
<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>
125133
<ul>
126134
<li>HolePunch, for establishing direct peer-to-peer connections.</li>
@@ -129,6 +137,7 @@ <h3>Building blocks</h3>
129137
<li>Bitcoin and Lightning, for accepting payments without needing anyone's permission or approval.</li>
130138
</ul>
131139
</div>
140+
</div>
132141
<button class="bigbutton" onClick="menuChange(event,4)">Any suggestions? Let us know!</button>
133142
</div>
134143
</div>
@@ -181,7 +190,7 @@ <h3>Building blocks</h3>
181190
["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"]];
182191
let featuresHTML = "";
183192
for (let featurenr=0; featurenr<features.length; featurenr++) {
184-
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>';
193+
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="featureheadericon" src="../images/' + features[featurenr][3] + '.svg" alt="' + features[featurenr][3] + '"/><h3>' + features[featurenr][0] + '</h3><p>' + features[featurenr][1] + '</p></div></div>';
185194
}
186195
document.getElementById("featuregallery").innerHTML = featuresHTML;
187196
}

0 commit comments

Comments
 (0)