diff --git a/client/src/components/modal.rs b/client/src/components/modal.rs index 1a3efc4..d309584 100644 --- a/client/src/components/modal.rs +++ b/client/src/components/modal.rs @@ -135,37 +135,59 @@ pub fn EmbedModal( }} -
- "Security warning:" - " This VIP link bypasses the Guest List and must only be shared privately. Do NOT embed it on public websites, iframes, or forums; anyone with this link can access your terminal." -
+ {move || { + let link = vip_link.get(); + let vip_link_for_input = vip_link.clone(); + let vip_link_for_button = vip_link_for_click.clone(); + if link.is_empty() { + view! { ++ "VIP link is being generated..." +
++ "This may take a moment. The link will appear here once ready." +
++ "Security warning:" + " This VIP link bypasses the Guest List and must only be shared privately. Do NOT embed it on public websites, iframes, or forums; anyone with this link can access your terminal." +
+ > + }.into_view() + } + }} // --- SECTION 3: SMART LINK ---