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

2
.husky/.gitignore vendored
View file

@ -1 +1 @@
_ _

View file

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

File diff suppressed because it is too large Load diff

View file

@ -14,59 +14,67 @@ export class Contact extends Component<any, any> {
<meta property={"title"} content={title} /> <meta property={"title"} content={title} />
</Helmet> </Helmet>
<div class="container"> <div class="container">
<h1>Contact</h1> <h1>Contact</h1>
<ul> <ul>
<li><a href="https://mastodon.social/@LemmyDev">Mastodon</a></li> <li>
<li><a href="https://matrix.to/#/#lemmy:matrix.org">Matrix</a></li> <a href="https://mastodon.social/@LemmyDev">Mastodon</a>
<li><a href="https://github.com/LemmyNet/lemmy">GitHub</a></li> </li>
<li><a href="mailto:security@lemmy.ml">security@lemmy.ml</a> <em>PGP key below</em></li> <li>
</ul> <a href="https://matrix.to/#/#lemmy:matrix.org">Matrix</a>
<pre><code> </li>
-----BEGIN PGP PUBLIC KEY BLOCK----- <li>
<a href="https://github.com/LemmyNet/lemmy">GitHub</a>
mQGNBF+Fv+QBDACZO6MZiGq60I0UxsSyl3XCyYa2RD2gGJy4rjYe7m/cYvOBrjbb </li>
0mPgBqGl6NexB/zWE94hD7hyQ92ueTShgS+QiWEuWPIql16flnrEOynbZM7VcTWi <li>
F5vjH+MFHsyK7tw6nKoTQQPTu9ts0ifolzUfPgBWSfd7YGkaErkl8DwNGJPvc8Ti <a href="mailto:security@lemmy.ml">security@lemmy.ml</a>{" "}
NRIZljyN2Vzl39WnNXNePc7o/RjXoUkz2c0Qt/bsxq8QnwqS966sRsd1kC28GVib <em>PGP key below</em>
rc2DMU3waXKPSgHnSPIoQeIEmjt+DiF5ntmkW78kJbtWRSwtd08XQ0MXKwrj0mS7 </li>
l9eMxUxtSkE2ULpWZT5TCsxkDHj9hi2/JfuHN5UHOi7RnMmzgZgp6nV7i8DRn7h0 </ul>
eQSZSegUcYY5cF4hK3bPd7WpY5TI/RW1hIXswncUstYiGqtvocu8awe2BziyjLcR <pre>
9/Yp9kZWbhv8YW7mrqDl8D7nDVnvax03dgYi2h9UF6K8EArFHPr/VqULy3u/4Hrq <code>
M4MjV3Ie9aXRHX8AEQEAAbQdTGVtbXlEZXZzIDxzZWN1cml0eUBsZW1teS5tbD6J -----BEGIN PGP PUBLIC KEY BLOCK-----
Ac4EEwEIADgWIQRxXizPuj+wfOAE+y1xTTbGeag9FwUCX4W/5AIbAwULCQgHAgYV mQGNBF+Fv+QBDACZO6MZiGq60I0UxsSyl3XCyYa2RD2gGJy4rjYe7m/cYvOBrjbb
CgkICwIEFgIDAQIeAQIXgAAKCRBxTTbGeag9FyIhC/wJucTFG6U+3Q52kfdiGI1v 0mPgBqGl6NexB/zWE94hD7hyQ92ueTShgS+QiWEuWPIql16flnrEOynbZM7VcTWi
jKtzlAjzxTybz6QriYzICqwsX5zRTsOb3z/QmfkfMVdctvCUde3+WlayAT4u45Ud F5vjH+MFHsyK7tw6nKoTQQPTu9ts0ifolzUfPgBWSfd7YGkaErkl8DwNGJPvc8Ti
L0GWjd8UhfHns2zuBZKlE1vpqwWGgmCV1bl/qnWHDfPBIgrz2Z494LlWcD4RzEGo NRIZljyN2Vzl39WnNXNePc7o/RjXoUkz2c0Qt/bsxq8QnwqS966sRsd1kC28GVib
NCfylKEw1mNEukL8MY4d3p1VP8ENTWf3SFoxZb0Qv+kGDpcGyB5jfTlQhM8MPUzA rc2DMU3wa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CKV
M8GlT7/ZsOWM5Ee5UzRPcNrRB9hOu+7PJZ5XgtgJrIafkIq7Y/kn/I5f/4NX19Lc
cYDqpMHjNPkWV0bJmq6mfjcphQ9MXMgSAmTA+TtsnFqESLRZELFWlsaMTpBqXF7P
myNHmfV8k8JPfuwsQG+cN3J8TIUkbawa7gw3a6m8NPb84QaKyZq/vHzvlAihQUZ3
b689MNfXMU7hl6iTalhvEdcw7J2n7WuIn6AK/MoILNVJHhJDu+AE/UD0wMbY6Hgi
qmD9J124tdP1q/HWq/VTL9CgLbpi9QXNt4NNwo9OJAQf3I2SjqywjhIzGzYrj0PP
RnELNHhlJZ4s =VWLX -----END PGP PUBLIC KEY BLOCK-----
</code>
</pre>
</div> </div>
</div> </div>
); );
} }
} }

View file

@ -32,7 +32,7 @@ export class Footer extends Component<any, any> {
</p> </p>
</div> </div>
<div class="nav-right hide-sm hide-md hide-lg"> <div class="nav-right hide-sm hide-md hide-lg">
<LinkLine /> <LinkLine />
</div> </div>
</nav> </nav>
</footer> </footer>

View file

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

View file

@ -7,16 +7,16 @@ export class LinkLine extends Component<any, any> {
} }
render() { render() {
return ( return (
<> <>
<Link to="/join">Join</Link> <Link to="/join">Join</Link>
<Link to="/apps">Apps</Link> <Link to="/apps">Apps</Link>
<Link to="/sponsors">Sponsors</Link> <Link to="/sponsors">Sponsors</Link>
<a href="/docs/en/index.html">Docs</a> <a href="/docs/en/index.html">Docs</a>
<a href="/docs/en/code_of_conduct.html" title="Code of Conduct"> <a href="/docs/en/code_of_conduct.html" title="Code of Conduct">
CoC CoC
</a> </a>
<Link to="/contact">Contact</Link> <Link to="/contact">Contact</Link>
</> </>
); );
} }
} }

View file

@ -10,32 +10,38 @@ export class Navbar extends Component<any, any> {
render() { render() {
return ( return (
<> <>
<nav class="nav hide-xs"> <nav class="nav hide-xs">
<div class="nav-left"> <div class="nav-left">
<Link class="brand" to="/"> <Link class="brand" to="/">
<img src="/static/assets/images/lemmy.svg" height="32" width="32" /> <img
</Link> src="/static/assets/images/lemmy.svg"
<LinkLine /> height="32"
</div> width="32"
<div class="nav-right"> />
<a href="https://github.com/LemmyNet"> </Link>
<Icon icon="github" /> <LinkLine />
</a> </div>
<a href="https://mastodon.social/@LemmyDev"> <div class="nav-right">
<Icon icon="mastodon" /> <a href="https://github.com/LemmyNet">
</a> <Icon icon="github" />
<a href="https://matrix.to/#/#lemmy:matrix.org"> </a>
<Icon icon="matrix" /> <a href="https://mastodon.social/@LemmyDev">
</a> <Icon icon="mastodon" />
</div> </a>
</nav> <a href="https://matrix.to/#/#lemmy:matrix.org">
<nav class="nav hide-sm hide-md hide-lg"> <Icon icon="matrix" />
<div class="nav-center"> </a>
<Link class="brand" to="/"><img src="/static/assets/images/lemmy.svg" /></Link> </div>
</div> </nav>
</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>
</div>
</nav>
</>
); );
} }
} }

View file

@ -14,92 +14,126 @@ export class Sponsors extends Component<any, any> {
<meta property={"title"} content={title} /> <meta property={"title"} content={title} />
</Helmet> </Helmet>
<div class="container"> <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>
<div class="row is-horizontal-align">
<div class="col-3">
<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>
</div>
<div class="col-3">
<a
class="col button primary"
href="https://opencollective.com/lemmy"
>
Support on OpenCollective
</a>
</div>
</div>
</div>
<div class="text-center"> <hr />
<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>
<div class="row is-horizontal-align">
<div class="col-3">
<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>
</div>
<div class="col-3">
<a class="col button primary" href="https://opencollective.com/lemmy">Support on OpenCollective</a>
</div>
</div>
</div>
<hr /> <div class="text-center">
<h2>Sponsors</h2>
<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>
</div>
</div>
<br />
<p>General Sponsors are those that pledged $10 to $39 to Lemmy.</p>
<div class="row is-horizontal-align">
<div class="col">
<div class="button outline primary">DQW</div>
</div>
<div class="col">
<div class="button outline primary">Alex Benishek</div>
</div>
<div class="col">
<div class="button outline">seahorse</div>
</div>
<div class="col">
<div class="button outline">Tommaso</div>
</div>
<div class="col">
<div class="button outline">Jamie Gray</div>
</div>
<div class="col">
<div class="button outline">Brendan</div>
</div>
<div class="col">
<div class="button outline">mexicanhalloween</div>
</div>
<div class="col">
<div class="button outline">William Moore</div>
</div>
<div class="col">
<div class="button outline">Rachel Schmitz</div>
</div>
<div class="col">
<div class="button outline">comradeda</div>
</div>
<div class="col">
<div class="button outline">Jonathan Cremin</div>
</div>
<div class="col">
<div class="button outline">Arthur Nieuwland</div>
</div>
<div class="col">
<div class="button outline">Forrest Weghorst</div>
</div>
<div class="col">
<div class="button outline">Andre Vallestero</div>
</div>
</div>
</div>
<div class="text-center"> <div class="text-center">
<h2>Sponsors</h2> <h1>Crypto</h1>
<p>Silver Sponsors are those that pledged $40 to Lemmy.</p> <table>
<div class="row is-horizontal-align"> <tr>
<div class="col"> <td>bitcoin</td>
<a class="button outline primary" href="https://iww.org/">💎 RedJoker</a> <td>
</div> <code>1Hefs7miXS5ff5Ck5xvmjKjXf5242KzRtK</code>
</div> </td>
<br /> </tr>
<p>General Sponsors are those that pledged $10 to $39 to Lemmy.</p> <tr>
<div class="row is-horizontal-align"> <td>ethereum</td>
<div class="col"> <td>
<div class="button outline primary">DQW</div> <code>0x400c96c96acbC6E7B3B43B1dc1BB446540a88A01</code>
</div> </td>
<div class="col"> </tr>
<div class="button outline primary">Alex Benishek</div> <tr>
</div> <td>monero</td>
<div class="col"> <td>
<div class="button outline">seahorse</div> <code>
</div> 41taVyY6e1xApqKyMVDRVxJ76sPkfZhALLTjRvVKpaAh2pBd4wv9RgYj1tSPrx8wc6iE1uWUfjtQdTmTy2FGMeChGVKPQuV
<div class="col"> </code>
<div class="button outline">Tommaso</div> </td>
</div> </tr>
<div class="col"> </table>
<div class="button outline">Jamie Gray</div> </div>
</div> </div>
<div class="col"> </div>
<div class="button outline">Brendan</div> );
</div> }
<div class="col">
<div class="button outline">mexicanhalloween</div>
</div>
<div class="col">
<div class="button outline">William Moore</div>
</div>
<div class="col">
<div class="button outline">Rachel Schmitz</div>
</div>
<div class="col">
<div class="button outline">comradeda</div>
</div>
<div class="col">
<div class="button outline">Jonathan Cremin</div>
</div>
<div class="col">
<div class="button outline">Arthur Nieuwland</div>
</div>
<div class="col">
<div class="button outline">Forrest Weghorst</div>
</div>
<div class="col">
<div class="button outline">Andre Vallestero</div>
</div>
</div>
</div>
<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>
</table>
</div>
</div>
</div>
);
}
} }