1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 15:04:36 +03:00

tweak the download/install page a bit more

This commit is contained in:
Wez Furlong 2019-06-23 20:31:20 -07:00
parent 196a64405a
commit 05a6e2b3ca
7 changed files with 60 additions and 63 deletions

View File

@ -2,3 +2,5 @@ source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
gem 'jekyll-redirect-from'
gem 'jekyll-octicons'
gem 'jekyll-avatar'

View File

@ -248,6 +248,7 @@ PLATFORMS
DEPENDENCIES
github-pages
jekyll-avatar
jekyll-octicons
jekyll-redirect-from

View File

@ -1,3 +1,5 @@
theme: jekyll-theme-primer
gems:
- jekyll-octicons
- jekyll-sitemap
- jekyll-avatar

View File

@ -7,54 +7,6 @@
{% seo %}
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
<style>
.btn {
-moz-box-shadow:inset 0px 1px 0px 0px #e184f3;
-webkit-box-shadow:inset 0px 1px 0px 0px #e184f3;
box-shadow:inset 0px 1px 0px 0px #e184f3;
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #c123de), color-stop(1, #a20dbd));
background:-moz-linear-gradient(top, #c123de 5%, #a20dbd 100%);
background:-webkit-linear-gradient(top, #c123de 5%, #a20dbd 100%);
background:-o-linear-gradient(top, #c123de 5%, #a20dbd 100%);
background:-ms-linear-gradient(top, #c123de 5%, #a20dbd 100%);
background:linear-gradient(to bottom, #c123de 5%, #a20dbd 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#c123de', endColorstr='#a20dbd',GradientType=0);
background-color:#c123de;
-moz-border-radius:6px;
-webkit-border-radius:6px;
border-radius:6px;
border:1px solid #a511c0;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-weight:bold;
padding:0.25em 1em;
text-decoration:none;
text-shadow:0px 1px 0px #9b14b3;
}
.btn:hover {
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #a20dbd), color-stop(1, #c123de));
background:-moz-linear-gradient(top, #a20dbd 5%, #c123de 100%);
background:-webkit-linear-gradient(top, #a20dbd 5%, #c123de 100%);
background:-o-linear-gradient(top, #a20dbd 5%, #c123de 100%);
background:-ms-linear-gradient(top, #a20dbd 5%, #c123de 100%);
background:linear-gradient(to bottom, #a20dbd 5%, #c123de 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#a20dbd', endColorstr='#c123de',GradientType=0);
background-color:#a20dbd;
}
.btn:active {
position:relative;
top:1px;
}
svg.octicon {
margin-right: 0.25em;
}
a.btn svg {
fill: white;
}
</style>
</head>
<body>
<div class="container-lg px-3 my-5 markdown-body">

View File

@ -0,0 +1,51 @@
---
---
@import "{{ site.theme }}";
.btn {
-moz-box-shadow:inset 0px 1px 0px 0px #e184f3;
-webkit-box-shadow:inset 0px 1px 0px 0px #e184f3;
box-shadow:inset 0px 1px 0px 0px #e184f3;
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #c123de), color-stop(1, #a20dbd));
background:-moz-linear-gradient(top, #c123de 5%, #a20dbd 100%);
background:-webkit-linear-gradient(top, #c123de 5%, #a20dbd 100%);
background:-o-linear-gradient(top, #c123de 5%, #a20dbd 100%);
background:-ms-linear-gradient(top, #c123de 5%, #a20dbd 100%);
background:linear-gradient(to bottom, #c123de 5%, #a20dbd 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#c123de', endColorstr='#a20dbd',GradientType=0);
background-color:#c123de;
-moz-border-radius:6px;
-webkit-border-radius:6px;
border-radius:6px;
border:1px solid #a511c0;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-weight:bold;
padding:0.25em 1em;
text-decoration:none;
text-shadow:0px 1px 0px #9b14b3;
}
.btn:hover {
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #a20dbd), color-stop(1, #c123de));
background:-moz-linear-gradient(top, #a20dbd 5%, #c123de 100%);
background:-webkit-linear-gradient(top, #a20dbd 5%, #c123de 100%);
background:-o-linear-gradient(top, #a20dbd 5%, #c123de 100%);
background:-ms-linear-gradient(top, #a20dbd 5%, #c123de 100%);
background:linear-gradient(to bottom, #a20dbd 5%, #c123de 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#a20dbd', endColorstr='#c123de',GradientType=0);
background-color:#a20dbd;
}
.btn:active {
position:relative;
top:1px;
}
svg.octicon {
margin-right: 0.25em;
}
a.btn svg {
fill: white;
}

View File

@ -4,21 +4,7 @@ title: Wez's Terminal
*A GPU-accelerated cross-platform terminal emulator and multiplexer written by <a href="https://github.com/wez/">@wez</a> and implemented in <a href="https://www.rust-lang.org/">Rust</a>*
<div>
{% for asset in site.github.latest_release.assets %}
{% if asset.name contains 'azure' %}
{% if asset.name contains 'windows' %}
<a href="{{ asset.browser_download_url }}" class="btn" style="margin-right:1em">{% octicon cloud-download %} Download for Windows</a>
{% endif %}
{% if asset.name contains 'macos' %}
<a href="{{ asset.browser_download_url }}" class="btn" style="margin-right:1em">{% octicon cloud-download %} Download for macOS</a>
{% endif %}
{% endif %}
{% endfor %}
<a href="installation.html">Linux and other installation instructions</a>
</div>
<a class="btn" href="installation.html">{% octicon cloud-download %} Download</a>
## Features

View File

@ -8,6 +8,7 @@ Windows 10 or later is required to run WezTerm.
{% for asset in site.github.latest_release.assets %}
{% if asset.name contains 'azure' and asset.name contains 'windows' %}
<a href="{{ asset.browser_download_url }}" class="btn">{% octicon cloud-download %} Download for Windows</a>
1. Download <a href="{{ asset.browser_download_url }}">{{ asset.name }}</a>
2. Extract the zipfile and double-click `wezterm.exe` to run the UI
3. Configuration instructions can be [found here](configuration.html)
@ -21,6 +22,7 @@ versions of macOS, but that has not been tested.
{% for asset in site.github.latest_release.assets %}
{% if asset.name contains 'azure' and asset.name contains 'macos' %}
<a href="{{ asset.browser_download_url }}" class="btn">{% octicon cloud-download %} Download for macOS</a>
1. Download <a href="{{ asset.browser_download_url }}">{{ asset.name }}</a>
2. Extract the zipfile and drag the `WezTerm.app` bundle to your `Applications` folder
3. First time around, you may need to right click and select `Open` to allow launching
@ -38,6 +40,7 @@ debian style systems.
{% for asset in site.github.latest_release.assets %}
{% if asset.name contains '.deb' %}
<a href="{{ asset.browser_download_url }}" class="btn">{% octicon cloud-download %} Download for Ubuntu</a>
* <tt>curl -LO <a href="{{ asset.browser_download_url }}">{{ asset.browser_download_url }}</a></tt>
* `sudo dpkg -i {{ asset.name }}`
* The package installs `/usr/bin/wezterm`