Browse Source

Add links to binaries to homepage

master
Dylan Baker 5 years ago
parent
commit
40f4b62c68
2 changed files with 18 additions and 5 deletions
  1. 4
    0
      static/style.css
  2. 14
    5
      templates/index.html.tera

+ 4
- 0
static/style.css View File

@@ -37,6 +37,10 @@ body {
37 37
   font-weight: normal;
38 38
 }
39 39
 
40
+.subheader {
41
+  font-size: 20px;
42
+}
43
+
40 44
 pre {
41 45
   background-color: #f5f5f5;
42 46
   counter-reset: line;

+ 14
- 5
templates/index.html.tera View File

@@ -8,16 +8,25 @@
8 8
     <div class="container container--narrow">
9 9
       <h1 class='header'>bngl.ws</h1>
10 10
 			<p>
11
-				bngl.ws is a pastebin service that you can access from the command
12
-				line. If you have
11
+				bngl.ws is a pastebin service that you can access from the command line.
12
+      </p>
13
+      <h3 class="subheader">Installation</h3>
14
+      <p>
15
+				If you have
13 16
 				<a href="https://doc.rust-lang.org/cargo/getting-started/installation.html" target="_blank">
14 17
 				cargo</a> installed, you can install the CLI client by cloning the
15 18
 				<a href="https://git.sr.ht/~simulacrumparty/bnglws-client" target="_blank">client repo</a>
16 19
 				and running
17 20
 				<pre class="shell">cargo install --path .</pre>
18
-				Then, you can create snippets by running something like
19
-				<pre class="shell">echo 'Hello world' | bngl new "First snippet"</pre>
20
-			</p>
21
+        If you don't have Cargo installed, there are precompiled binaries
22
+        available for
23
+        <a href="/assets/releases/x86_64-unknown-linux-gnu.tar.gz">Linux</a>
24
+        and <a href="/assets/releases/x86_64-apple-darwin.tar.gz">Mac</a>.
25
+      </p>
26
+      <h3 class="subheader">Usage</h3>
27
+      <p>
28
+        <pre class="shell">echo 'Hello world' | bngl 'First Snippet'</pre>
29
+      </p>
21 30
     </div>
22 31
   </body>
23 32
 </html>

Loading…
Cancel
Save