Skip to content

Commit

Permalink
Update share icons to the standard
Browse files Browse the repository at this point in the history
  • Loading branch information
jayantbh committed Dec 14, 2023
1 parent f784fa0 commit f00dc04
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/components/ShareButton.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState } from 'react';
import { CiLinkedin, CiTwitter } from 'react-icons/ci';
import {} from 'react-icons';
import { GoCopy, GoDownload, GoShare, GoX } from 'react-icons/go';
import { MdShare } from 'react-icons/md';
import { GoCopy, GoDownload, GoX } from 'react-icons/go';
import { track } from '@/constants/events';
import toast from 'react-hot-toast';
import { logException } from '@/utils/logger';
Expand Down Expand Up @@ -96,7 +96,7 @@ export const ShareButton: React.FC<ShareButtonProps> = ({
return (
<div className={'relative inline-block ' + className}>
<div className="relative">
<GoShare
<MdShare
size={28}
fill="rgb(20, 24, 59)"
className="cursor-pointer"
Expand Down
5 changes: 3 additions & 2 deletions src/pages/stats-unwrapped.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { useCallback, useEffect, useState } from 'react';
import { handleRequest } from '@/utils/axios';
import { LoaderWithFacts } from '@/components/LoaderWithFacts';
import SwiperCarousel from '@/components/SwiperCarousel';
import { GoShare, GoDownload } from 'react-icons/go';
import { GoDownload } from 'react-icons/go';
import { MdShare } from 'react-icons/md';
import { useImageDownloader } from '@/hooks/useImageDownloader';
import Confetti from 'react-confetti';
import { ImageAPIResponse, UpdatedImageFile } from '@/types/images';
Expand Down Expand Up @@ -111,7 +112,7 @@ export default function StatsUnwrapped() {
</div>
<div className="flex gap-4 p-3 rounded-lg bg-indigo-900 bg-opacity-60 cursor-pointer">
{shareUrl && (
<GoShare
<MdShare
size={23}
onClick={() => {
copyToClipboard(shareUrl);
Expand Down

0 comments on commit f00dc04

Please sign in to comment.