From 4d9f8a25cdda5ce81e16162f39a2bf3cb195ae9f Mon Sep 17 00:00:00 2001 From: Komal <157946119+komal-rs@users.noreply.github.com> Date: Fri, 3 May 2024 09:50:03 +0530 Subject: [PATCH] link copied popup, like icon and icon sizes (#217) * link copied popup * icon dist --- Cargo.toml | 1 - src/page/post_view/overlay.rs | 30 +++++++++++++++++++++++------- src/page/refer_earn/mod.rs | 12 ++++++++++++ 3 files changed, 35 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c51457c3..da1c1776 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -250,4 +250,3 @@ lib-default-features = false # # Optional. Defaults to "release". lib-profile-release = "wasm-release" - diff --git a/src/page/post_view/overlay.rs b/src/page/post_view/overlay.rs index 1bd3d81e..8227459e 100644 --- a/src/page/post_view/overlay.rs +++ b/src/page/post_view/overlay.rs @@ -7,6 +7,7 @@ use crate::{ web::{copy_to_clipboard, share_url}, }, }; +use gloo::timers::callback::Timeout; use leptos::*; use leptos_icons::*; use leptos_use::use_window; @@ -88,15 +89,15 @@ fn LikeAndAuthCanLoader(post: PostDetails) -> impl IntoView { let liking = like_toggle.pending(); view! { -
{video_url}
-Link Copied!
+ +Link Copied!
+ +