From db289c2f55fb850c4a402830044800f0401699d5 Mon Sep 17 00:00:00 2001 From: Neeraj-gagat Date: Thu, 5 Feb 2026 17:02:28 +0530 Subject: [PATCH 1/2] replaced icons --- .../HowItWorks/HowItWorks.tsx | 13 +- .../__snapshots__/HowItWorks.test.tsx.snap | 360 ++++-------------- frontend/src/components/utils/Icons.tsx | 312 --------------- 3 files changed, 72 insertions(+), 613 deletions(-) diff --git a/frontend/src/components/LandingComponents/HowItWorks/HowItWorks.tsx b/frontend/src/components/LandingComponents/HowItWorks/HowItWorks.tsx index 3de0c578..cb476e59 100644 --- a/frontend/src/components/LandingComponents/HowItWorks/HowItWorks.tsx +++ b/frontend/src/components/LandingComponents/HowItWorks/HowItWorks.tsx @@ -2,7 +2,10 @@ import { motion, useAnimation } from 'framer-motion'; import { useInView } from 'react-intersection-observer'; import { useEffect } from 'react'; import { Card, CardContent, CardHeader, CardTitle } from '../../ui/card'; -import { MedalIcon, MapIcon, PlaneIcon, GiftIcon } from '../../utils/Icons'; +import { LiaMedalSolid } from 'react-icons/lia'; +import { TbMapPin2 } from 'react-icons/tb'; +import { GiAirplaneDeparture } from 'react-icons/gi'; +import { GrServer } from 'react-icons/gr'; interface FeatureProps { icon: JSX.Element; @@ -12,25 +15,25 @@ interface FeatureProps { const features: FeatureProps[] = [ { - icon: , + icon: , title: 'Sign in', description: 'Sign in with Google to generate secret UUIDs, or generate your own using a random key generator', }, { - icon: , + icon: , title: 'Setup', description: 'Setup the taskserver for your Taskwarrior clients by following the documentation', }, { - icon: , + icon: , title: 'Share', description: 'Sign in on multiple devices and use the same UUIDs to sync tasks across all the clients or your team', }, { - icon: , + icon: , title: 'Deploy your own', description: 'You can also deploy your own server instance by following this documentation', diff --git a/frontend/src/components/LandingComponents/HowItWorks/__tests__/__snapshots__/HowItWorks.test.tsx.snap b/frontend/src/components/LandingComponents/HowItWorks/__tests__/__snapshots__/HowItWorks.test.tsx.snap index ee709f43..2c67d2eb 100644 --- a/frontend/src/components/LandingComponents/HowItWorks/__tests__/__snapshots__/HowItWorks.test.tsx.snap +++ b/frontend/src/components/LandingComponents/HowItWorks/__tests__/__snapshots__/HowItWorks.test.tsx.snap @@ -36,83 +36,20 @@ exports[`HowItWorks component using snapshot renders correctly 1`] = ` class="text-2xl font-semibold leading-none tracking-tight grid gap-4 place-items-center" > - - Free Icons - - - - - - - - - - - - - - - - - - - + Sign in @@ -138,79 +75,34 @@ exports[`HowItWorks component using snapshot renders correctly 1`] = ` class="text-2xl font-semibold leading-none tracking-tight grid gap-4 place-items-center" > - - Free Icons - - - - - - - - - - - - - - - - - - + + + + + Setup @@ -236,63 +128,20 @@ exports[`HowItWorks component using snapshot renders correctly 1`] = ` class="text-2xl font-semibold leading-none tracking-tight grid gap-4 place-items-center" > - - Free Icons - - - - - - - - - - - - - - + Share @@ -318,103 +167,22 @@ exports[`HowItWorks component using snapshot renders correctly 1`] = ` class="text-2xl font-semibold leading-none tracking-tight grid gap-4 place-items-center" > - - Free Icons - - - - - - - - - - - - - - - - - - - - - - - - + Deploy your own diff --git a/frontend/src/components/utils/Icons.tsx b/frontend/src/components/utils/Icons.tsx index 39c87c70..f90eb151 100644 --- a/frontend/src/components/utils/Icons.tsx +++ b/frontend/src/components/utils/Icons.tsx @@ -16,315 +16,3 @@ export const LogoIcon = () => { ); }; - -export const MedalIcon = () => { - return ( - - Free Icons - - - - - - - - - - - - - - - - - - - - ); -}; - -export const MapIcon = () => { - return ( - - Free Icons - - - - - - - - - - - - - - - - - - - ); -}; - -export const PlaneIcon = () => { - return ( - - Free Icons - - - - - - - - - - - - - - - ); -}; - -export const GiftIcon = () => { - return ( - - Free Icons - - - - - - - - - - - - - - - - - - - - - - - - - ); -}; From 14a033441d0783331bcc619ffe359eebe179c2ae Mon Sep 17 00:00:00 2001 From: Neeraj-gagat Date: Thu, 5 Feb 2026 17:50:35 +0530 Subject: [PATCH 2/2] removed icons.tsx --- frontend/src/components/utils/Icons.tsx | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 frontend/src/components/utils/Icons.tsx diff --git a/frontend/src/components/utils/Icons.tsx b/frontend/src/components/utils/Icons.tsx deleted file mode 100644 index f90eb151..00000000 --- a/frontend/src/components/utils/Icons.tsx +++ /dev/null @@ -1,18 +0,0 @@ -export const LogoIcon = () => { - return ( - - - - - - ); -};