Compare commits

..

No commits in common. "0dbcef8ce4b9539ba47dcecbc224407ae671700b" and "a96758cac5af86a39ea840b858e9b7c79a098fe0" have entirely different histories.

18 changed files with 38 additions and 72 deletions

1
.envrc
View file

@ -1 +0,0 @@
use nix -p deno

3
.gitignore vendored
View file

@ -22,6 +22,3 @@ pnpm-debug.log*
# jetbrains setting folder # jetbrains setting folder
.idea/ .idea/
# direnv
.direnv/

2
.vscode/launch.json vendored
View file

@ -2,7 +2,7 @@
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"command": "deno task dev", "command": "nix run nixpkgs#deno task dev",
"name": "Development server", "name": "Development server",
"request": "launch", "request": "launch",
"type": "node-terminal" "type": "node-terminal"

View file

@ -4,10 +4,6 @@
"matrix_id": "@quadradical:federated.nexus", "matrix_id": "@quadradical:federated.nexus",
"email_address": "henry@henryhiles.com", "email_address": "henry@henryhiles.com",
"role": "m.role.admin" "role": "m.role.admin"
},
{
"matrix_id": "@hexaheximal:federated.nexus",
"role": "m.role.admin"
} }
] ]
} }

View file

@ -3,11 +3,10 @@ title: Donate
--- ---
Federated Nexus runs off of donations, so if you're enjoying our Federated Nexus runs off of donations, so if you're enjoying our
services please consider donating through one of the following methods: services please consider donating. Ideally, we take Interac E-Transfer
to: henry@henryhiles.com. If Interac E-Transfer doesn't work in your
- Interac E-Transfer: If you are Canadian, you should be able to send an Interac E-Transfer from your bank to the address henry@henryhiles.com to donate. This is preferred, as there are no fees. country, join the [Matrix
- [Liberapay](https://liberapay.com/QuadRadical/donate) is the other option for donating, and should work from any country. Liberapay as a platform is primarily for recurring donations, but you can choose "Manual renewal" for a one-time donation. room](https://matrix.to/#/#community:federated.nexus) and we'll work
something out. A huge thank you to our current sponsors:
A huge thank you to our current sponsors:
- @VeryLoud: CAD$100 - @VeryLoud: CAD$100

View file

@ -14,7 +14,7 @@ hero:
variant: minimal variant: minimal
icon: matrix icon: matrix
link: https://matrix.to/#/#community:federated.nexus link: https://matrix.to/#/#community:federated.nexus
banner: banner:
content: Si vous rencontrez des problèmes, consultez <a href="https://status.federated.nexus">notre page d'état.</a> content: Si vous rencontrez des problèmes, consultez <a href="https://status.federated.nexus">notre page d'état.</a>
--- ---

View file

@ -14,9 +14,6 @@ hero:
variant: minimal variant: minimal
icon: matrix icon: matrix
link: https://matrix.to/#/#community:federated.nexus link: https://matrix.to/#/#community:federated.nexus
- text: Donate
icon: seti:shell
link: donate
banner: banner:
content: If you are experiencing issues, check <a href="https://status.federated.nexus">our status page.</a> content: If you are experiencing issues, check <a href="https://status.federated.nexus">our status page.</a>
--- ---

View file

@ -14,7 +14,7 @@ hero:
variant: minimal variant: minimal
icon: matrix icon: matrix
link: https://matrix.to/#/#community:federated.nexus link: https://matrix.to/#/#community:federated.nexus
banner: banner:
content: Если у вас возникли проблемы, проверьте <a href="https://status.federated.nexus">нашу страницу состояния.</a> content: Если у вас возникли проблемы, проверьте <a href="https://status.federated.nexus">нашу страницу состояния.</a>
--- ---

View file

@ -14,7 +14,7 @@ hero:
variant: minimal variant: minimal
icon: matrix icon: matrix
link: https://matrix.to/#/#community:federated.nexus link: https://matrix.to/#/#community:federated.nexus
banner: banner:
content: Якщо у вас виникли проблеми, перевірте <a href="https://status.federated.nexus">нашу сторінку стану.</a> content: Якщо у вас виникли проблеми, перевірте <a href="https://status.federated.nexus">нашу сторінку стану.</a>
--- ---

View file

@ -22,10 +22,10 @@ import "../../styles/page.css"
<input type="password" /> <input type="password" />
</label> </label>
<noscript class="error"> <noscript id="error">
Ce formulaire ne fonctionnera pas sans JavaScript. Ce formulaire ne fonctionnera pas sans JavaScript.
</noscript> </noscript>
<span id="error" class="error"> </span> <span id="error"> </span>
<button type="submit"><span>Envoyer</span></button> <button type="submit"><span>Envoyer</span></button>
<a href="/register" <a href="/register"
@ -95,7 +95,6 @@ import "../../styles/page.css"
form.submit() form.submit()
} catch (err: any) { } catch (err: any) {
error.style = ""
error.textContent = err.message || "Login failed" error.textContent = err.message || "Login failed"
} }
}) })

View file

@ -18,12 +18,7 @@ import "../../styles/page.css"
/> />
</label> </label>
<div class="honeypot"> <div class="honeypot">
<input <input type="text" name="honeypot" tabindex="-1" autocomplete="off">
type="text"
name="honeypot"
tabindex="-1"
autocomplete="off"
/>
</div> </div>
<label> <label>
E-mail E-mail

View file

@ -22,10 +22,10 @@ import "../styles/page.css"
<input type="password" /> <input type="password" />
</label> </label>
<noscript class="error"> <noscript id="error">
This form will not function without JavaScript. This form will not function without JavaScript.
</noscript> </noscript>
<span id="error" class="error"> </span> <span id="error"> </span>
<button type="submit"><span>Submit</span></button> <button type="submit"><span>Submit</span></button>
<a href="/register">Don't have an account? Sign up now!</a> <a href="/register">Don't have an account? Sign up now!</a>
@ -93,7 +93,6 @@ import "../styles/page.css"
form.submit() form.submit()
} catch (err: any) { } catch (err: any) {
error.style = ""
error.textContent = err.message || "Login failed" error.textContent = err.message || "Login failed"
} }
}) })

View file

@ -17,12 +17,7 @@ import "../styles/page.css"
/> />
</label> </label>
<div class="honeypot"> <div class="honeypot">
<input <input type="text" name="honeypot" tabindex="-1" autocomplete="off">
type="text"
name="honeypot"
tabindex="-1"
autocomplete="off"
/>
</div> </div>
<label> <label>
Email Email

View file

@ -22,13 +22,15 @@ import "../../styles/page.css"
<input type="password" /> <input type="password" />
</label> </label>
<noscript class="error"> <noscript id="error">
Эта форма не будет работать без JavaScript. Эта форма не будет работать без JavaScript.
</noscript> </noscript>
<span id="error" class="error"> </span> <span id="error"> </span>
<button type="submit"><span>Отправить</span></button> <button type="submit"><span>Отправить</span></button>
<a href="/register">У вас ещё нет учётной записи? Зарегистрируйтесь!</a> <a href="/register"
>У вас ещё нет учётной записи? Зарегистрируйтесь!</a
>
</form> </form>
</StarlightPage> </StarlightPage>
@ -93,7 +95,6 @@ import "../../styles/page.css"
form.submit() form.submit()
} catch (err: any) { } catch (err: any) {
error.style = ""
error.textContent = err.message || "Login failed" error.textContent = err.message || "Login failed"
} }
}) })

View file

@ -17,12 +17,7 @@ import "../../styles/page.css"
/> />
</label> </label>
<div class="honeypot"> <div class="honeypot">
<input <input type="text" name="honeypot" tabindex="-1" autocomplete="off">
type="text"
name="honeypot"
tabindex="-1"
autocomplete="off"
/>
</div> </div>
<label> <label>
E-mail E-mail

View file

@ -22,10 +22,10 @@ import "../../styles/page.css"
<input type="password" /> <input type="password" />
</label> </label>
<noscript class="error"> <noscript id="error">
Ця форма не буде працювати без JavaScript. Ця форма не буде працювати без JavaScript.
</noscript> </noscript>
<span id="error" class="error"> </span> <span id="error"> </span>
<button type="submit"><span>Надіслати</span></button> <button type="submit"><span>Надіслати</span></button>
<a href="/register">Не маєте облікового запису? Зареєструйтесь зараз!</a <a href="/register">Не маєте облікового запису? Зареєструйтесь зараз!</a
@ -94,7 +94,6 @@ import "../../styles/page.css"
form.submit() form.submit()
} catch (err: any) { } catch (err: any) {
error.style = ""
error.textContent = err.message || "Login failed" error.textContent = err.message || "Login failed"
} }
}) })

View file

@ -17,12 +17,7 @@ import "../../styles/page.css"
/> />
</label> </label>
<div class="honeypot"> <div class="honeypot">
<input <input type="text" name="honeypot" tabindex="-1" autocomplete="off">
type="text"
name="honeypot"
tabindex="-1"
autocomplete="off"
/>
</div> </div>
<label> <label>
E-mail E-mail

View file

@ -36,7 +36,7 @@ body {
padding: 1rem 1.25rem; padding: 1rem 1.25rem;
} }
& .error { & #error {
margin-top: 1rem; margin-top: 1rem;
color: var(--sl-color-red); color: var(--sl-color-red);
} }