Compare commits

..

5 commits

7 changed files with 19 additions and 1 deletions

View file

@ -14,6 +14,8 @@ hero:
variant: minimal variant: minimal
icon: matrix icon: matrix
link: https://matrix.to/#/#community:federated.nexus link: https://matrix.to/#/#community:federated.nexus
banner:
content: If you are experiencing issues, check <a href="https://status.federated.nexus">our status page.</a>
--- ---
import { CardGrid, Card } from "@astrojs/starlight/components" import { CardGrid, Card } from "@astrojs/starlight/components"

View file

@ -17,6 +17,9 @@ import "../../styles/page.css"
pattern="^[A-Za-z0-9]+$" pattern="^[A-Za-z0-9]+$"
/> />
</label> </label>
<div class="honeypot">
<input type="text" name="honeypot" tabindex="-1" autocomplete="off">
</div>
<label> <label>
E-mail E-mail
<input name="email" type="email" required /> <input name="email" type="email" required />

View file

@ -16,6 +16,9 @@ import "../styles/page.css"
pattern="^[A-Za-z0-9]+$" pattern="^[A-Za-z0-9]+$"
/> />
</label> </label>
<div class="honeypot">
<input type="text" name="honeypot" tabindex="-1" autocomplete="off">
</div>
<label> <label>
Email Email
<input name="email" type="email" required /> <input name="email" type="email" required />

View file

@ -29,7 +29,7 @@ import "../../styles/page.css"
<button type="submit"><span>Отправить</span></button> <button type="submit"><span>Отправить</span></button>
<a href="/register" <a href="/register"
>У вас нет учётной записи? Зарегистрируйтесь сейчас!</a >У вас ещё нет учётной записи? Зарегистрируйтесь!</a
> >
</form> </form>
</StarlightPage> </StarlightPage>

View file

@ -16,6 +16,9 @@ import "../../styles/page.css"
pattern="^[A-Za-z0-9]+$" pattern="^[A-Za-z0-9]+$"
/> />
</label> </label>
<div class="honeypot">
<input type="text" name="honeypot" tabindex="-1" autocomplete="off">
</div>
<label> <label>
E-mail E-mail
<input name="email" type="email" required /> <input name="email" type="email" required />

View file

@ -16,6 +16,9 @@ import "../../styles/page.css"
pattern="^[A-Za-z0-9]+$" pattern="^[A-Za-z0-9]+$"
/> />
</label> </label>
<div class="honeypot">
<input type="text" name="honeypot" tabindex="-1" autocomplete="off">
</div>
<label> <label>
E-mail E-mail
<input name="email" type="email" required /> <input name="email" type="email" required />

View file

@ -1,4 +1,8 @@
body { body {
& .honeypot {
display: none;
}
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;