Skip to content

Commit 35a75b3

Browse files
committed
Website: add contact page
Also update the README with more ways to contact.
1 parent 9f1514f commit 35a75b3

File tree

3 files changed

+125
-3
lines changed

3 files changed

+125
-3
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,14 @@ development.
2424

2525
## Contact
2626

27+
**Bugs and feature requests**: [file an issue on GitHub](https://github.com/quick-lint/quick-lint-js/issues)
28+
2729
**IRC**: ask questions in [#quick-lint-js][quick-lint-js-irc-web] on
2830
[Libera.Chat][]
2931

32+
**Security bug reports (private disclosure)**: email
33+
34+
3035
## Values
3136

3237
* **Performance**. You use quick-lint-js in text editors and IDEs to show bugs

website/public/common-nav.ejs.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
//<%
88
let path = await import("path");
99
function makeRelativeURI(uri) {
10+
if (/^\w+:/.test(uri)) {
11+
return uri;
12+
}
1013
return path.posix.relative(currentURI, uri) + "/";
1114
}
1215

@@ -17,6 +20,8 @@
1720
["/cli/", "CLI docs"],
1821
["/config/", "Config docs"],
1922
["/benchmarks/", "Benchmarks"],
23+
["https://github.com/quick-lint/quick-lint-js", "Code on GitHub"],
24+
["/contact/", "Contact"],
2025
];
2126
//%>
2227
</script>
@@ -33,9 +38,6 @@
3338
<% } else { %>
3439
<li><a href="<%= makeRelativeURI(pageURL) %>"><%= pageTitle %></a></li>
3540
<% } %> <% } %>
36-
<li>
37-
<a href="https://github.com/quick-lint/quick-lint-js">Code on GitHub</a>
38-
</li>
3941
</ul>
4042
</nav>
4143

website/public/contact/index.ejs.html

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
<!DOCTYPE html>
2+
<!-- Copyright (C) 2020 Matthew Glazar -->
3+
<!-- See end of file for extended copyright information. -->
4+
<html>
5+
<head>
6+
<%- await include("../common-head.ejs.html") %>
7+
<title>quick-lint-js: contacting the dev team</title>
8+
<meta
9+
name="description"
10+
content="Report bugs and ask questions about quick-lint-js."
11+
/>
12+
<link href="../main.css" rel="stylesheet" />
13+
<style>
14+
dd {
15+
margin-top: 0.25em;
16+
}
17+
18+
dd + dt {
19+
margin-top: 1em;
20+
}
21+
</style>
22+
</head>
23+
<body class="side-bar-nav">
24+
<header>
25+
<h1><a href="..">quick-lint-js</a></h1>
26+
<p class="tag-line">quick-lint-js finds bugs in JavaScript programs.</p>
27+
<%- await include("../common-nav.ejs.html") %>
28+
</header>
29+
30+
<main>
31+
<h2>Contact quick-lint-js devs</h2>
32+
<p>
33+
Found a bug? Want a feature? Have a question? Here's how to contact the
34+
quick-lint-js development team.
35+
</p>
36+
37+
<dl>
38+
<dt>bug reports</dt>
39+
<dt>feature requests</dt>
40+
<dd>
41+
<a href="https://github.com/quick-lint/quick-lint-js/issues"
42+
>File an issue on GitHub</a
43+
>
44+
</dd>
45+
<dt>questions and support</dt>
46+
<dd>
47+
<a href="https://github.com/quick-lint/quick-lint-js/issues"
48+
>File an issue on GitHub</a
49+
>
50+
</dd>
51+
<dd>
52+
Chat on IRC:
53+
<a
54+
href="https://kiwiirc.com/nextclient/irc.libera.chat/#quick-lint-js"
55+
>#quick-lint-js on Libera.Chat</a
56+
>
57+
</dd>
58+
<dd>
59+
Chat with the
60+
<a href="https://www.twitch.tv/strager">lead developer on Twitch</a>
61+
</dd>
62+
<dt>security bug reports (private disclosure)</dt>
63+
<dd>
64+
Email:
65+
66+
</dd>
67+
</dl>
68+
69+
<p>
70+
quick-lint-js currently has no mailing list. If you want one, please let
71+
me know.
72+
</p>
73+
</main>
74+
75+
<footer>
76+
<nav>
77+
<ul>
78+
<li><a href="..">quick-lint-js home page</a></li>
79+
<li><a href="../benchmarks/">benchmarks vs other linters</a></li>
80+
<li><a href="../demo/">try quick-lint-js in your browser</a></li>
81+
<li>
82+
<a href="https://github.com/quick-lint/quick-lint-js"
83+
>source code on GitHub</a
84+
>
85+
</li>
86+
<li><a href="../license/">copyright and license information</a></li>
87+
</ul>
88+
</nav>
89+
</footer>
90+
</body>
91+
</html>
92+
93+
<!--
94+
quick-lint-js finds bugs in JavaScript programs.
95+
Copyright (C) 2020 Matthew Glazar
96+
97+
This file is part of quick-lint-js.
98+
99+
quick-lint-js is free software: you can redistribute it and/or modify
100+
it under the terms of the GNU General Public License as published by
101+
the Free Software Foundation, either version 3 of the License, or
102+
(at your option) any later version.
103+
104+
quick-lint-js is distributed in the hope that it will be useful,
105+
but WITHOUT ANY WARRANTY; without even the implied warranty of
106+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
107+
GNU General Public License for more details.
108+
109+
You should have received a copy of the GNU General Public License
110+
along with quick-lint-js. If not, see <https://www.gnu.org/licenses/>.
111+
-->
112+
<!--
113+
Other files may have different copyright and may be licensed under different
114+
licenses. See license/ for details.
115+
-->

0 commit comments

Comments
 (0)