Fixing husky

This commit is contained in:
Dessalines 2021-03-13 23:01:40 -05:00
parent ae36b70db5
commit ac02a5eaf9
9 changed files with 1509 additions and 1448 deletions

View file

@ -8,6 +8,7 @@
"build:prod": "webpack --mode=production",
"clean": "yarn run rimraf dist",
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
"postinstall": "husky install",
"prebuild:dev": "yarn clean",
"prebuild:prod": "yarn clean",
"start": "yarn build:dev --watch"

File diff suppressed because it is too large Load diff

View file

@ -17,14 +17,23 @@ export class Contact extends Component<any, any> {
<h1>Contact</h1>
<ul>
<li><a href="https://mastodon.social/@LemmyDev">Mastodon</a></li>
<li><a href="https://matrix.to/#/#lemmy:matrix.org">Matrix</a></li>
<li><a href="https://github.com/LemmyNet/lemmy">GitHub</a></li>
<li><a href="mailto:security@lemmy.ml">security@lemmy.ml</a> <em>PGP key below</em></li>
<li>
<a href="https://mastodon.social/@LemmyDev">Mastodon</a>
</li>
<li>
<a href="https://matrix.to/#/#lemmy:matrix.org">Matrix</a>
</li>
<li>
<a href="https://github.com/LemmyNet/lemmy">GitHub</a>
</li>
<li>
<a href="mailto:security@lemmy.ml">security@lemmy.ml</a>{" "}
<em>PGP key below</em>
</li>
</ul>
<pre><code>
<pre>
<code>
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBF+Fv+QBDACZO6MZiGq60I0UxsSyl3XCyYa2RD2gGJy4rjYe7m/cYvOBrjbb
0mPgBqGl6NexB/zWE94hD7hyQ92ueTShgS+QiWEuWPIql16flnrEOynbZM7VcTWi
F5vjH+MFHsyK7tw6nKoTQQPTu9ts0ifolzUfPgBWSfd7YGkaErkl8DwNGJPvc8Ti
@ -61,10 +70,9 @@ cYDqpMHjNPkWV0bJmq6mfjcphQ9MXMgSAmTA+TtsnFqESLRZELFWlsaMTpBqXF7P
myNHmfV8k8JPfuwsQG+cN3J8TIUkbawa7gw3a6m8NPb84QaKyZq/vHzvlAihQUZ3
b689MNfXMU7hl6iTalhvEdcw7J2n7WuIn6AK/MoILNVJHhJDu+AE/UD0wMbY6Hgi
qmD9J124tdP1q/HWq/VTL9CgLbpi9QXNt4NNwo9OJAQf3I2SjqywjhIzGzYrj0PP
RnELNHhlJZ4s
=VWLX
-----END PGP PUBLIC KEY BLOCK-----
</code></pre>
RnELNHhlJZ4s =VWLX -----END PGP PUBLIC KEY BLOCK-----
</code>
</pre>
</div>
</div>
);

View file

@ -28,7 +28,10 @@ export class Join extends Component<any, any> {
</div>
</header>
<div class="is-center">
<img class="join-banner" src="/static/assets/images/lemmy.svg" />
<img
class="join-banner"
src="/static/assets/images/lemmy.svg"
/>
</div>
<br />
<p class="join-desc">The flagship instance of lemmy.</p>
@ -103,7 +106,10 @@ export class Join extends Component<any, any> {
</div>
</header>
<div class="is-center">
<img class="join-banner" src="/static/assets/images/lemmy.svg" />
<img
class="join-banner"
src="/static/assets/images/lemmy.svg"
/>
</div>
<br />
<p class="join-desc">
@ -207,7 +213,10 @@ export class Join extends Component<any, any> {
</div>
</header>
<div class="is-center">
<img class="join-banner" src="/static/assets/images/lemmy.svg" />
<img
class="join-banner"
src="/static/assets/images/lemmy.svg"
/>
</div>
<br />
<p class="join-desc">A Basque Lemmy instance.</p>
@ -279,7 +288,10 @@ export class Join extends Component<any, any> {
</div>
</header>
<div class="is-center">
<img class="join-banner" src="/static/assets/images/lemmy.svg" />
<img
class="join-banner"
src="/static/assets/images/lemmy.svg"
/>
</div>
<br />
<p class="join-desc">A polish anti-fascist instance.</p>

View file

@ -14,7 +14,11 @@ export class Navbar extends Component<any, any> {
<nav class="nav hide-xs">
<div class="nav-left">
<Link class="brand" to="/">
<img src="/static/assets/images/lemmy.svg" height="32" width="32" />
<img
src="/static/assets/images/lemmy.svg"
height="32"
width="32"
/>
</Link>
<LinkLine />
</div>
@ -32,7 +36,9 @@ export class Navbar extends Component<any, any> {
</nav>
<nav class="nav hide-sm hide-md hide-lg">
<div class="nav-center">
<Link class="brand" to="/"><img src="/static/assets/images/lemmy.svg" /></Link>
<Link class="brand" to="/">
<img src="/static/assets/images/lemmy.svg" />
</Link>
</div>
</nav>
</>

View file

@ -14,20 +14,35 @@ export class Sponsors extends Component<any, any> {
<meta property={"title"} content={title} />
</Helmet>
<div class="container">
<div class="text-center">
<h1>Donate to Lemmy</h1>
<p>Lemmy is free, open-source software, meaning no advertising, monetizing, or venture capital, ever. <a href="/sponsors">Your donations</a> directly support full-time development of the project.
<p>
Lemmy is free, open-source software, meaning no advertising,
monetizing, or venture capital, ever.{" "}
<a href="/sponsors">Your donations</a> directly support full-time
development of the project.
</p>
<div class="row is-horizontal-align">
<div class="col-3">
<a class="button primary" href="https://liberapay.com/Lemmy">Support on Liberapay</a>
<a class="button primary" href="https://liberapay.com/Lemmy">
Support on Liberapay
</a>
</div>
<div class="col-3">
<a class="button primary" href="https://www.patreon.com/dessalines">Support on Patreon</a>
<a
class="button primary"
href="https://www.patreon.com/dessalines"
>
Support on Patreon
</a>
</div>
<div class="col-3">
<a class="col button primary" href="https://opencollective.com/lemmy">Support on OpenCollective</a>
<a
class="col button primary"
href="https://opencollective.com/lemmy"
>
Support on OpenCollective
</a>
</div>
</div>
</div>
@ -39,7 +54,9 @@ export class Sponsors extends Component<any, any> {
<p>Silver Sponsors are those that pledged $40 to Lemmy.</p>
<div class="row is-horizontal-align">
<div class="col">
<a class="button outline primary" href="https://iww.org/">💎 RedJoker</a>
<a class="button outline primary" href="https://iww.org/">
💎 RedJoker
</a>
</div>
</div>
<br />
@ -93,9 +110,26 @@ export class Sponsors extends Component<any, any> {
<div class="text-center">
<h1>Crypto</h1>
<table>
<tr><td>bitcoin</td><td><code>1Hefs7miXS5ff5Ck5xvmjKjXf5242KzRtK</code></td></tr>
<tr><td>ethereum</td><td><code>0x400c96c96acbC6E7B3B43B1dc1BB446540a88A01</code></td></tr>
<tr><td>monero</td><td><code>41taVyY6e1xApqKyMVDRVxJ76sPkfZhALLTjRvVKpaAh2pBd4wv9RgYj1tSPrx8wc6iE1uWUfjtQdTmTy2FGMeChGVKPQuV</code></td></tr>
<tr>
<td>bitcoin</td>
<td>
<code>1Hefs7miXS5ff5Ck5xvmjKjXf5242KzRtK</code>
</td>
</tr>
<tr>
<td>ethereum</td>
<td>
<code>0x400c96c96acbC6E7B3B43B1dc1BB446540a88A01</code>
</td>
</tr>
<tr>
<td>monero</td>
<td>
<code>
41taVyY6e1xApqKyMVDRVxJ76sPkfZhALLTjRvVKpaAh2pBd4wv9RgYj1tSPrx8wc6iE1uWUfjtQdTmTy2FGMeChGVKPQuV
</code>
</td>
</tr>
</table>
</div>
</div>