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

@ -14,59 +14,67 @@ export class Contact extends Component<any, any> {
<meta property={"title"} content={title} />
</Helmet>
<div class="container">
<h1>Contact</h1>
<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>
</ul>
<pre><code>
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBF+Fv+QBDACZO6MZiGq60I0UxsSyl3XCyYa2RD2gGJy4rjYe7m/cYvOBrjbb
0mPgBqGl6NexB/zWE94hD7hyQ92ueTShgS+QiWEuWPIql16flnrEOynbZM7VcTWi
F5vjH+MFHsyK7tw6nKoTQQPTu9ts0ifolzUfPgBWSfd7YGkaErkl8DwNGJPvc8Ti
NRIZljyN2Vzl39WnNXNePc7o/RjXoUkz2c0Qt/bsxq8QnwqS966sRsd1kC28GVib
rc2DMU3waXKPSgHnSPIoQeIEmjt+DiF5ntmkW78kJbtWRSwtd08XQ0MXKwrj0mS7
l9eMxUxtSkE2ULpWZT5TCsxkDHj9hi2/JfuHN5UHOi7RnMmzgZgp6nV7i8DRn7h0
eQSZSegUcYY5cF4hK3bPd7WpY5TI/RW1hIXswncUstYiGqtvocu8awe2BziyjLcR
9/Yp9kZWbhv8YW7mrqDl8D7nDVnvax03dgYi2h9UF6K8EArFHPr/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K0jdYvoVTtyOAgztM3ItP0IvGqi0th3sLW4VAVvcdx0rnXI9uo
qLICH0UeuZxyKNc1KKQc+hljNFe71DXsZ4UJ03ECUdfVR1KAWtUbPoKZV/EgRm3E
yuUfQssL1eGSoE+gw4D0v30nTJfs5GQUwNztk3Ys+djRkpvA+GzXjwQedQARAQAB
iQG2BBgBCAAgFiEEcV4sz7o/sHzgBPstcU02xnmoPRcFAl+Fv+QCGwwACgkQcU02
xnmoPRc+bAv/X4GaPMY4ViAdgE5qBCDf5cqelbkQ28EdnujAmLpz/yMZ57SGQnpP
BtR7Go3btLZLiU8f0Pj9U03EelOAGm+5GL787gNoY8BscK204AKFtgD+xWwA94RR
efDhH3B+etvl1nVkz+ut0RNyEy8fh/eB+tKUqpyOmuPQ9F9Gl0eE7P8RLwZ2xCKV
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>
<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>
</ul>
<pre>
<code>
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBF+Fv+QBDACZO6M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PfuwsQG+cN3J8TIUkbawa7gw3a6m8NPb84QaKyZq/vHzvlAihQUZ3
b689MNfXMU7hl6iTalhvEdcw7J2n7WuIn6AK/MoILNVJHhJDu+AE/UD0wMbY6Hgi
qmD9J124tdP1q/HWq/VTL9CgLbpi9QXNt4NNwo9OJAQf3I2SjqywjhIzGzYrj0PP
RnELNHhlJZ4s =VWLX -----END PGP PUBLIC KEY BLOCK-----
</code>
</pre>
</div>
</div>
);
</div>
);
}
}

View file

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

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

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

View file

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