diff --git a/package-lock.json b/package-lock.json
index 52cbf3f9..9ce534bf 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -8951,21 +8951,6 @@
"node": ">=8"
}
},
- "node_modules/date-fns": {
- "version": "2.30.0",
- "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz",
- "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==",
- "dependencies": {
- "@babel/runtime": "^7.21.0"
- },
- "engines": {
- "node": ">=0.11"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/date-fns"
- }
- },
"node_modules/debug": {
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
@@ -19560,21 +19545,6 @@
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
}
},
- "node_modules/react-tweet": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/react-tweet/-/react-tweet-3.1.1.tgz",
- "integrity": "sha512-8GQLa5y0G56kvGQkN7OiaKkjFAhWYVdyFq62ioY2qVtpMrjchVU+3KnqneCyp0+BemOQZkg6WWp/qoCNeEMH6A==",
- "dependencies": {
- "@swc/helpers": "^0.5.1",
- "clsx": "^1.2.1",
- "date-fns": "^2.30.0",
- "swr": "^2.2.0"
- },
- "peerDependencies": {
- "react": ">= 18.0.0",
- "react-dom": ">= 18.0.0"
- }
- },
"node_modules/read-cache": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
@@ -22171,18 +22141,6 @@
"url": "https://github.com/fb55/entities?sponsor=1"
}
},
- "node_modules/swr": {
- "version": "2.2.4",
- "resolved": "https://registry.npmjs.org/swr/-/swr-2.2.4.tgz",
- "integrity": "sha512-njiZ/4RiIhoOlAaLYDqwz5qH/KZXVilRLvomrx83HjzCWTfa+InyfAjv05PSFxnmLzZkNO9ZfvgoqzAaEI4sGQ==",
- "dependencies": {
- "client-only": "^0.0.1",
- "use-sync-external-store": "^1.2.0"
- },
- "peerDependencies": {
- "react": "^16.11.0 || ^17.0.0 || ^18.0.0"
- }
- },
"node_modules/tailwindcss": {
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.3.tgz",
@@ -24606,8 +24564,7 @@
"lucide-react": "^0.284.0",
"prism-react-renderer": "^1.3.5",
"react": "18.2.0",
- "react-dom": "18.2.0",
- "react-tweet": "^3.1.1"
+ "react-dom": "18.2.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.4.3",
diff --git a/packages/website/package.json b/packages/website/package.json
index 8994e490..6406517c 100644
--- a/packages/website/package.json
+++ b/packages/website/package.json
@@ -24,8 +24,7 @@
"lucide-react": "^0.284.0",
"prism-react-renderer": "^1.3.5",
"react": "18.2.0",
- "react-dom": "18.2.0",
- "react-tweet": "^3.1.1"
+ "react-dom": "18.2.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.4.3",
diff --git a/packages/website/src/components/hero.tsx b/packages/website/src/components/hero.tsx
index e24b3d5a..366b21fe 100644
--- a/packages/website/src/components/hero.tsx
+++ b/packages/website/src/components/hero.tsx
@@ -1,8 +1,8 @@
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import React from "react";
-import StarButton from "./landing/stars-button";
+import { StarsButton } from "./landing/stars-button";
-export default function Hero() {
+export function Hero() {
const { siteConfig } = useDocusaurusContext();
return (
@@ -28,7 +28,7 @@ export default function Hero() {
className="!no-underline hover:brightness-90 transition !text-stone-100 cursor-pointer rounded-lg mr-4 bg-stone-800 px-3 py-2 font-bold inline-flex items-center justify-center text-sm sm:text-lg md:text-xl">
Getting started 🎉
-