Compare commits

...

8 commits

18 changed files with 72 additions and 38 deletions

1
.envrc Normal file
View file

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

3
.gitignore vendored
View file

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

2
.vscode/launch.json vendored
View file

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

View file

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

View file

@ -3,10 +3,11 @@ title: Donate
---
Federated Nexus runs off of donations, so if you're enjoying our
services please consider donating. Ideally, we take Interac E-Transfer
to: henry@henryhiles.com. If Interac E-Transfer doesn't work in your
country, join the [Matrix
room](https://matrix.to/#/#community:federated.nexus) and we'll work
something out. A huge thank you to our current sponsors:
services please consider donating through one of the following methods:
- 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.
- [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.
A huge thank you to our current sponsors:
- @VeryLoud: CAD$100

View file

@ -14,7 +14,7 @@ hero:
variant: minimal
icon: matrix
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>
---

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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