diff --git a/site/docs/components/landing/ComponentPreview.tsx b/site/docs/components/landing/ComponentPreview.tsx index 2d45a31028..a026a8ddb7 100644 --- a/site/docs/components/landing/ComponentPreview.tsx +++ b/site/docs/components/landing/ComponentPreview.tsx @@ -1,6 +1,7 @@ +import type React from 'react'; import { useEffect, useState } from 'react'; -import CopyIcon from '../svg/CopySvg.tsx'; -import CheckIcon from '../svg/checkSvg.tsx'; +import CopyIcon from '../svg/CopySvg.js'; +import CheckIcon from '../svg/checkSvg.js'; // Demo components and code snippets import CheckoutDemo, { checkoutDemoCode } from './CheckoutDemo.tsx'; @@ -83,7 +84,7 @@ function ComponentPreview() { return (
- {components[activeTab].code}
-
-
+ {components[activeTab].code}
+
{children}@@ -43,66 +43,68 @@ const Tweets: React.FC = () => { return (
- π£ Excited to announce that Basenames are now integrated into the
- Fit Club app!
-
- Thanks to{' '}
-
- @OnchainKit
- {' '}
- for making it smooth and easy! π
-
-
- More updates on the way, stay fit. ποΈββοΈποΈββοΈ{' '}
- pic.twitter.com/5BlIm5kSx3
-
- Building with
-
- @OnchainKit
- {' '}
- has been such a great experience so far. We're builders, and
- we like to build things from scratch. But with{' '}
-
- @OnchainKit
+
+ π£ Excited to announce that Basenames are now integrated into
+ the Fit Club app!
+ Building with
+
+ @OnchainKit
+ {' '}
+ has been such a great experience so far. We're builders, and
+ we like to build things from scratch. But with{' '}
+
+ @OnchainKit
+
+ , there was a real boost in productivity, allowing us to ship
+ dApps with seamless functionality in a matter of minutes.
+ Swap is now live on our website! Feels good to be based, thanks
+ guys π{' '}
+ pic.twitter.com/vunDYrnT2j
+
- Swap is now live on our website! Feels good to be based, thanks
- guys π{' '}
- pic.twitter.com/vunDYrnT2j
-
+ Builders ship faster with OnchainKit
+
+
+
+ Thanks to{' '}
+
+ @OnchainKit
+ {' '}
+ for making it smooth and easy! π
+
+
+ More updates on the way, stay fit. ποΈββοΈποΈββοΈ{' '}
+ pic.twitter.com/5BlIm5kSx3
+
+
+ Onto the nextβ¦{' '}
+ https://t.co/QzlJ4RIKLG
+
-
- Onto the nextβ¦{' '}
- https://t.co/QzlJ4RIKLG
-
- — Coinfever (@coinfeverapp){' '}
-
- October 4, 2024
-
-