From 381a488671fe77f6d13cce9919b4b1401478f0f2 Mon Sep 17 00:00:00 2001 From: LofiSu <163713803+LofiSu@users.noreply.github.com> Date: Sun, 26 Jan 2025 06:24:28 +0000 Subject: cli --- index.html | 2 +- package.json | 4 ++-- pnpm-lock.yaml | 4 ++-- src/HomePage.tsx | 1 - src/components/FeatureCard.tsx | 28 ++++++++++++++++++++++++++++ src/components/FutureCard.tsx | 28 ---------------------------- 6 files changed, 33 insertions(+), 34 deletions(-) create mode 100644 src/components/FeatureCard.tsx delete mode 100644 src/components/FutureCard.tsx diff --git a/index.html b/index.html index e4b78ea..9620400 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,6 @@
- + diff --git a/package.json b/package.json index 7e20efe..df9ecd8 100644 --- a/package.json +++ b/package.json @@ -12,10 +12,10 @@ "dependencies": { "@nextui-org/react": "2.4.8", "fa@^4.11.0": "link:react-icons/fa@^4.11.0", - "framer-motion": "^10.16.4", + "framer-motion": "^10.18.0", "react": "^18.3.1", "react-dom": "^18.3.1", - "recharts": "^2.9.3", + "recharts": "^2.15.0", "si@^4.11.0": "link:react-icons/si@^4.11.0", "three": "^0.158.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0aad6ac..f2b76aa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,7 +15,7 @@ importers: specifier: link:react-icons/fa@^4.11.0 version: link:react-icons/fa@^4.11.0 framer-motion: - specifier: ^10.16.4 + specifier: ^10.18.0 version: 10.18.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: ^18.3.1 @@ -24,7 +24,7 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) recharts: - specifier: ^2.9.3 + specifier: ^2.15.0 version: 2.15.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) si@^4.11.0: specifier: link:react-icons/si@^4.11.0 diff --git a/src/HomePage.tsx b/src/HomePage.tsx index dcbb88c..3a40a16 100644 --- a/src/HomePage.tsx +++ b/src/HomePage.tsx @@ -11,7 +11,6 @@ const HomePage: React.FC = () => { return (
- {/* Hero Section */}
= ({ icon, title, description }) => { + return ( + + +
+
+ {icon} +
+

{title}

+

{description}

+
+
+
+ ); +}; diff --git a/src/components/FutureCard.tsx b/src/components/FutureCard.tsx deleted file mode 100644 index 5f8a95d..0000000 --- a/src/components/FutureCard.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import React from 'react'; -import { motion } from 'framer-motion'; -import { Card } from '@nextui-org/react'; - -interface FeatureCardProps { - icon: React.ReactNode; - title: string; - description: string; -} - -export const FeatureCard: React.FC = ({ icon, title, description }) => { - return ( - - -
-
- {icon} -
-

{title}

-

{description}

-
-
-
- ); -}; -- cgit v1.2.3-70-g09d2