From a9f22234eba771af8272235065a8f74e0bbbdd3d Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Mon, 7 Apr 2025 16:13:58 +0100 Subject: [PATCH] added cobtent to home page --- src/components/Icons.jsx | 10 +++++- src/components/InputText.jsx | 6 ++-- src/pages/HomePage.jsx | 60 ++++++++++++++++++++++++++++++++---- 3 files changed, 66 insertions(+), 10 deletions(-) diff --git a/src/components/Icons.jsx b/src/components/Icons.jsx index a3d8445..799c350 100644 --- a/src/components/Icons.jsx +++ b/src/components/Icons.jsx @@ -8,7 +8,9 @@ import { TbPlayerTrackNext, TbPlayerTrackPrev } from 'react-icons/tb' import { IoMdSettings } from "react-icons/io"; import { LuMessageSquareText } from "react-icons/lu"; import { LuPanelRight } from "react-icons/lu"; - +import { FcGoogle } from "react-icons/fc"; +import { IoLogoApple } from "react-icons/io5"; +import { FcSalesPerformance } from "react-icons/fc"; export default function Icons({name, className}) { @@ -40,6 +42,12 @@ export default function Icons({name, className}) { :name.toLowerCase() == 'right-panel' ? + :name.toLowerCase() == 'google' ? + + :name.toLowerCase() == 'apple' ? + + :name.toLowerCase() == 'sales' ? + : null } diff --git a/src/components/InputText.jsx b/src/components/InputText.jsx index d2bee93..66c3914 100644 --- a/src/components/InputText.jsx +++ b/src/components/InputText.jsx @@ -1,9 +1,9 @@ import React from 'react' -export default function InputText({id, name, type='text', value, handleChange}) { +export default function InputText({id, name, type='text', placeholder, value, handleChange}) { return ( -
- +
+
) } diff --git a/src/pages/HomePage.jsx b/src/pages/HomePage.jsx index aa8517e..f5530f3 100644 --- a/src/pages/HomePage.jsx +++ b/src/pages/HomePage.jsx @@ -1,24 +1,72 @@ import React from 'react' import BreadcrumbCom from '../components/breadcrumb/BreadcrumbCom' +import CustomCounter from '../components/CustomCounter' +import Icons from '../components/Icons' export default function HomePage() { return (
-
-
+
+

Earnings

+
+

+

- 12% this week

+
-
+

Contributions

+
+

$

+

+ 56% this week

+
-
+

Summary

+
+
+
+ +
+
+

$K

+

Sales

+
+
+
+
+ +
+
+

$K

+

Revenue

+
+
+
+
+ +
+
+

$K

+

Tickets

+
+
+
+
+ +
+
+

$M

+

Tasks

+
+
+
-
+ {/*

Earnings

-
+
*/}
-- 2.34.1