mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-10 12:22:50 +02:00
Improve invite QR generation
This commit is contained in:
parent
84d61a1118
commit
4c62124cee
7 changed files with 12 additions and 46 deletions
|
@ -69,11 +69,7 @@ block body
|
|||
.grid--row-start2
|
||||
button.s-btn.s-btn__filled.htmx-indicator Invite
|
||||
div
|
||||
-
|
||||
let size = 105
|
||||
let p = new URLSearchParams()
|
||||
p.set("data", `https://bridge.cadence.moe/invite?nonce=${nonce}`)
|
||||
img(width=size height=size src=rel(`/qr?${p}`))
|
||||
!= svg
|
||||
|
||||
h2.mt48.fs-headline1 Moderation
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue