Skip to content

Commit 666863f

Browse files
committed
feat(website): add OS icons to build-from-source pages
1 parent eb88620 commit 666863f

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

website/public/contribute/build-from-source/index.ejs.html

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,18 @@ <h3>For contributors</h3>
3535
</p>
3636

3737
<ul>
38-
<li><a href="linux/">Linux</a></li>
39-
<li><a href="macos/">macOS</a></li>
40-
<li><a href="windows/">Windows</a></li>
41-
<li><a href="nix/">Nix</a></li>
38+
<li>
39+
<a href="linux/"><qljs-icon name="linux" size="19" /> Linux</a>
40+
</li>
41+
<li>
42+
<a href="macos/"><qljs-icon name="macos" size="19" /> macOS</a>
43+
</li>
44+
<li>
45+
<a href="windows/"><qljs-icon name="windows" size="19" /> Windows</a>
46+
</li>
47+
<li>
48+
<a href="nix/"><qljs-icon name="nix" size="19" /> Nix</a>
49+
</li>
4250
</ul>
4351

4452
<section id="single-command-build">

website/public/contribute/build-from-source/linux/index.ejs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<header><%- await include("../../../common-nav.ejs.html") %></header>
1616

1717
<main>
18-
<h2><%= meta.title %></h2>
18+
<h2><qljs-icon name="linux" size="29" /> <%= meta.title %></h2>
1919

2020
<p>
2121
On Linux, you can build quick-lint-js using one of the following build

website/public/contribute/build-from-source/macos/index.ejs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<header><%- await include("../../../common-nav.ejs.html") %></header>
1616

1717
<main>
18-
<h2><%= meta.title %></h2>
18+
<h2><qljs-icon name="macos" size="29" /> <%= meta.title %></h2>
1919

2020
<p>
2121
On macOS, you can build quick-lint-js using one of the following build

website/public/contribute/build-from-source/nix/index.ejs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<header><%- await include("../../../common-nav.ejs.html") %></header>
1616

1717
<main>
18-
<h2><%= meta.title %></h2>
18+
<h2><qljs-icon name="nix" size="29" /> <%= meta.title %></h2>
1919

2020
<p>
2121
Building quick-lint-js from source using Nix is for advanced users only.

website/public/contribute/build-from-source/windows/index.ejs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<header><%- await include("../../../common-nav.ejs.html") %></header>
1616

1717
<main>
18-
<h2><%= meta.title %></h2>
18+
<h2><qljs-icon name="windows" size="29" /> <%= meta.title %></h2>
1919

2020
<p>
2121
On Windows, you can build quick-lint-js using one of the following build

0 commit comments

Comments
 (0)