From c2708f92f1b7e805314a717b30efecf8c7b0d8a7 Mon Sep 17 00:00:00 2001 From: 4rjunc Date: Sun, 27 Oct 2024 18:47:43 +0530 Subject: [PATCH] fixed the share icons --- src/components/Reclaim.tsx | 67 ++++++++++++++++++++++++-------------- 1 file changed, 43 insertions(+), 24 deletions(-) diff --git a/src/components/Reclaim.tsx b/src/components/Reclaim.tsx index 8b8a021..73e2e12 100644 --- a/src/components/Reclaim.tsx +++ b/src/components/Reclaim.tsx @@ -4,7 +4,14 @@ import React, { useState, useEffect } from "react"; import { ReclaimProofRequest } from "@reclaimprotocol/js-sdk"; import { CheckCircle, Copy, Music, Loader2 } from "lucide-react"; import { FaXTwitter } from "react-icons/fa6"; -import { FaInstagram, FaYoutube, FaGithub, FaLinkedin } from "react-icons/fa"; +import { + FaInstagram, + FaYoutube, + FaGithub, + FaLinkedin, + FaWhatsapp, + FaTelegram, +} from "react-icons/fa"; import { FaSquareUpwork } from "react-icons/fa6"; interface SocialMedia { @@ -286,30 +293,42 @@ function ReclaimDemo({ onProofReceived }: SocialMedia) { /> {/* Share Buttons */} -
- {/* WhatsApp Share Button */} - - Share on WhatsApp - - {/* Telegram Share Button */} - - Share on Telegram - +
+ {/* Share Link Title */} + + Share Link On + + +
+ {/* WhatsApp Share Button */} + + + WhatsApp + + + {/* Telegram Share Button */} + + + Telegram + +
)}