Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

🐛 fix: small fixes

Dillion Verma3e1b8ebad040
diff --git a/components/landing/hero.tsx b/components/landing/hero.tsx
index 204f3360..7d6f03cb 100644
--- a/components/landing/hero.tsx
+++ b/components/landing/hero.tsx
@@ -12,7 +12,7 @@ export default function Hero() {
<div className="container flex max-w-[64rem] flex-col items-center gap-4 text-center">
<FadeIn className="z-10 flex h-full w-full flex-col items-center justify-center">
<Link
- href="/components/shimmer-button"
+ href="/components/tweet-card"
className={cn(
"relative flex flex-row items-center justify-center",
"rounded-2xl px-4 py-1.5 text-sm font-medium shadow-[inset_0_-8px_10px_#8fdfff1f]",
@@ -31,7 +31,7 @@ export default function Hero() {
`inline`,
)}
>
- Introducing Shimmer Button
+ Introducing Tweet Card
</span>
<ChevronRight className="ml-1 h-4 w-4 text-gray-500" />
<div
diff --git a/components/landing/testimonials.tsx b/components/landing/testimonials.tsx
index 2b6f7a05..beb01ca6 100644
--- a/components/landing/testimonials.tsx
+++ b/components/landing/testimonials.tsx
@@ -1,6 +1,7 @@
import FadeIn from "@/registry/components/magicui/fade-in";
import Marquee from "@/registry/components/magicui/marquee";
import TweetCard from "@/registry/components/magicui/tweet-card";
+import Link from "next/link";
const tweets = [
"https://twitter.com/pkp_io/status/1684561895481802753",
@@ -33,14 +34,18 @@ export default async function Testimonials() {
<Marquee className="max-w-screen [--duration:120s]" pauseOnHover>
{firstRow.map((id, idx) => (
<FadeIn delay={0.06 + idx * 0.04} key={idx}>
- <TweetCard id={id} className="h-36 w-72 min-w-[18rem]" />
+ <Link href={`https://twitter.com/i/web/status/${id}`}>
+ <TweetCard id={id} className="h-36 w-72 min-w-[18rem]" />
+ </Link>
</FadeIn>
))}
</Marquee>
<Marquee className="max-w-screen [--duration:120s]" reverse pauseOnHover>
{secondRow.map((id, idx) => (
<FadeIn delay={0.06 + 0.04 * (secondRow.length - idx)} key={idx}>
- <TweetCard id={id} className="h-36 w-72 min-w-[18rem]" />
+ <Link href={`https://twitter.com/i/web/status/${id}`}>
+ <TweetCard id={id} className="h-36 w-72 min-w-[18rem]" />
+ </Link>
</FadeIn>
))}
</Marquee>