Skip to content

Commit dc5b5af

Browse files
committed
Slightly more useful landing page
1 parent 7204056 commit dc5b5af

File tree

4 files changed

+52
-22
lines changed

4 files changed

+52
-22
lines changed

blog.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ <h2>Posts</h2>
77
{% for post in site.categories.blog %}
88
<li>
99
<h3>
10-
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span> <a class="post-link"
10+
<span class="post-meta post-first-col">{{ post.date | date: "%b %-d, %Y" }}</span> <a class="post-link"
1111
href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
1212
</h3>
1313
</li>

css/main.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,23 @@ a.source:hover {
119119
text-decoration-thickness: 2px;
120120
}
121121

122+
.sponsors {
123+
font-size: 1.21875em;
124+
display: flex;
125+
flex-direction: row;
126+
align-items: center;
127+
}
128+
129+
.sponsors > ul {
130+
flex-grow: 1;
131+
align-self: center;
132+
}
133+
134+
.sponsors > ul > li {
135+
list-style: none;
136+
}
137+
138+
122139
.post-list {
123140
margin-left: 0;
124141
list-style: none;

index.html

Lines changed: 33 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,37 @@ <h1>
1717
</a>
1818
</section>
1919

20-
<section class="installation paragraph lead">
21-
<h2>Installation</h2>
22-
20+
<section class="paragraph lead">
21+
<h2>About</h2>
2322
<p>
24-
rust-analyzer is in the alpha stage, installation requires building from source.
25-
To install the language server and VS Code plugin, use
23+
rust-analyzer is an implementation of <a href="https://microsoft.github.io/language-server-protocol/">Language
24+
Server Protocol</a> for the <a href="https://www.rust-lang.org/">Rust</a> programming language.
25+
It provides features like completion and goto definition for many code editors, including VS Code, Emacs and
26+
Vim.
2627
</p>
28+
</section>
2729

28-
<pre><code>$ git clone https://github.com/rust-analyzer/rust-analyzer && cd rust-analyzer
29-
$ cargo xtask install</code></pre>
30+
<section class="paragraph lead">
31+
<h2>Quick Start</h2>
3032

3133
<p>
32-
See the <a href="https://github.com/rust-analyzer/rust-analyzer/tree/master/docs/user">manual</a> for
33-
alternative installation methods and support for other editors.
34+
For VS Code, install <a
35+
href="https://marketplace.visualstudio.com/items?itemName=matklad.rust-analyzer">rust-analyzer</a> extension
36+
from the marketplace.
37+
Prebuild language server binaries for Windows, Linux and Mac are available on the <a
38+
href="https://github.com/rust-analyzer/rust-analyzer/releases">releases</a> page.
3439
</p>
3540

36-
<!-- <p>
37-
Limited <a href="/wasm-demo.html"> WASM Demo</a>.
38-
Note: large download.
39-
</p> -->
41+
<p>
42+
Instructions for other editors, building from source and the list of features are found in
43+
44+
<a href="https://github.com/rust-analyzer/rust-analyzer/tree/master/docs/user" class="manual">
45+
<strong>the manual.</strong>
46+
</a>
47+
</p>
4048
</section>
4149

42-
<section class="support paragraph lead">
50+
<section class="paragraph lead">
4351
<h2>Support</h2>
4452

4553
<p class="lead">
@@ -52,12 +60,17 @@ <h2>Support</h2>
5260

5361
<p>
5462
The following companies contributed significantly towards rust-analyzer development:
55-
<ul>
56-
<li><a href="https://ferrous-systems.com/">Ferrous Systems</a></li>
57-
<li><a href="https://www.mozilla.org/">Mozilla</a></li>
58-
<li><a href="https://embark-studios.com">Embark Studios</a></li>
59-
<li><a href="https://www.freiheit.com/">freiheit.com</a></li>
60-
</ul>
63+
64+
<div class="sponsors">
65+
<ul>
66+
<li><a href="https://ferrous-systems.com/">Ferrous Systems</a></li>
67+
<li><a href="https://www.mozilla.org/">Mozilla</a></li>
68+
</ul>
69+
<ul>
70+
<li><a href="https://embark-studios.com">Embark Studios</a></li>
71+
<li><a href="https://www.freiheit.com/">freiheit.com</a></li>
72+
</ul>
73+
</div>
6174
</p>
6275

6376
</section>

thisweek.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ <h2>This Week In rust-analyzer</h2>
77
{% for post in site.categories.thisweek %}
88
<li>
99
<h3>
10-
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span> <a class="post-link"
10+
<span class="post-meta post-first-col">{{ post.date | date: "%b %-d, %Y" }}</span> <a class="post-link"
1111
href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
1212
</h3>
1313
</li>

0 commit comments

Comments
 (0)