From 02dc1698ef41da602e901db9de8db420b69956e0 Mon Sep 17 00:00:00 2001 From: baitcode Date: Tue, 26 Nov 2024 03:57:52 +0300 Subject: [PATCH] reaname to hero --- components/pages/home/header.tsx | 35 ------------- package-lock.json | 52 +++++++++++++++++++ package.json | 5 +- .../components/pages/home/header.module.css | 9 ---- 4 files changed, 55 insertions(+), 46 deletions(-) delete mode 100644 components/pages/home/header.tsx delete mode 100644 styles/components/pages/home/header.module.css diff --git a/components/pages/home/header.tsx b/components/pages/home/header.tsx deleted file mode 100644 index 445867dc..00000000 --- a/components/pages/home/header.tsx +++ /dev/null @@ -1,35 +0,0 @@ -import React, { FunctionComponent } from "react"; -import styles from "@styles/components/pages/home/header.module.css"; - -import Typography from "../../UI/typography/typography"; -import { TEXT_TYPE } from "@constants/typography"; -import SplitTitle from "./splitTitle"; - -type MainHeaderProps = { -}; - -const Header: FunctionComponent = ({ -}) => { - - return ( -
-
- - - - WITH STARKNET - -
- - - Starknet Quest is our gateway to DeFi, offering tools and opportunities - for individuals, DAOs, and protocols to grow their assets and explore Starknet's - full potential. - - -
- ); -}; -export default Header; diff --git a/package-lock.json b/package-lock.json index 860bdcad..ea87cebe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,6 +32,7 @@ "lottie-react": "^2.4.0", "maath": "^0.7.0", "mongodb": "^4.12.1", + "motion": "^11.11.17", "next": "^14.0.1", "next-axiom": "^1.1.1", "posthog-js": "^1.116.2", @@ -10539,6 +10540,31 @@ "url": "https://github.com/sponsors/rawify" } }, + "node_modules/framer-motion": { + "version": "11.11.17", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.11.17.tgz", + "integrity": "sha512-O8QzvoKiuzI5HSAHbcYuL6xU+ZLXbrH7C8Akaato4JzQbX2ULNeniqC2Vo5eiCtFktX9XsJ+7nUhxcl2E2IjpA==", + "license": "MIT", + "dependencies": { + "tslib": "^2.4.0" + }, + "peerDependencies": { + "@emotion/is-prop-valid": "*", + "react": "^18.0.0", + "react-dom": "^18.0.0" + }, + "peerDependenciesMeta": { + "@emotion/is-prop-valid": { + "optional": true + }, + "react": { + "optional": true + }, + "react-dom": { + "optional": true + } + } + }, "node_modules/fs-extra": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", @@ -13236,6 +13262,32 @@ "whatwg-url": "^11.0.0" } }, + "node_modules/motion": { + "version": "11.11.17", + "resolved": "https://registry.npmjs.org/motion/-/motion-11.11.17.tgz", + "integrity": "sha512-y6mXYElvJ5HHwPBUpYG/5wclKVGW4hJhqPkTjWccib5/WrcRM185adg3+4aSmG5iD10XKFt5uBOAiKwuzMHPPQ==", + "license": "MIT", + "dependencies": { + "framer-motion": "^11.11.17", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "@emotion/is-prop-valid": "*", + "react": "^18.0.0", + "react-dom": "^18.0.0" + }, + "peerDependenciesMeta": { + "@emotion/is-prop-valid": { + "optional": true + }, + "react": { + "optional": true + }, + "react-dom": { + "optional": true + } + } + }, "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", diff --git a/package.json b/package.json index 5e60c917..ed0955c4 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "@nimiq/style": "^0.8.5", "@react-three/drei": "^9.80.3", "@react-three/fiber": "^8.13.6", + "@starknet-io/get-starknet-core": "^4.0.0", "@starknet-react/chains": "^3.1.0", "@starknet-react/core": "^3.5.0", "@tanstack/react-table": "^8.17.3", @@ -29,12 +30,12 @@ "bn.js": "^5.2.1", "chart.js": "^4.3.0", "dayjs": "^1.11.11", - "@starknet-io/get-starknet-core": "^4.0.0", "jotai": "^2.5.0", "jwt-decode": "^4.0.0", "lottie-react": "^2.4.0", "maath": "^0.7.0", "mongodb": "^4.12.1", + "motion": "^11.11.17", "next": "^14.0.1", "next-axiom": "^1.1.1", "posthog-js": "^1.116.2", @@ -75,4 +76,4 @@ "ts-jest": "^29.0.3", "typescript": "^5.3.2" } -} \ No newline at end of file +} diff --git a/styles/components/pages/home/header.module.css b/styles/components/pages/home/header.module.css deleted file mode 100644 index 0a0326e1..00000000 --- a/styles/components/pages/home/header.module.css +++ /dev/null @@ -1,9 +0,0 @@ -.header { - font-family: 'Sora-Bold'; - font-weight: 1000; - - background: linear-gradient(90deg, - var(--primary) -0.12%, - var(--tertiary) 99.88%); - background-clip: text; -}