add qr code for invite link

This commit is contained in:
2023-01-26 00:46:21 -05:00
committed by oliviasculley
parent bbaa1dfd6b
commit f155a43ee8
4 changed files with 39 additions and 0 deletions

View File

@ -34,6 +34,11 @@ defmodule LokalWeb.Components.InviteCard do
</h2>
<% end %>
<.qr_code
content={Routes.user_registration_url(Endpoint, :new, invite: @invite.token)}
filename={@invite.name}
/>
<div class="flex flex-row flex-wrap justify-center items-center">
<code
id={"code-#{@invite.id}"}