Skip to content

Commit 425c269

Browse files
authored
patch: replace Custom Icon component with react-icons (#456)
* replaced icons * removed icons.tsx
1 parent 2eb0a35 commit 425c269

3 files changed

Lines changed: 72 additions & 631 deletions

File tree

frontend/src/components/LandingComponents/HowItWorks/HowItWorks.tsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ import { motion, useAnimation } from 'framer-motion';
22
import { useInView } from 'react-intersection-observer';
33
import { useEffect } from 'react';
44
import { Card, CardContent, CardHeader, CardTitle } from '../../ui/card';
5-
import { MedalIcon, MapIcon, PlaneIcon, GiftIcon } from '../../utils/Icons';
5+
import { LiaMedalSolid } from 'react-icons/lia';
6+
import { TbMapPin2 } from 'react-icons/tb';
7+
import { GiAirplaneDeparture } from 'react-icons/gi';
8+
import { GrServer } from 'react-icons/gr';
69

710
interface FeatureProps {
811
icon: JSX.Element;
@@ -12,25 +15,25 @@ interface FeatureProps {
1215

1316
const features: FeatureProps[] = [
1417
{
15-
icon: <MedalIcon />,
18+
icon: <LiaMedalSolid size={50} color="pink" className="m-0.5" />,
1619
title: 'Sign in',
1720
description:
1821
'Sign in with Google to generate secret UUIDs, or generate your own using a random key generator',
1922
},
2023
{
21-
icon: <MapIcon />,
24+
icon: <TbMapPin2 size={50} color="pink" className="m-0.5" />,
2225
title: 'Setup',
2326
description:
2427
'Setup the taskserver for your Taskwarrior clients by following the documentation',
2528
},
2629
{
27-
icon: <PlaneIcon />,
30+
icon: <GiAirplaneDeparture size={50} color="pink" className="m-0.5" />,
2831
title: 'Share',
2932
description:
3033
'Sign in on multiple devices and use the same UUIDs to sync tasks across all the clients or your team',
3134
},
3235
{
33-
icon: <GiftIcon />,
36+
icon: <GrServer size={50} color="pink" className="m-0.5" />,
3437
title: 'Deploy your own',
3538
description:
3639
'You can also deploy your own server instance by following this documentation',

0 commit comments

Comments
 (0)