Skip to content

Commit 1dd2246

Browse files
committed
refactor: add whatsapp svg to assets folder
Signed-off-by: karan-palan <[email protected]>
1 parent 7e34ad1 commit 1dd2246

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

public/assets/social/whatsapp.svg

Lines changed: 5 additions & 0 deletions
Loading

src/components/ShareModal.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,12 @@ const shareOptions = [
6767
);
6868
},
6969
icon: (
70-
<svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24">
71-
<path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.198.297-.767.967-.94 1.166-.173.198-.347.223-.644.075-.297-.149-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.447-.52.149-.173.198-.298.298-.497.099-.198.05-.372-.025-.521-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.007-.372-.009-.571-.009-.198 0-.52.075-.792.372-.273.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.095 3.2 5.077 4.363.709.244 1.262.389 1.694.497.712.181 1.362.156 1.874.095.572-.068 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.413-.074-.124-.272-.198-.57-.347z" />
72-
</svg>
70+
<img
71+
src="/assets/social/whatsapp.svg"
72+
alt="WhatsApp"
73+
width={20}
74+
height={20}
75+
/>
7376
),
7477
},
7578
{

0 commit comments

Comments
 (0)