Skip to content

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

feat: make components free, update landing page

Dillion Vermaf938b2da5ff6
diff --git a/app/(marketing)/page.tsx b/app/(marketing)/page.tsx
index 4db2f3c7..4fb647a7 100644
--- a/app/(marketing)/page.tsx
+++ b/app/(marketing)/page.tsx
@@ -1,6 +1,5 @@
+import CTASection from "@/components/landing/cta-section";
import Hero from "@/components/landing/hero";
-import Faq from "@/components/pricing/faq";
-import Pricing from "@/components/pricing/pricing";
import Testimonials from "@/components/pricing/testimonials";
export default async function Home() {
@@ -12,8 +11,9 @@ export default async function Home() {
{/* <FeatureGrid /> */}
{/* <FeatureSections /> */}
{/* <ChangelogSection /> */}
- <Pricing />
- <Faq />
+ {/* <Pricing /> */}
+ {/* <Faq /> */}
+ <CTASection />
</>
);
}
diff --git a/components/component-source.tsx b/components/component-source.tsx
index 77162682..db110b09 100644
--- a/components/component-source.tsx
+++ b/components/component-source.tsx
@@ -2,10 +2,8 @@
import { CodeBlockWrapper } from "@/components/code-block-wrapper";
import PreOrder from "@/components/preorder";
-import { cn, fetcher } from "@/lib/utils";
-import { useSession } from "next-auth/react";
+import { cn } from "@/lib/utils";
import * as React from "react";
-import useSWR from "swr";
interface ComponentSourceProps extends React.HTMLAttributes<HTMLDivElement> {
src: string;
@@ -24,22 +22,22 @@ export function ComponentSource({
className,
...props
}: ComponentSourceProps) {
- const { data: session, status } = useSession();
- const { data, isLoading } = useSWR(
- status === "authenticated" && "/api/me",
- fetcher,
- );
+ // const { data: session, status } = useSession();
+ // const { data, isLoading } = useSWR(
+ // status === "authenticated" && "/api/me",
+ // fetcher,
+ // );
- if (status === "loading") return null;
- if (status === "unauthenticated") return <Preview />;
- if (isLoading) return null;
+ // if (status === "loading") return null;
+ // if (status === "unauthenticated") return <Preview />;
+ // if (isLoading) return null;
// TODO: Make this cleaner
- if (
- data?.user?.customer?.payments.length === 0 &&
- data?.user.role !== "ADMIN"
- )
- return <Preview />;
+ // if (
+ // data?.user?.customer?.payments.length === 0 &&
+ // data?.user.role !== "ADMIN"
+ // )
+ // return <Preview />;
return (
<CodeBlockWrapper
diff --git a/components/landing/buy-button.tsx b/components/landing/buy-button.tsx
index 8f0b5084..1ea49ec0 100644
--- a/components/landing/buy-button.tsx
+++ b/components/landing/buy-button.tsx
@@ -1,6 +1,8 @@
"use client";
+
import { buttonVariants } from "@/components/ui/button";
import { cn, fetcher } from "@/lib/utils";
+import { ChevronRight } from "lucide-react";
import { useSession } from "next-auth/react";
import Link from "next/link";
import useSWR from "swr";
@@ -12,13 +14,15 @@ const LoggedInAndPaid = ({ className }: { className?: string }) => {
className={cn(
buttonVariants({
size: "lg",
+ variant: "ghost",
}),
"gap-2 whitespace-pre md:flex",
- "group relative w-full gap-1 overflow-hidden rounded-sm text-sm font-semibold tracking-tighter",
- "transform-gpu rounded-sm ring-offset-current transition-all duration-300 ease-out hover:ring-2 hover:ring-primary hover:ring-offset-2",
+ "group relative w-full gap-1 overflow-hidden rounded-full text-sm font-semibold tracking-tighter",
+ // "transform-gpu ring-offset-current transition-all duration-300 ease-out hover:ring-2 hover:ring-primary hover:ring-offset-2",
)}
>
Get Started
+ <ChevronRight className="ml-1 size-4 transition-all duration-300 ease-out group-hover:translate-x-1" />
</Link>
);
};
@@ -30,13 +34,15 @@ const UnPaid = ({ className }: { className?: string }) => {
className={cn(
buttonVariants({
size: "lg",
+ variant: "secondary",
}),
"gap-2 whitespace-pre md:flex",
- "group relative w-full gap-1 overflow-hidden rounded-sm text-sm font-semibold tracking-tighter",
- "transform-gpu rounded-sm ring-offset-current transition-all duration-300 ease-out hover:ring-2 hover:ring-primary hover:ring-offset-2",
+ "group relative w-full gap-1 overflow-hidden rounded-full text-sm font-semibold tracking-tighter",
+ // "transform-gpu rounded-sm ring-offset-current transition-all duration-300 ease-out hover:ring-2 hover:ring-primary hover:ring-offset-2",
)}
>
- Get Lifetime Access
+ Get Magic UI Pro
+ <ChevronRight className="ml-1 size-4 transition-all duration-300 ease-out group-hover:translate-x-1" />
</Link>
);
};
diff --git a/components/landing/cta-section.tsx b/components/landing/cta-section.tsx
new file mode 100644
index 00000000..85ef4c7e
--- /dev/null
+++ b/components/landing/cta-section.tsx
@@ -0,0 +1,164 @@
+import { buttonVariants } from "@/components/ui/button";
+import { cn } from "@/lib/utils";
+import Marquee from "@/registry/components/magicui/marquee";
+import { ChevronRight, HeartHandshake } from "lucide-react";
+
+const reviews = [
+ {
+ name: "Jack",
+ username: "@jack",
+ body: "I've never seen anything like this before. It's amazing. I love it.",
+ img: "https://avatar.vercel.sh/jack",
+ },
+ {
+ name: "Jill",
+ username: "@jill",
+ body: "I don't know what to say. I'm speechless. This is amazing.",
+ img: "https://avatar.vercel.sh/jill",
+ },
+ {
+ name: "John",
+ username: "@john",
+ body: "I'm at a loss for words. This is amazing. I love it.",
+ img: "https://avatar.vercel.sh/john",
+ },
+ {
+ name: "Jane",
+ username: "@jane",
+ body: "I'm at a loss for words. This is amazing. I love it.",
+ img: "https://avatar.vercel.sh/jane",
+ },
+ {
+ name: "Jenny",
+ username: "@jenny",
+ body: "I'm at a loss for words. This is amazing. I love it.",
+ img: "https://avatar.vercel.sh/jenny",
+ },
+ {
+ name: "James",
+ username: "@james",
+ body: "I'm at a loss for words. This is amazing. I love it.",
+ img: "https://avatar.vercel.sh/james",
+ },
+];
+
+const firstRow = reviews.slice(0, reviews.length / 2);
+const secondRow = reviews.slice(reviews.length / 2);
+
+const ReviewCard = ({
+ img,
+ name,
+ username,
+ body,
+}: {
+ img: string;
+ name: string;
+ username: string;
+ body: string;
+}) => {
+ return (
+ <figure
+ className={cn(
+ "relative w-64 cursor-pointer overflow-hidden rounded-[2rem] border p-4",
+ // light styles
+ "border-gray-950/[.1] bg-gray-950/[.01] hover:bg-gray-950/[.05]",
+ // dark styles
+ "dark:border-gray-50/[.1] dark:bg-gray-50/[.10] dark:hover:bg-gray-50/[.15]",
+ )}
+ >
+ <div className="flex flex-row items-center gap-2">
+ <img className="rounded-full" width="32" height="32" alt="" src={img} />
+ <div className="flex flex-col">
+ <figcaption className="text-sm font-medium dark:text-white">
+ {name}
+ </figcaption>
+ <p className="text-xs font-medium dark:text-white/40">{username}</p>
+ </div>
+ </div>
+ <blockquote className="mt-2 text-sm">{body}</blockquote>
+ </figure>
+ );
+};
+
+export default function CTASection() {
+ return (
+ <section id="cta">
+ <div className="py-14">
+ <div className="container flex w-full flex-col items-center justify-center p-4">
+ <div className="relative flex w-full max-w-[1000px] flex-col items-center justify-center overflow-hidden rounded-[2rem] border p-10 py-14">
+ <div className="absolute rotate-[35deg]">
+ <Marquee pauseOnHover className="[--duration:20s]" repeat={3}>
+ {firstRow.map((review) => (
+ <ReviewCard key={review.username} {...review} />
+ ))}
+ </Marquee>
+ <Marquee
+ reverse
+ pauseOnHover
+ className="[--duration:20s]"
+ repeat={3}
+ >
+ {secondRow.map((review) => (
+ <ReviewCard key={review.username} {...review} />
+ ))}
+ </Marquee>
+ <Marquee pauseOnHover className="[--duration:20s]" repeat={3}>
+ {firstRow.map((review) => (
+ <ReviewCard key={review.username} {...review} />
+ ))}
+ </Marquee>
+ <Marquee
+ reverse
+ pauseOnHover
+ className="[--duration:20s]"
+ repeat={3}
+ >
+ {secondRow.map((review) => (
+ <ReviewCard key={review.username} {...review} />
+ ))}
+ </Marquee>
+ <Marquee pauseOnHover className="[--duration:20s]" repeat={3}>
+ {firstRow.map((review) => (
+ <ReviewCard key={review.username} {...review} />
+ ))}
+ </Marquee>
+ <Marquee
+ reverse
+ pauseOnHover
+ className="[--duration:20s]"
+ repeat={3}
+ >
+ {secondRow.map((review) => (
+ <ReviewCard key={review.username} {...review} />
+ ))}
+ </Marquee>
+ </div>
+ <div className="z-10 mx-auto size-24 rounded-[2rem] border bg-white/10 p-3 shadow-2xl backdrop-blur-md dark:bg-black/10 lg:size-32">
+ <HeartHandshake className="mx-auto size-16 text-black dark:text-white lg:size-24" />
+ </div>
+ <div className="z-10 mt-4 flex flex-col items-center text-center text-black dark:text-white">
+ <h1 className="text-3xl font-bold lg:text-4xl">
+ Stop wasting time on design.
+ </h1>
+ <p className="mt-2">Get Unlimited Lifetime Access to Magic UI</p>
+ <a
+ href="/pricing"
+ className={cn(
+ buttonVariants({
+ size: "lg",
+ variant: "outline",
+ }),
+ "group mt-4 rounded-[2rem] px-6",
+ )}
+ >
+ Get Magic UI Pro
+ <ChevronRight className="ml-1 size-4 transition-all duration-300 ease-out group-hover:translate-x-1" />
+ </a>
+ </div>
+ <div className="absolute inset-x-0 bottom-0 h-full bg-gradient-to-b from-transparent to-white to-70% dark:to-black" />
+ </div>
+ </div>
+ </div>
+ </section>
+ );
+}
diff --git a/components/landing/hero-client.tsx b/components/landing/hero-client.tsx
index 6f432f48..5e7c0a08 100644
--- a/components/landing/hero-client.tsx
+++ b/components/landing/hero-client.tsx
@@ -5,11 +5,20 @@ import BuyButton from "@/components/landing/buy-button";
import { buttonVariants } from "@/components/ui/button";
import { Separator } from "@/components/ui/separator";
import { cn } from "@/lib/utils";
+import AnimatedBeamMultipleInputDemo from "@/registry/components/example/animated-beam-multiple-inputs";
+import FeatureCard1 from "@/registry/components/example/animated-feature-card-1";
+import FeatureCard2 from "@/registry/components/example/animated-feature-card-2";
+import FeatureCard3 from "@/registry/components/example/animated-feature-card-3";
+import FeatureCard4 from "@/registry/components/example/animated-feature-card-4";
+import FeatureCard6 from "@/registry/components/example/animated-feature-card-6";
+import FeatureCard7 from "@/registry/components/example/animated-feature-card-7";
+import AnimatedListDemo from "@/registry/components/example/animated-list-demo";
+import BentoDemo from "@/registry/components/example/bento-demo";
+import GlobeDemo from "@/registry/components/example/globe-demo";
+import RetroGridDemo from "@/registry/components/example/retro-grid-demo";
import AnimatedGradientText from "@/registry/components/magicui/animated-gradient-text";
-import { BorderBeam } from "@/registry/components/magicui/border-beam";
import FadeIn from "@/registry/components/magicui/fade-in";
import NumberTicker from "@/registry/components/magicui/number-ticker";
-import RetroGrid from "@/registry/components/magicui/retro-grid";
import { StarFilledIcon } from "@radix-ui/react-icons";
import { motion, useInView } from "framer-motion";
import { ChevronRight } from "lucide-react";
@@ -42,7 +51,7 @@ export default function HeroClient({
return (
<section id="hero">
<div className="relative h-full overflow-hidden py-14">
- <RetroGrid className="z-0" />
+ {/* <RetroGrid className="z-0" /> */}
<div className="container z-10 flex flex-col">
<div className="mt-20 grid grid-cols-1">
<div className="flex flex-col items-center gap-6 pb-8 text-center">
@@ -68,7 +77,7 @@ export default function HeroClient({
</AnimatedGradientText>
</Link>
</FadeIn>
- <motion.h1
+ {/* <motion.h1
ref={fadeInRef}
className="text-balance bg-gradient-to-br from-black from-30% to-black/60 bg-clip-text py-6 text-5xl font-medium leading-none tracking-tighter text-transparent dark:from-white dark:to-white/40 sm:text-6xl md:text-7xl lg:text-8xl"
animate={fadeInInView ? "animate" : "initial"}
@@ -82,10 +91,26 @@ export default function HeroClient({
}}
>
Create Magical <br /> Landing Pages <br />
+ </motion.h1> */}
+ <motion.h1
+ ref={fadeInRef}
+ animate={fadeInInView ? "animate" : "initial"}
+ variants={fadeUpVariants}
+ initial={false}
+ transition={{
+ duration: 0.6,
+ delay: 0.1,
+ ease: [0.21, 0.47, 0.32, 0.98],
+ type: "spring",
+ }}
+ className="text-balance bg-gradient-to-br from-black from-30% to-black/60 bg-clip-text py-6 text-5xl font-semibold leading-none tracking-tighter text-transparent dark:from-white dark:to-white/40 sm:text-6xl md:text-7xl lg:text-7xl"
+ >
+ React components to build
+ <br className="hidden md:block" /> beautiful landing pages.
</motion.h1>
<motion.p
- className="max-w-[64rem] text-balance text-lg tracking-tight text-gray-400 md:text-xl"
+ className="max-w-[64rem] text-balance text-lg tracking-tight text-gray-500 md:text-xl"
animate={fadeInInView ? "animate" : "initial"}
variants={fadeUpVariants}
initial={false}
@@ -96,14 +121,37 @@ export default function HeroClient({
type: "spring",
}}
>
- Magic UI is a <strong>next generation UI library</strong>{" "}
- emphasizing <strong>microinteractions and animations</strong>{" "}
- built for developers.
+ 50+ open-source animated components built with React, Tailwind
+ CSS, and Framer Motion.
<br />
Save thousands of hours, create a beautiful landing page, and
- impress your customers.
+ convert your visitors into customers.
</motion.p>
+ {/* <motion.div
+ animate={fadeInInView ? "animate" : "initial"}
+ variants={fadeUpVariants}
+ initial={false}
+ transition={{
+ duration: 0.6,
+ delay: 0.2,
+ ease: [0.21, 0.47, 0.32, 0.98],
+ type: "spring",
+ }}
+ >
+ <TechStack
+ className="text-foreground"
+ technologies={[
+ // "nextjs",
+ "react",
+ "typescript",
+ "tailwindcss",
+ "framermotion",
+ // "shadcn",
+ ]}
+ />
+ </motion.div> */}
+
<motion.div
animate={fadeInInView ? "animate" : "initial"}
variants={fadeUpVariants}
@@ -117,20 +165,21 @@ export default function HeroClient({
}}
>
<div className="flex flex-col gap-4 md:flex-row">
- <BuyButton />
<Link
href="/components"
className={cn(
buttonVariants({
- variant: "outline",
+ variant: "default",
size: "lg",
}),
"gap-2 whitespace-pre md:flex",
- "group relative w-full gap-1 overflow-hidden rounded-sm text-sm font-semibold tracking-tighter",
+ "group relative w-full gap-1 overflow-hidden rounded-full text-sm font-semibold tracking-tighter",
)}
>
- Read Docs
+ Browse Components
+ <ChevronRight className="ml-1 size-12 transition-all duration-300 ease-out group-hover:translate-x-1" />
</Link>
+ <BuyButton />
</div>
</motion.div>
@@ -196,7 +245,68 @@ export default function HeroClient({
</div>
</div>
- <motion.div
+ <div className="container relative mx-auto mt-32 w-full max-w-[1000px]">
+ <motion.span
+ animate={["initial"]}
+ whileHover={["hover"]}
+ variants={{
+ hover: {
+ scale: 1.1,
+ rotate: -6,
+ transition: {
+ duration: 0.2,
+ },
+ },
+ initial: {
+ y: [-8, 8],
+ transition: {
+ duration: 2,
+ repeat: Infinity,
+ repeatType: "reverse",
+ },
+ },
+ }}
+ className="absolute left-0 right-auto top-2 cursor-pointer lg:-top-20"
+ >
+ <span className="flex items-center">
+ <span className="mt-3 inline-block whitespace-nowrap rounded-full bg-neutral-800 px-2.5 py-1 text-[11px] font-semibold uppercase leading-5 tracking-wide text-white">
+ Real component demos!
+ </span>
+ <svg
+ className="mr-6 h-8 w-14 [transform:rotateY(180deg)rotateX(0deg)]"
+ width="45"
+ height="25"
+ viewBox="0 0 45 25"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ d="M43.2951 3.47877C43.8357 3.59191 44.3656 3.24541 44.4788 2.70484C44.5919 2.16427 44.2454 1.63433 43.7049 1.52119L43.2951 3.47877ZM4.63031 24.4936C4.90293 24.9739 5.51329 25.1423 5.99361 24.8697L13.8208 20.4272C14.3011 20.1546 14.4695 19.5443 14.1969 19.0639C13.9242 18.5836 13.3139 18.4152 12.8336 18.6879L5.87608 22.6367L1.92723 15.6792C1.65462 15.1989 1.04426 15.0305 0.563943 15.3031C0.0836291 15.5757 -0.0847477 16.1861 0.187863 16.6664L4.63031 24.4936ZM43.7049 1.52119C32.7389 -0.77401 23.9595 0.99522 17.3905 5.28788C10.8356 9.57127 6.58742 16.2977 4.53601 23.7341L6.46399 24.2659C8.41258 17.2023 12.4144 10.9287 18.4845 6.96211C24.5405 3.00476 32.7611 1.27399 43.2951 3.47877L43.7049 1.52119Z"
+ fill="currentColor"
+ className="fill-gray-300 dark:fill-gray-700"
+ />
+ </svg>
+ </span>
+ </motion.span>
+
+ <BentoDemo />
+
+ <div className="mt-4 grid w-full justify-center gap-4 lg:grid-cols-2">
+ <AnimatedBeamMultipleInputDemo />
+ <AnimatedListDemo />
+ <RetroGridDemo />
+ <GlobeDemo />
+ <FeatureCard1 />
+ <FeatureCard2 />
+ <FeatureCard7 />
+ <FeatureCard3 />
+ <FeatureCard4 />
+ {/* <FeatureCard5 /> */}
+ <FeatureCard6 />
+ </div>
+ </div>
+
+ {/* <motion.div
animate={fadeInInView ? "animate" : "initial"}
variants={fadeUpVariants}
initial={false}
@@ -228,17 +338,15 @@ export default function HeroClient({
src="/dashboard-dark.png"
className="relative hidden h-full w-full rounded-xl border dark:block"
/>
- {/* <video
+ <video
autoPlay
loop
muted
src="demo.mp4"
className="h-auto w-full"
- /> */}
-
+ />
<BorderBeam size={150} />
- {/* <BorderBeam size={150} delay={7} /> */}
- </motion.div>
+ </motion.div> */}
</div>
</div>
</section>
diff --git a/components/tech-stack.tsx b/components/tech-stack.tsx
index 20683c54..8f23d54f 100644
--- a/components/tech-stack.tsx
+++ b/components/tech-stack.tsx
@@ -3,6 +3,7 @@ import {
TooltipContent,
TooltipTrigger,
} from "@/components/ui/tooltip";
+import { cn } from "@/lib/utils";
type TechComponentType = {
name: string;
@@ -132,11 +133,13 @@ const techComponents: TechComponents = {
export default function TechStack({
technologies,
+ className,
}: {
technologies: string[];
+ className?: string;
}) {
return (
- <div className="not-prose flex flex-row gap-2">
+ <div className={cn("not-prose flex flex-row gap-2", className)}>
{technologies.map((tech) => (
<Tooltip key={tech}>
<TooltipTrigger>{techComponents[tech].icon}</TooltipTrigger>
diff --git a/config/docs.ts b/config/docs.ts
index e78d0fc1..8a19710a 100644
--- a/config/docs.ts
+++ b/config/docs.ts
@@ -79,7 +79,7 @@ export const docsConfig: DocsConfig = {
],
},
{
- title: "Page Sections",
+ title: "Page Sections (PRO)",
items: [
{
title: "Header",
@@ -139,7 +139,7 @@ export const docsConfig: DocsConfig = {
title: "Components",
items: [
{
- title: "Feature Cards",
+ title: "Feature Cards (PRO)",
href: `/docs/components/feature-cards`,
items: [],
label: "10+ New",
diff --git a/registry/blocks/example/features-1.tsx b/registry/blocks/example/features-1.tsx
deleted file mode 100644
index 08e58418..00000000
--- a/registry/blocks/example/features-1.tsx
+++ /dev/null
@@ -1,1222 +0,0 @@
-import { cubicBezier, motion } from "framer-motion";
-// import Marquee from "./marquee";
-import { FC, ReactNode } from "react";
-import { cn } from "../../../lib/utils";
-// import {
-// BentoGridContainer,
-// BendroGridLayout,
-// BentoGridContent,
-// BentoGridImage,
-// } from "./gridcomponent5";
-// import { useTheme } from "../theme-provider";
-
-interface BentoGridContainerProps {
- children: ReactNode;
- className?: string;
-}
-
-export const BentoGridContainer: FC<BentoGridContainerProps> = ({
- children,
- className,
-}) => {
- return (
- <div
- className={cn(
- "h-fit rounded-xl border border-slate-200/50 bg-transparent p-1 [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:border-gray-800 dark:bg-transparent dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]",
- className,
- )}
- >
- {children}
- </div>
- );
-};
-
-interface BendroGridLayoutProps {
- children: ReactNode;
- className?: string;
-}
-
-export const BendroGridLayout: FC<BendroGridLayoutProps> = ({
- children,
- className,
-}) => {
- return (
- <div
- className={cn(
- "flex h-full w-full flex-col items-center justify-between gap-y-5",
- className,
- )}
- >
- {children}
- </div>
- );
-};
-
-interface BentoGridImageProps {
- children: ReactNode;
- className?: string;
-}
-
-export const BentoGridImage: FC<BentoGridImageProps> = ({
- children,
- className,
-}) => {
- return (
- <div
- className={cn(
- "flex h-full w-full items-center justify-center bg-transparent",
- className,
- )}
- >
- {children}
- </div>
- );
-};
-
-interface BentoGridContentProps {
- children: ReactNode;
- className?: string;
-}
-
-export const BentoGridContent: FC<BentoGridContentProps> = ({
- children,
- className,
-}) => {
- return (
- <div
- className={cn("flex flex-col items-start gap-y-1 px-5 pb-4", className)}
- >
- {children}
- </div>
- );
-};
-
-const texts = [
- {
- id: 1,
- header: "Activity channels.",
- subheader: "Stay in the know. On the go.",
- },
- {
- id: 2,
- header: "Team Updates.",
- subheader: "Collaborate effectively, wherever you are.",
- },
- {
- id: 3,
- header: "Project Progress.",
- subheader: "Track milestones and progress seamlessly.",
- },
- {
- id: 4,
- header: "Daily Digests.",
- subheader: "Get your daily dose of updates.",
- },
-];
-
-const containerVariants = {
- initial: {},
- whileHover: {
- transition: {
- staggerChildren: 0.1,
- },
- },
-};
-
-/* Bento grid 3 animation start */
-const thirdfirstsecondVariants = {
- initial: (index: number) => ({
- y: 4,
- scale: 0.5,
- opacity: 0,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- }),
- whileHover: (index: number) => ({
- y: -2,
- opacity: 1,
- scale: 1,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- }),
-};
-const thirdsecondsecondVariants = {
- initial: (index: number) => ({
- y: -2,
- opacity: 1,
- scale: 1,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "easeInOut",
- },
- }),
- whileHover: (index: number) => ({
- y: 8,
- opacity: 1,
- scale: 1.05,
- boxShadow:
- "rgba(39,245,76,0.15) 10px 20px 70px -20px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "easeInOut",
- },
- }),
-};
-/* Bento grid 3 animation end */
-
-/* ================================= */
-/* ================================= */
-
-/* Bento Grid 4 animation start */
-const fourthBentoItemOneVariants = {
- initial: {
- x: 35,
- y: 5,
- scale: 0.9,
- rotate: -3,
- zIndex: 1,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- x: 0,
- y: 0,
- scale: 1,
- rotate: 0,
- boxShadow:
- "rgba(39,245,76,0.15) 10px 20px 70px -20px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "easeInOut",
- },
- },
-};
-const fourthBentoItemTwoVariants = {
- initial: {
- scale: 1.1,
- zIndex: 2,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- scale: 1,
- boxShadow:
- "rgba(39,127,245,0.15) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "easeInOut",
- },
- },
-};
-const fourthBentoItemThreeVariants = {
- initial: {
- x: -35,
- y: 5,
- scale: 0.9,
- rotate: 3,
- zIndex: 1,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- x: 0,
- y: 0,
- scale: 1,
- rotate: 0,
- boxShadow:
- "rgba(245,40,145,0.15) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "easeInOut",
- },
- },
-};
-/* Bento Grid 4 animation end */
-
-/* ================================= */
-/* ================================= */
-
-/* Bento Grid 5 animation start */
-const fifthBentoItemOneVariants = {
- initial: {
- viewBox: "0 -950 366 1408",
- filter: "saturate(0.3)",
- opacity: 0.5,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- viewBox: "0 -60 366 310",
- filter: "saturate(1)",
- opacity: 1,
- boxShadow:
- "rgba(245,40,145,0.35) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- },
-};
-const fifthBentoItemTwoVariants = {
- initial: {
- y: 0,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- y: 0,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- },
-};
-/* Bento Grid 5 animation end */
-
-/* ================================= */
-/* ================================= */
-
-/* Bento Grid 6 animation start */
-const sixthBentoItemOneVariants = {
- initial: {
- y: 0,
- scale: 0.95,
- transition: {
- delay: 0,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- y: 25,
- x: 10,
- scale: 1,
- rotate: 2,
- boxShadow:
- "rgba(39,127,245,0.15) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0,
- duration: 0.2,
- ease: "linear",
- },
- },
-};
-const sixthBentoItemTwoVariants = {
- initial: {
- y: 0,
- scale: 0.95,
- transition: {
- delay: 0,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- y: -25,
- x: -10,
- scale: 1,
- rotate: -3,
- boxShadow:
- "rgba(39,245,76,0.15) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0,
- duration: 0.2,
- ease: "linear",
- },
- },
-};
-/* Bentro Grid 6 animation end */
-
-/* ================================= */
-/* ================================= */
-
-/* Bento Grid 7 animation start */
-const seventhBentoItemOneVariants = {
- initial: {
- y: 0,
- scale: 0.95,
- transition: {
- delay: 0,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- y: -10,
- scale: 1,
- boxShadow:
- "rgba(39,127,245,0.15) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0,
- duration: 0.2,
- ease: "linear",
- },
- },
-};
-const seventhBentoItemTwoVariants = {
- initial: {
- y: 20,
- x: 5,
- display: "none",
- opacity: 0,
- scale: 0.95,
- transition: {
- delay: 0,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- y: 10,
- x: -3,
- display: "flex",
- opacity: 1,
- scale: 1,
- transition: {
- delay: 0.1,
- duration: 0.25,
- ease: "easeIn",
- },
- },
-};
-/* Bento Grid 7 animation end */
-
-/* ================================= */
-/* ================================= */
-
-/* Bento Grid 8 animation start */
-const eightBentoItemOneVariants = {
- initial: {
- y: 0,
- scale: 0.97,
- transition: {
- delay: 0,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- y: -45,
- scale: 1,
- boxShadow:
- "rgba(39,127,245,0.15) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0,
- duration: 0.2,
- ease: "linear",
- },
- },
-};
-const eightBentoItemTwoVariants = {
- initial: {
- y: 30,
- opacity: 0,
- scale: 0.97,
- transition: {
- delay: 0,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- y: 10,
- opacity: 1,
- scale: 1,
- boxShadow:
- "rgba(245,40,145,0.05) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0,
- duration: 0.2,
- ease: "linear",
- },
- },
-};
-const eightBentoItemThreeVariants = {
- initial: {
- x: 30,
- y: 20,
- opacity: 0,
- transition: {
- delay: 0,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- x: 5,
- y: 5,
- opacity: 1,
- boxShadow:
- "rgba(39,245,76,0.15) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- },
-};
-/* Bento Grid 8 animation end */
-
-/* ================================= */
-/* ================================= */
-
-function BentoCard({
- children,
- className,
-}: {
- children: ReactNode;
- className?: string;
-}) {
- return (
- <motion.div
- variants={containerVariants}
- initial="initial"
- whileHover="whileHover"
- className={cn(
- "group relative flex h-full w-full cursor-pointer flex-col items-center justify-between gap-y-5 overflow-hidden rounded-xl",
- // light styles
- "bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)]",
- // dark styles
- "transform-gpu dark:bg-transparent dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] dark:[border:1px_solid_rgba(255,255,255,.1)]",
- className,
- )}
- >
- {children}
- </motion.div>
- );
-}
-
-function Feature1() {
- return (
- <BentoCard>
- <div className="flex h-full w-full items-center justify-center rounded-t-xl border-0 bg-transparent">
- <div className="relative flex cursor-pointer flex-col items-center justify-center gap-y-2 p-10">
- <motion.div
- variants={{
- initial: {
- scale: 0.87,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- scale: 0.8,
- boxShadow:
- "rgba(245,40,145,0.35) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- },
- }}
- className="z-[1] flex h-full w-full items-center justify-between gap-x-2 rounded-md border border-neutral-400/20 bg-white p-5 px-2.5 transition-all duration-100 ease-linear dark:bg-neutral-800"
- >
- <div className="h-8 w-8 rounded-full bg-pink-300">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?q=80&w=2080&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
- alt=""
- />
- </div>
- <div className="flex flex-col gap-y-2">
- <div className="h-2 w-32 rounded-full bg-neutral-800/50 dark:bg-neutral-200/80"></div>
- <div className="h-2 w-48 rounded-full bg-slate-400/50"></div>
- </div>
- </motion.div>
- <motion.div
- variants={{
- initial: {
- y: -27,
- scale: 0.95,
- transition: {
- delay: 0,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- y: -55,
- scale: 0.87,
- boxShadow:
- "rgba(39,127,245,0.15) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0,
- duration: 0.2,
- ease: "linear",
- },
- },
- }}
- className="z-[2] flex h-full w-full items-center justify-between gap-x-2 rounded-md border border-neutral-400/20 bg-white p-5 px-2.5 transition-all duration-100 ease-linear dark:bg-neutral-800"
- >
- <div className="h-8 w-8 rounded-full bg-pink-300">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?q=80&w=2080&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
- alt=""
- />
- </div>
- <div className="flex flex-col gap-y-2">
- <div className="h-2 w-32 rounded-full bg-neutral-800/50 dark:bg-neutral-200/80"></div>
- <div className="h-2 w-48 rounded-full bg-slate-400/50"></div>
- <div className="h-2 w-20 rounded-full bg-slate-400/50"></div>
- </div>
- </motion.div>
- <motion.div
- variants={{
- initial: {
- y: -25,
- opacity: 0,
- scale: 1,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- y: -45,
- opacity: 1,
- scale: 1,
- boxShadow:
- "rgba(39,245,76,0.15) 10px 20px 70px -20px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "easeInOut",
- },
- },
- }}
- className="absolute bottom-0 z-[3] m-auto flex h-fit w-fit items-center justify-between gap-x-2 rounded-md border border-neutral-400/20 bg-white p-5 px-2.5 transition-all duration-100 ease-linear dark:bg-neutral-800"
- >
- <div className="h-8 w-8 rounded-full bg-pink-300">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?q=80&w=2080&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
- alt=""
- />
- </div>
- <div className="flex flex-col gap-y-2">
- <div className="h-2 w-32 rounded-full bg-neutral-800/50 dark:bg-neutral-200/80"></div>
- <div className="h-2 w-48 rounded-full bg-slate-400/50"></div>
- <div className="h-2 w-20 rounded-full bg-slate-400/50"></div>
- <div className="h-2 w-48 rounded-full bg-slate-400/50"></div>
- </div>
- </motion.div>
- </div>
- </div>
- <div className="flex flex-col items-start gap-y-1 px-5 pb-4">
- <div className="flex flex-col items-start gap-y-1">
- <h2 className="text-xl font-semibold">
- Write & schedule, effortlessly
- </h2>
- <p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
- Craft and publish engaging content in an app built for creators.
- </p>
- </div>
- </div>
- </BentoCard>
- );
-}
-
-function Feature2() {
- return (
- <BentoCard>
- <div className="flex h-[310px] w-full cursor-pointer flex-col gap-y-3.5 overflow-hidden rounded-t-md border-b border-slate-200/50 p-5 dark:border-neutral-800">
- {texts.map((text, index) => (
- <motion.div
- key={text.id}
- className="w-[400px] origin-right rounded-md border border-slate-300/50 bg-transparent p-4 shadow-[0px_0px_40px_-25px_rgba(0,0,0,0.25)] backdrop-blur-md dark:border-neutral-400/30"
- custom={index}
- variants={{
- initial: (index: number) => ({
- y: 0,
- scale: index === 3 ? 0.85 : 1,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- }),
- whileHover: (index: number) => ({
- y: -100,
- opacity: 1,
- scale: index === 0 ? 0.85 : index === 3 ? 1 : 1,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: cubicBezier(0.22, 1, 0.36, 1),
- },
- }),
- }}
- >
- <p className="text-black dark:text-white">{text.header}</p>
- <p className="text-gray-400 dark:text-gray-400">{text.subheader}</p>
- </motion.div>
- ))}
- </div>
- <div className="flex flex-col items-start gap-y-1 px-5 pb-4">
- <div className="flex flex-col items-start gap-y-1">
- <h2 className="text-xl font-semibold">
- Write & schedule, effortlessly
- </h2>
- <p className="text-base font-normal text-slate-500">
- Craft and publish engaging content in an app built for creators.
- </p>
- </div>
- </div>
- </BentoCard>
- );
-}
-
-function Feature3() {
- return (
- <BentoCard>
- <div className="flex h-full w-full cursor-pointer flex-col items-center justify-center gap-y-2 overflow-hidden rounded-t-xl border-b border-slate-200/50 p-8 dark:border-neutral-800">
- <motion.p
- variants={{
- initial: (index: number) => ({
- y: 4,
- scale: 0.5,
- opacity: 0,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- }),
- whileHover: (index: number) => ({
- y: -2,
- opacity: 1,
- scale: 1,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- }),
- }}
- className="w-fit rounded-full border border-slate-200 px-2 text-[15px] text-purple-400"
- >
- Make it Punchier
- </motion.p>
- <motion.div
- variants={{
- initial: (index: number) => ({
- y: -2,
- opacity: 1,
- scale: 1,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "easeInOut",
- },
- }),
- whileHover: (index: number) => ({
- y: 8,
- opacity: 1,
- scale: 1.05,
- boxShadow:
- "rgba(39,245,76,0.15) 10px 20px 70px -20px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "easeInOut",
- },
- }),
- }}
- className=" flex items-start gap-x-2 rounded-lg border border-slate-300/50 bg-white p-4 shadow-[0px_0px_40px_-25px_rgba(0,0,0,0.25)] dark:border-neutral-400/30 dark:bg-neutral-800"
- >
- <div className="w-8 ">
- <div className="h-6 w-6 rounded-full bg-blue-500">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?q=80&w=2080&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
- alt=""
- />
- </div>
- </div>
- <div className="w-full">
- <h3 className="text-base font-semibold">Design</h3>
- <p className="text-sm text-neutral-500 dark:text-neutral-400">
- Craft and publish engaging content in an app built for creators.
- </p>
- </div>
- </motion.div>
- </div>
- <div className="flex flex-col items-start gap-y-1 px-5 pb-4">
- <div className="flex flex-col items-start gap-y-1">
- <h2 className="text-xl font-semibold">
- Write & schedule, effortlessly
- </h2>
- <p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
- Craft and publish engaging content in an app built for creators.
- </p>
- </div>
- </div>
- </BentoCard>
- );
-}
-
-function Feature4() {
- return (
- <BentoCard className="lg:col-span-2">
- <div className="flex h-full w-full cursor-pointer flex-row items-center justify-center gap-y-2 overflow-hidden rounded-t-xl border-b border-slate-200/50 p-8 dark:border-neutral-800">
- <motion.div
- variants={{
- initial: {
- x: 35,
- y: 5,
- scale: 0.9,
- rotate: -3,
- zIndex: 1,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- x: 0,
- y: 0,
- scale: 1,
- rotate: 0,
- boxShadow:
- "rgba(39,245,76,0.15) 10px 20px 70px -20px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "easeInOut",
- },
- },
- }}
- className="z-[3] flex h-fit w-full flex-col items-center justify-between gap-x-2 gap-y-2 rounded-md border border-neutral-400/20 bg-white p-5 px-2.5 transition-all duration-100 ease-linear dark:bg-neutral-800"
- >
- <div className="h-8 w-8 rounded-full bg-pink-300">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?q=80&w=2080&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
- alt=""
- />
- </div>
- <div className="grid grid-cols-2 gap-2">
- <div className="h-2 w-14 rounded-full bg-neutral-800/50 dark:bg-neutral-200/80"></div>
- <div className="h-2 w-14 rounded-full bg-neutral-400/80"></div>
- <div className="h-2 w-14 rounded-full bg-neutral-300/80"></div>
- <div className="h-2 w-14 rounded-full bg-neutral-600/80"></div>
- </div>
- </motion.div>
- <motion.div
- variants={{
- initial: {
- scale: 1.1,
- zIndex: 2,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- scale: 1,
- boxShadow:
- "rgba(39,127,245,0.15) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "easeInOut",
- },
- },
- }}
- className="z-[3] flex h-fit w-full flex-col items-center justify-between gap-x-2 gap-y-2 rounded-md border border-neutral-400/20 bg-white p-5 px-2.5 transition-all duration-100 ease-linear dark:bg-neutral-800"
- >
- <div className="h-8 w-8 rounded-full bg-pink-300">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?q=80&w=2080&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
- alt=""
- />
- </div>
- <div className="grid grid-cols-2 gap-2">
- <div className="h-2 w-14 rounded-full bg-neutral-800/50 dark:bg-neutral-200/80"></div>
- <div className="h-2 w-14 rounded-full bg-neutral-400/80"></div>
- <div className="h-2 w-14 rounded-full bg-neutral-300/80"></div>
- <div className="h-2 w-14 rounded-full bg-neutral-600/80"></div>
- </div>
- </motion.div>
- <motion.div
- variants={{
- initial: {
- x: -35,
- y: 5,
- scale: 0.9,
- rotate: 3,
- zIndex: 1,
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "linear",
- },
- },
- whileHover: {
- x: 0,
- y: 0,
- scale: 1,
- rotate: 0,
- boxShadow:
- "rgba(245,40,145,0.15) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
- transition: {
- delay: 0.05,
- duration: 0.2,
- ease: "easeInOut",
- },
- },
- }}
- className="z-[3] hidden h-fit w-full flex-col items-center justify-between gap-x-2 gap-y-2 rounded-md border border-neutral-400/20 bg-white p-5 px-2.5 transition-all duration-100 ease-linear dark:bg-neutral-800 min-[1170px]:flex"
- >
- <div className="h-8 w-8 rounded-full bg-pink-300">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?q=80&w=2080&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
- alt=""
- />
- </div>
- <div className="grid grid-cols-2 gap-2">
- <div className="h-2 w-14 rounded-full bg-neutral-800/50 dark:bg-neutral-200/80"></div>
- <div className="h-2 w-14 rounded-full bg-neutral-400/80"></div>
- <div className="h-2 w-14 rounded-full bg-neutral-300/80"></div>
- <div className="h-2 w-14 rounded-full bg-neutral-600/80"></div>
- </div>
- </motion.div>
- </div>
- <div className="flex flex-col items-start gap-y-1 px-5 pb-4">
- <h2 className="text-xl font-semibold">
- No more rehydration or cold storage
- </h2>
- <p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
- Customize retention per source to retain and query everything you
- want. No need to archive your logs to S3 anymore. Search all your logs
- anytime
- </p>
- </div>
- </BentoCard>
- );
-}
-
-export default function GridComponent6() {
- return (
- <section id="features">
- <div className="py-14">
- <div className="grid h-full gap-6 md:grid-cols-2 xl:grid-cols-3">
- <Feature1 />
- <Feature2 />
- <Feature3 />
- <Feature4 />
-
- <BentoGridContainer className="h-full p-0">
- <BendroGridLayout>
- <BentoGridImage className="border-0">
- <div className="relative h-full w-full border-b border-slate-200/50 dark:border-neutral-800">
- <div className="relative h-full w-full cursor-pointer overflow-hidden rounded-t-xl p-10">
- <motion.div
- variants={containerVariants}
- initial="initial"
- whileHover="whileHover"
- className="relative h-full w-full cursor-pointer overflow-hidden rounded-xl border border-slate-200/50 bg-white dark:border-neutral-700/50 dark:bg-neutral-800"
- >
- <motion.p
- variants={fifthBentoItemTwoVariants}
- className="absolute left-5 top-5 z-[9] w-fit text-[15px]"
- >
- +14
- </motion.p>
- <motion.svg
- variants={fifthBentoItemOneVariants}
- xmlns="http://www.w3.org/2000/svg"
- fill="none"
- preserveAspectRatio="none"
- style={{
- position: "absolute",
- left: 0,
- bottom: 0,
- height: "100%",
- width: "100%",
- }}
- viewBox="0 -950 366 1408"
- >
- <path
- fill="url(#a)"
- d="M0 193c109.5 0 260.5-52.5 366-192.5v907H0V193Z"
- />
- <defs>
- <linearGradient
- id="a"
- x1={183}
- x2={183}
- y1={0.5}
- y2={262}
- gradientUnits="userSpaceOnUse"
- >
- <stop stopColor="#797EFF" />
- <stop offset={1} stopColor="#79AFFF" />
- </linearGradient>
- </defs>
- </motion.svg>
- </motion.div>
- </div>
- </div>
- </BentoGridImage>
- <BentoGridContent>
- <div className="flex flex-col items-start gap-y-1">
- <h2 className="text-xl font-semibold">
- Write & schedule, effortlessly
- </h2>
- <p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
- Craft and publish engaging content in an app built for
- creators.
- </p>
- </div>
- </BentoGridContent>
- </BendroGridLayout>
- </BentoGridContainer>
- {/* 6 */}
- <BentoGridContainer className="h-full p-0 ">
- <BendroGridLayout>
- <BentoGridImage className="border-0">
- <motion.div
- variants={containerVariants}
- initial="initial"
- whileHover="whileHover"
- className="flex h-full w-full items-center justify-center rounded-t-xl border-b border-slate-200/50 dark:border-neutral-800"
- >
- <div className="relative flex cursor-pointer flex-col items-center justify-center gap-y-2 p-14">
- <motion.div
- variants={sixthBentoItemOneVariants}
- className="z-[3] flex h-full w-full items-center justify-between gap-x-2 rounded-md border border-neutral-400/20 bg-white p-5 px-2.5 transition-all duration-100 ease-linear dark:bg-neutral-800"
- >
- <div className="h-8 w-8 rounded-full bg-pink-300">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?q=80&w=2080&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
- alt=""
- />
- </div>
- <div className="flex flex-col gap-y-2">
- <div className="h-2 w-32 rounded-full bg-neutral-800/50 dark:bg-neutral-200/80"></div>
- <div className="h-2 w-48 rounded-full bg-slate-400/50"></div>
- <div className="h-2 w-20 rounded-full bg-slate-400/50"></div>
- <div className="h-2 w-48 rounded-full bg-slate-400/50"></div>
- </div>
- </motion.div>
- <motion.div
- variants={sixthBentoItemTwoVariants}
- className="absolute bottom-14 z-[2] m-auto flex h-fit w-fit items-center justify-between gap-x-2 rounded-md border border-neutral-400/20 bg-white p-5 px-2.5 transition-all duration-100 ease-linear dark:bg-neutral-800"
- >
- <div className="h-8 w-8 rounded-full bg-pink-300">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?q=80&w=2080&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
- alt=""
- />
- </div>
- <div className="flex flex-col gap-y-2">
- <div className="h-2 w-32 rounded-full bg-neutral-800/50 dark:bg-neutral-200/80"></div>
- <div className="h-2 w-48 rounded-full bg-slate-400/50"></div>
- <div className="h-2 w-20 rounded-full bg-slate-400/50"></div>
- <div className="h-2 w-48 rounded-full bg-slate-400/50"></div>
- </div>
- </motion.div>
- </div>
- </motion.div>
- </BentoGridImage>
- <BentoGridContent>
- <div className="flex flex-col items-start gap-y-1">
- <h2 className="text-xl font-semibold">
- Write & schedule, effortlessly
- </h2>
- <p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
- Craft and publish engaging content in an app built for
- creators.
- </p>
- </div>
- </BentoGridContent>
- </BendroGridLayout>
- </BentoGridContainer>
- {/* 7 */}
- <BentoGridContainer className="h-full p-0">
- <BendroGridLayout>
- <BentoGridImage className="border-0">
- <motion.div
- variants={containerVariants}
- initial="initial"
- whileHover="whileHover"
- className="group flex h-full w-full cursor-pointer flex-col items-center justify-center gap-y-1 overflow-hidden rounded-t-xl border-b border-slate-200/50 dark:border-neutral-800"
- >
- <div className="relative flex flex-col items-center justify-center gap-y-2 px-10 py-20 lg:py-0">
- <motion.div
- variants={seventhBentoItemOneVariants}
- className="h-full w-full rounded-xl border border-slate-300/50 p-4 shadow-[0px_0px_40px_-25px_rgba(0,0,0,0.25)] group-hover:bg-white dark:border-neutral-400/30 group-hover:dark:bg-neutral-800"
- >
- <motion.div className=" flex items-start justify-center gap-x-2">
- <div className="w-8 ">
- <div className="h-6 w-6 rounded-full bg-blue-500">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?q=80&w=2080&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
- alt=""
- />
- </div>
- </div>
- <div className="w-full flex-1">
- <h3 className="text-base font-semibold">Design</h3>
- <p className="text-sm text-neutral-500 dark:text-neutral-400">
- I think the design can be improved
- </p>
- </div>
- </motion.div>
- <motion.div
- variants={seventhBentoItemTwoVariants}
- className="flex items-start justify-center gap-x-2"
- >
- <div className="w-8 ">
- <div className="h-6 w-6 rounded-full bg-blue-500">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?q=80&w=2080&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
- alt=""
- />
- </div>
- </div>
- <div className="w-[calc(100%-3rem)]">
- <h3 className="text-base font-semibold">Design</h3>
- <p className="text-sm text-neutral-500 dark:text-neutral-400">
- On it 🔥
- </p>
- </div>
- </motion.div>
- </motion.div>
- </div>
- </motion.div>
- </BentoGridImage>
- <BentoGridContent>
- <div className="flex flex-col items-start gap-y-1">
- <h2 className="text-xl font-semibold">
- Write & schedule, effortlessly
- </h2>
- <p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
- Craft and publish engaging content in an app built for
- creators.
- </p>
- </div>
- </BentoGridContent>
- </BendroGridLayout>
- </BentoGridContainer>
- {/* 8 */}
- <BentoGridContainer className="h-full p-0">
- <BendroGridLayout>
- <BentoGridImage className="border-0">
- <motion.div
- variants={containerVariants}
- initial="initial"
- whileHover="whileHover"
- className="flex h-full w-full cursor-pointer flex-col items-center justify-center gap-y-1 overflow-hidden rounded-t-xl border-b border-slate-200/50 dark:border-neutral-800"
- >
- <div className="relative flex flex-col items-center justify-center gap-y-2 px-10 py-20">
- <motion.div
- variants={eightBentoItemOneVariants}
- className=" relative flex items-start gap-x-2 rounded-lg border border-slate-300/50 bg-white p-4 shadow-[0px_0px_40px_-25px_rgba(0,0,0,0.25)] dark:border-neutral-400/30 dark:bg-neutral-800"
- >
- <div className="w-8 ">
- <div className="h-6 w-6 rounded-full bg-blue-500">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?q=80&w=2080&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
- alt=""
- />
- </div>
- </div>
- <div className="w-[calc(100%-3rem)]">
- <h3 className="text-base font-semibold">Design</h3>
- <p className="text-sm text-neutral-500 dark:text-neutral-400">
- Craft and publish engaging content in an app built for
- creators.
- </p>
- </div>
- </motion.div>
- <motion.div
- variants={eightBentoItemTwoVariants}
- className=" absolute inset-10 -bottom-14 z-[3] m-auto flex h-fit items-start gap-x-2 rounded-lg border border-slate-300/50 bg-white p-4 shadow-[0px_0px_40px_-25px_rgba(0,0,0,0.25)] dark:border-neutral-400/30 dark:bg-neutral-800"
- >
- <div className="w-8 ">
- <div className="h-6 w-6 rounded-full bg-blue-500">
- <img
- className="h-full w-full rounded-full object-cover"
- src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?q=80&w=2080&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
- alt=""
- />
- </div>
- </div>
- <div className="w-[calc(100%-3rem)]">
- <h3 className="text-base font-semibold">Design</h3>
- <p className="text-sm text-neutral-500 dark:text-neutral-400">
- Hello 🤞
- </p>
- </div>
- <motion.p
- variants={eightBentoItemThreeVariants}
- className="absolute -bottom-2 right-2 w-fit rounded-full border bg-green-500 px-2 py-0.5 text-xs text-white"
- >
- DM Sent
- </motion.p>
- </motion.div>
- </div>
- </motion.div>
- </BentoGridImage>
- <BentoGridContent>
- <div className="flex flex-col items-start gap-y-1">
- <h2 className="text-xl font-semibold">
- Write & schedule, effortlessly
- </h2>
- <p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
- Craft and publish engaging content in an app built for
- creators.
- </p>
- </div>
- </BentoGridContent>
- </BendroGridLayout>
- </BentoGridContainer>
- </div>
- </div>
- </section>
- );
-}
diff --git a/registry/components/example/animated-beam-bidirectional.tsx b/registry/components/example/animated-beam-bidirectional.tsx
index 1557f1dd..00fe2450 100644
--- a/registry/components/example/animated-beam-bidirectional.tsx
+++ b/registry/components/example/animated-beam-bidirectional.tsx
@@ -29,7 +29,7 @@ export default function AnimatedBeamDemo() {
return (
<div
- className="relative flex w-full max-w-[500px] items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-2xl"
+ className="relative flex w-full max-w-[500px] items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-xl"
ref={containerRef}
>
<div className="flex h-full w-full flex-col items-stretch justify-between gap-10">
diff --git a/registry/components/example/animated-beam-demo.tsx b/registry/components/example/animated-beam-demo.tsx
index c8aaf08a..0de806ed 100644
--- a/registry/components/example/animated-beam-demo.tsx
+++ b/registry/components/example/animated-beam-demo.tsx
@@ -34,7 +34,7 @@ export default function AnimatedBeamDemo() {
return (
<div
- className="relative flex w-full max-w-[500px] items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-2xl"
+ className="relative flex w-full max-w-[500px] items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-xl"
ref={containerRef}
>
<div className="flex h-full w-full flex-col items-stretch justify-between gap-10">
diff --git a/registry/components/example/animated-beam-multiple-inputs.tsx b/registry/components/example/animated-beam-multiple-inputs.tsx
index 7f881794..f940a586 100644
--- a/registry/components/example/animated-beam-multiple-inputs.tsx
+++ b/registry/components/example/animated-beam-multiple-inputs.tsx
@@ -22,7 +22,7 @@ const Circle = forwardRef<
);
});
-export default function AnimatedBeamDemo() {
+export default function AnimatedBeamMultipleInputDemo() {
const containerRef = useRef<HTMLDivElement>(null);
const div1Ref = useRef<HTMLDivElement>(null);
const div2Ref = useRef<HTMLDivElement>(null);
@@ -34,7 +34,7 @@ export default function AnimatedBeamDemo() {
return (
<div
- className="relative flex w-full max-w-[500px] items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-2xl"
+ className="relative flex w-full max-w-[32rem] items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-xl"
ref={containerRef}
>
<div className="flex h-full w-full flex-row items-stretch justify-between gap-10">
diff --git a/registry/components/example/animated-beam-multiple-outputs.tsx b/registry/components/example/animated-beam-multiple-outputs.tsx
index a5b03e15..16fff2fa 100644
--- a/registry/components/example/animated-beam-multiple-outputs.tsx
+++ b/registry/components/example/animated-beam-multiple-outputs.tsx
@@ -34,7 +34,7 @@ export default function AnimatedBeamDemo() {
return (
<div
- className="relative flex w-full max-w-[500px] items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-2xl"
+ className="relative flex w-full max-w-[500px] items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-xl"
ref={containerRef}
>
<div className="flex h-full w-full flex-row items-stretch justify-between gap-10">
diff --git a/registry/components/example/animated-beam-unidirectional.tsx b/registry/components/example/animated-beam-unidirectional.tsx
index 027484c0..65e628bd 100644
--- a/registry/components/example/animated-beam-unidirectional.tsx
+++ b/registry/components/example/animated-beam-unidirectional.tsx
@@ -29,7 +29,7 @@ export default function AnimatedBeamDemo() {
return (
<div
- className="relative flex w-full max-w-[500px] items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-2xl"
+ className="relative flex w-full max-w-[500px] items-center justify-center overflow-hidden rounded-lg border bg-background p-10 md:shadow-xl"
ref={containerRef}
>
<div className="flex h-full w-full flex-col items-stretch justify-between gap-10">
diff --git a/registry/components/example/animated-feature-card-1.tsx b/registry/components/example/animated-feature-card-1.tsx
index 65ef3311..6a56cff7 100644
--- a/registry/components/example/animated-feature-card-1.tsx
+++ b/registry/components/example/animated-feature-card-1.tsx
@@ -80,14 +80,14 @@ export default function FeatureCard1() {
};
return (
- <div className="relative h-full w-full transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px] md:max-w-[500px]">
+ <div className="relative h-full w-full max-w-[32rem] transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px]">
<motion.div
variants={containerVariants}
initial="initial"
whileHover="whileHover"
- className="flex h-full w-full cursor-pointer flex-col justify-between gap-y-5"
+ className="flex h-full w-full cursor-pointer flex-col justify-between"
>
- <div className="flex h-full w-full items-center justify-center rounded-t-xl border-b border-neutral-200 dark:border-neutral-800">
+ <div className="flex h-full w-full items-center justify-center rounded-t-xl">
<div className="relative flex flex-col items-center justify-center gap-y-2 p-10">
<motion.div
variants={variant1}
@@ -143,7 +143,7 @@ export default function FeatureCard1() {
</motion.div>
</div>
</div>
- <div className="flex flex-col items-start gap-y-1 px-5 pb-4">
+ <div className="flex w-full flex-col items-start border-t border-neutral-200 p-4 dark:border-neutral-800">
<h2 className="text-xl font-semibold">Notifications</h2>
<p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
Instantly get notified about events
diff --git a/registry/components/example/animated-feature-card-2.tsx b/registry/components/example/animated-feature-card-2.tsx
index 8c4058af..187699da 100644
--- a/registry/components/example/animated-feature-card-2.tsx
+++ b/registry/components/example/animated-feature-card-2.tsx
@@ -66,14 +66,14 @@ export default function FeatureCard2() {
};
return (
- <div className="relative h-full w-full transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px] md:max-w-[500px]">
+ <div className="relative h-full w-full max-w-[32rem] transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px]">
<motion.div
variants={containerVariants}
initial="initial"
whileHover="whileHover"
- className="flex h-full w-full cursor-pointer flex-col justify-between gap-y-5"
+ className="flex h-full w-full cursor-pointer flex-col justify-between"
>
- <div className="flex h-full w-full items-center justify-center rounded-t-xl border-b border-neutral-200 dark:border-neutral-800">
+ <div className="flex h-full w-full items-center justify-center rounded-t-xl">
<motion.div className="flex h-[310px] w-full cursor-pointer flex-col gap-y-5 overflow-hidden rounded-t-md p-5">
{texts.map((text, index) => (
<motion.div
@@ -93,7 +93,7 @@ export default function FeatureCard2() {
))}
</motion.div>
</div>
- <div className="flex flex-col items-start gap-y-1 px-5 pb-4">
+ <div className="flex w-full flex-col items-start border-t border-neutral-200 p-4 dark:border-neutral-800">
<h2 className="text-xl font-semibold">Notifications</h2>
<p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
Instantly get notified about events
diff --git a/registry/components/example/animated-feature-card-3.tsx b/registry/components/example/animated-feature-card-3.tsx
index 2bee6f84..713529aa 100644
--- a/registry/components/example/animated-feature-card-3.tsx
+++ b/registry/components/example/animated-feature-card-3.tsx
@@ -60,14 +60,14 @@ export default function FeatureCard3() {
};
return (
- <div className="relative h-full w-full transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px] md:max-w-[500px]">
+ <div className="relative h-full w-full max-w-[32rem] transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px]">
<motion.div
variants={containerVariants}
initial="initial"
whileHover="whileHover"
- className="flex h-full w-full cursor-pointer flex-col justify-between gap-y-5"
+ className="flex h-full w-full cursor-pointer flex-col justify-between"
>
- <motion.div className="flex h-[310px] w-full cursor-pointer flex-col items-center justify-center gap-y-2 overflow-hidden rounded-t-xl border-b border-neutral-200 p-8 dark:border-neutral-800">
+ <motion.div className="flex h-full w-full cursor-pointer flex-col items-center justify-center gap-y-2 overflow-hidden rounded-t-xl p-8">
<motion.p
variants={variant1}
className="w-fit rounded-full border px-2 text-[15px]"
@@ -93,7 +93,7 @@ export default function FeatureCard3() {
</div>
</motion.div>
</motion.div>
- <div className="flex flex-col items-start gap-y-1 px-5 pb-4">
+ <div className="flex w-full flex-col items-start border-t border-neutral-200 p-4 dark:border-neutral-800">
<h2 className="text-xl font-semibold">AI Co-Pilot</h2>
<p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
Use AI to make your writing stand out
diff --git a/registry/components/example/animated-feature-card-4.tsx b/registry/components/example/animated-feature-card-4.tsx
index 058219d9..91a73390 100644
--- a/registry/components/example/animated-feature-card-4.tsx
+++ b/registry/components/example/animated-feature-card-4.tsx
@@ -89,15 +89,15 @@ export default function FeatureCard4() {
};
return (
- <div className="relative h-full w-full transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px] md:max-w-[500px]">
+ <div className="relative h-full w-full max-w-[32rem] transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] dark:[border:1px_solid_rgba(255,255,255,.1)] md:max-h-[500px]">
<motion.div
variants={containerVariants}
initial="initial"
whileHover="whileHover"
- className="flex h-full w-full cursor-pointer flex-col items-start justify-between gap-y-5"
+ className="flex h-full w-full cursor-pointer flex-col items-start justify-between"
>
- <div className="flex h-full w-full items-center justify-center rounded-t-xl border-b border-neutral-200 bg-transparent p-10 dark:border-neutral-800 ">
- <motion.div className="flex h-[310px] w-full items-center justify-between gap-x-4">
+ <div className="flex h-full w-full items-center justify-center rounded-t-xl bg-transparent p-10">
+ <motion.div className="flex h-[230px] w-full items-center justify-between gap-x-4">
<motion.div
variants={variant1}
className="z-[3] flex h-fit w-full flex-col items-center justify-between gap-x-2 gap-y-2 rounded-md border border-neutral-400/20 bg-white p-5 px-2.5 transition-all duration-100 ease-linear dark:border-neutral-800 dark:bg-neutral-900"
@@ -155,7 +155,7 @@ export default function FeatureCard4() {
</motion.div>
</div>
- <div className="flex flex-col items-start gap-y-1 px-5 pb-4">
+ <div className="flex w-full flex-col items-start border-t border-neutral-200 p-4 dark:border-neutral-800">
<h2 className="text-xl font-semibold">Social</h2>
<p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
Write once, share with your friends
diff --git a/registry/components/example/animated-feature-card-5.tsx b/registry/components/example/animated-feature-card-5.tsx
index 44fda178..a67b3444 100644
--- a/registry/components/example/animated-feature-card-5.tsx
+++ b/registry/components/example/animated-feature-card-5.tsx
@@ -18,8 +18,6 @@ export default function FeatureCard5() {
viewBox: "0 -60 366 310",
filter: "saturate(1)",
opacity: 1,
- boxShadow:
- "rgba(245,40,145,0.35) 0px 20px 70px -10px, rgba(36,42,66,0.04) 0px 10px 24px -8px, rgba(36,42,66,0.06) 0px 1px 4px -1px",
transition: {
delay: 0.05,
duration: 0.3,
@@ -56,52 +54,50 @@ export default function FeatureCard5() {
};
return (
- <div className="relative h-full w-full transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px] md:max-w-[500px]">
+ <div className="relative h-full w-full max-w-[32rem] transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px]">
<motion.div
variants={containerVariants}
initial="initial"
whileHover="whileHover"
- className="flex h-full w-full cursor-pointer flex-col items-start justify-between gap-y-5"
+ className="flex h-full w-full cursor-pointer flex-col items-start justify-between"
>
- <div className="flex h-full w-full items-center justify-center bg-transparent ">
- <div className="relative h-full w-full cursor-pointer overflow-hidden rounded-t-xl border-b border-neutral-200 p-10 dark:border-neutral-800">
- <div className="relative h-[150px] w-full cursor-pointer overflow-hidden rounded-xl border border-slate-200/50 bg-white dark:border-neutral-700/50 dark:bg-neutral-900">
- <motion.p
- variants={variant2}
- className=" absolute left-5 top-5 z-[9] w-fit text-[15px]"
- >
- +245%
- </motion.p>
- <motion.svg
- variants={variant1}
- xmlns="http://www.w3.org/2000/svg"
- fill="none"
- preserveAspectRatio="none"
- className="absolute inset-0 h-full w-full"
- viewBox="0 -950 366 1408"
- >
- <path
- fill="url(#a)"
- d="M0 193c109.5 0 260.5-52.5 366-192.5v907H0V193Z"
- />
- <defs>
- <linearGradient
- id="a"
- x1={183}
- x2={183}
- y1={0.5}
- y2={262}
- gradientUnits="userSpaceOnUse"
- >
- <stop stopColor="#22c55e" />
- <stop offset={1} stopColor="#15803d" />
- </linearGradient>
- </defs>
- </motion.svg>
- </div>
+ <div className="relative flex h-full w-full cursor-pointer items-center justify-center overflow-hidden rounded-t-xl bg-transparent p-10">
+ <div className="relative h-[150px] w-full cursor-pointer overflow-hidden rounded-xl border border-slate-200/50 bg-white dark:border-neutral-700/50 dark:bg-neutral-900">
+ <motion.p
+ variants={variant2}
+ className="absolute left-5 top-5 w-fit text-[15px]"
+ >
+ +245%
+ </motion.p>
+ <motion.svg
+ variants={variant1}
+ xmlns="http://www.w3.org/2000/svg"
+ fill="none"
+ preserveAspectRatio="none"
+ className="absolute inset-0 h-full w-full"
+ viewBox="0 -950 366 1408"
+ >
+ <path
+ fill="url(#a)"
+ d="M0 193c109.5 0 260.5-52.5 366-192.5v907H0V193Z"
+ />
+ <defs>
+ <linearGradient
+ id="a"
+ x1={183}
+ x2={183}
+ y1={0.5}
+ y2={262}
+ gradientUnits="userSpaceOnUse"
+ >
+ <stop stopColor="#22c55e" />
+ <stop offset={1} stopColor="#15803d" />
+ </linearGradient>
+ </defs>
+ </motion.svg>
</div>
</div>
- <div className="flex flex-col items-start gap-y-1 px-5 pb-4">
+ <div className="flex w-full flex-col items-start border-t border-neutral-200 p-4 dark:border-neutral-800">
<h2 className="text-xl font-semibold">Growth</h2>
<p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
Invest and watch your money grow
diff --git a/registry/components/example/animated-feature-card-6.tsx b/registry/components/example/animated-feature-card-6.tsx
index d83e1363..30afc73f 100644
--- a/registry/components/example/animated-feature-card-6.tsx
+++ b/registry/components/example/animated-feature-card-6.tsx
@@ -62,14 +62,14 @@ export default function FeatureCard6() {
};
return (
- <div className="relative h-full w-full transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px] md:max-w-[500px]">
+ <div className="relative h-full w-full max-w-[32rem] transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px]">
<motion.div
variants={containerVariants}
initial="initial"
whileHover="whileHover"
- className="flex h-full w-full cursor-pointer flex-col items-start justify-between gap-y-5"
+ className="flex h-full w-full cursor-pointer flex-col items-start justify-between"
>
- <div className="flex h-[300px] w-full items-center justify-center rounded-t-xl border-b border-neutral-200 bg-transparent dark:border-neutral-800">
+ <div className="flex h-[300px] w-full items-center justify-center rounded-t-xl bg-transparent ">
<div className="relative flex cursor-pointer flex-col items-center justify-center gap-y-2 p-14">
<motion.div
variants={variant1}
@@ -109,7 +109,7 @@ export default function FeatureCard6() {
</motion.div>
</div>
</div>
- <div className="flex flex-col items-start gap-y-1 px-5 pb-4">
+ <div className="flex w-full flex-col items-start border-t border-neutral-200 p-4 dark:border-neutral-800">
<h2 className="text-xl font-semibold">Share</h2>
<p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
Share results with your friends
diff --git a/registry/components/example/animated-feature-card-7.tsx b/registry/components/example/animated-feature-card-7.tsx
index 82e78b5a..5373d76b 100644
--- a/registry/components/example/animated-feature-card-7.tsx
+++ b/registry/components/example/animated-feature-card-7.tsx
@@ -120,14 +120,14 @@ export default function FeatureCard7() {
};
return (
- <div className="relative h-full w-full transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px] md:max-w-[500px]">
+ <div className="relative h-full w-full max-w-[32rem] transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px]">
<motion.div
variants={containerVariants}
initial="initial"
whileHover="whileHover"
- className="flex h-full w-full cursor-pointer flex-col items-start justify-between gap-y-5"
+ className="flex h-full w-full cursor-pointer flex-col items-start justify-between"
>
- <div className="group relative flex h-[300px] w-full cursor-pointer flex-col items-center justify-center gap-y-1 overflow-hidden rounded-t-xl border-b border-neutral-200 p-4 dark:border-neutral-800 ">
+ <div className="group relative flex h-[300px] w-full cursor-pointer flex-col items-center justify-center gap-y-1 overflow-hidden rounded-t-xl p-4">
<div className="relative flex flex-col items-center justify-center gap-y-2 px-10">
<Marquee
reverse
@@ -161,7 +161,7 @@ export default function FeatureCard7() {
<div className="pointer-events-none absolute inset-y-0 right-0 w-1/3 bg-gradient-to-l from-white dark:from-background"></div>
</div>
</div>
- <div className="flex flex-col items-start gap-y-1 px-5 pb-4">
+ <div className="flex w-full flex-col items-start border-t border-neutral-200 p-4 dark:border-neutral-800">
<h2 className="text-xl font-semibold">Integrations</h2>
<p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
Integrate with all your favourite apps
diff --git a/registry/components/example/animated-feature-card-8.tsx b/registry/components/example/animated-feature-card-8.tsx
index b59936eb..f6708d67 100644
--- a/registry/components/example/animated-feature-card-8.tsx
+++ b/registry/components/example/animated-feature-card-8.tsx
@@ -84,14 +84,14 @@ export default function FeatureCard8() {
};
return (
- <div className="relative h-full w-full transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px] md:max-w-[500px]">
+ <div className="relative h-full w-full max-w-[32rem] transform-gpu rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-h-[500px]">
<motion.div
variants={containerVariants}
initial="initial"
whileHover="whileHover"
- className="flex h-full w-full cursor-pointer flex-col items-start justify-between gap-y-5"
+ className="flex h-full w-full cursor-pointer flex-col items-start justify-between"
>
- <div className="flex h-full w-full cursor-pointer flex-col items-center justify-center gap-y-1 overflow-hidden rounded-t-xl border-b border-neutral-200 bg-transparent dark:border-neutral-800">
+ <div className="flex h-full w-full cursor-pointer flex-col items-center justify-center gap-y-1 overflow-hidden rounded-t-xl bg-transparent">
<div className="relative flex flex-col items-center justify-center gap-y-2 px-10 py-20">
<motion.div
variants={variant1}
@@ -139,7 +139,7 @@ export default function FeatureCard8() {
</motion.div>
</div>
</div>
- <div className="flex flex-col items-start gap-y-1 px-5 pb-4">
+ <div className="flex w-full flex-col items-start border-t border-neutral-200 p-4 dark:border-neutral-800">
<h2 className="text-xl font-semibold">Reply</h2>
<p className="text-base font-normal text-neutral-500 dark:text-neutral-400">
Reply to other creators in app
diff --git a/registry/components/example/animated-feature-card-9.tsx b/registry/components/example/animated-feature-card-9.tsx
index 7fd24bfd..eb3e252a 100644
--- a/registry/components/example/animated-feature-card-9.tsx
+++ b/registry/components/example/animated-feature-card-9.tsx
@@ -142,7 +142,7 @@ const Notification = ({ name, description, icon, color, time }: Item) => {
export default function FeatureCard9() {
return (
- <div className="relative flex h-full max-h-[500px] min-h-[500px] w-full transform-gpu flex-col justify-between overflow-hidden rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset] md:max-w-[500px]">
+ <div className="relative flex h-full max-h-[500px] min-h-[500px] w-full max-w-[32rem] transform-gpu flex-col justify-between overflow-hidden rounded-lg border bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)] dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]">
<div className="flex items-center justify-center overflow-hidden">
<AnimatedList>
{notifications.map((item, idx) => (
diff --git a/registry/components/example/animated-grid-pattern-demo.tsx b/registry/components/example/animated-grid-pattern-demo.tsx
index ee9e2bf5..36b66d67 100644
--- a/registry/components/example/animated-grid-pattern-demo.tsx
+++ b/registry/components/example/animated-grid-pattern-demo.tsx
@@ -5,7 +5,7 @@ import AnimatedGridPattern from "@/registry/components/magicui/animated-grid-pat
const AnimatedGridPatternDemo = () => {
return (
- <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-2xl">
+ <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl">
<p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">
Animated Grid Pattern
</p>
diff --git a/registry/components/example/animated-list-demo.tsx b/registry/components/example/animated-list-demo.tsx
index 06f57f70..36d31ed7 100644
--- a/registry/components/example/animated-list-demo.tsx
+++ b/registry/components/example/animated-list-demo.tsx
@@ -84,7 +84,7 @@ const Notification = ({ name, description, icon, color, time }: Item) => {
export default function AnimatedListDemo() {
return (
- <div className="relative flex max-h-[400px] min-h-[400px] w-full flex-col overflow-hidden rounded-lg border bg-background p-6 shadow-lg md:max-w-lg">
+ <div className="relative flex max-h-[400px] min-h-[400px] w-full max-w-[32rem] flex-col overflow-hidden rounded-lg border bg-background p-6 shadow-lg">
<AnimatedList>
{notifications.map((item, idx) => (
<Notification {...item} key={idx} />
diff --git a/registry/components/example/bento-demo.tsx b/registry/components/example/bento-demo.tsx
index c2dbcdbf..d83375c6 100644
--- a/registry/components/example/bento-demo.tsx
+++ b/registry/components/example/bento-demo.tsx
@@ -129,7 +129,7 @@ const features = [
},
];
-export default async function BentoDemo() {
+export default function BentoDemo() {
return (
<BentoGrid>
{features.map((feature, idx) => (
diff --git a/registry/components/example/dot-pattern-demo.tsx b/registry/components/example/dot-pattern-demo.tsx
index 9cae1d36..d41cc188 100644
--- a/registry/components/example/dot-pattern-demo.tsx
+++ b/registry/components/example/dot-pattern-demo.tsx
@@ -5,7 +5,7 @@ import DotPattern from "@/registry/components/magicui/dot-pattern";
const DotPatternDemo = () => {
return (
- <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-2xl">
+ <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl">
<p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">
Dot Pattern
</p>
diff --git a/registry/components/example/dot-pattern-linear-gradient.tsx b/registry/components/example/dot-pattern-linear-gradient.tsx
index fea0e98e..525763bf 100644
--- a/registry/components/example/dot-pattern-linear-gradient.tsx
+++ b/registry/components/example/dot-pattern-linear-gradient.tsx
@@ -5,7 +5,7 @@ import DotPattern from "@/registry/components/magicui/dot-pattern";
const DotPatternDemo2 = () => {
return (
- <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-2xl">
+ <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl">
<p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">
Dot Pattern
</p>
diff --git a/registry/components/example/globe-demo.tsx b/registry/components/example/globe-demo.tsx
index b64b4f07..2bf6a7ba 100644
--- a/registry/components/example/globe-demo.tsx
+++ b/registry/components/example/globe-demo.tsx
@@ -2,7 +2,7 @@ import Globe from "@/registry/components/magicui/globe";
export default function GlobeDemo() {
return (
- <div className="relative flex h-full w-full max-w-[32rem] items-center justify-center overflow-hidden rounded-lg border bg-background px-40 pb-40 pt-8 md:pb-60 md:shadow-2xl">
+ <div className="relative flex h-full w-full max-w-[32rem] items-center justify-center overflow-hidden rounded-lg border bg-background px-40 pb-40 pt-8 md:pb-60 md:shadow-xl">
<span className="pointer-events-none whitespace-pre-wrap bg-gradient-to-b from-black to-gray-300/80 bg-clip-text text-center text-8xl font-semibold leading-none text-transparent dark:from-white dark:to-slate-900/10">
Globe
</span>
diff --git a/registry/components/example/grid-pattern-dashed.tsx b/registry/components/example/grid-pattern-dashed.tsx
index 29599f57..80438d40 100644
--- a/registry/components/example/grid-pattern-dashed.tsx
+++ b/registry/components/example/grid-pattern-dashed.tsx
@@ -5,7 +5,7 @@ import GridPattern from "@/registry/components/magicui/grid-pattern";
const GridPatternDashed = () => {
return (
- <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-2xl">
+ <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl">
<p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">
Grid Pattern
</p>
diff --git a/registry/components/example/grid-pattern-demo.tsx b/registry/components/example/grid-pattern-demo.tsx
index f1ef6677..a4726d28 100644
--- a/registry/components/example/grid-pattern-demo.tsx
+++ b/registry/components/example/grid-pattern-demo.tsx
@@ -5,7 +5,7 @@ import GridPattern from "@/registry/components/magicui/grid-pattern";
const GridPatternDemo = () => {
return (
- <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-2xl">
+ <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl">
<p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">
Grid Pattern
</p>
diff --git a/registry/components/example/grid-pattern-linear-gradient.tsx b/registry/components/example/grid-pattern-linear-gradient.tsx
index 428a54ef..be06314e 100644
--- a/registry/components/example/grid-pattern-linear-gradient.tsx
+++ b/registry/components/example/grid-pattern-linear-gradient.tsx
@@ -5,7 +5,7 @@ import GridPattern from "@/registry/components/magicui/grid-pattern";
const GridPatternLinearGradient = () => {
return (
- <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-2xl">
+ <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl">
<p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">
Grid Pattern
</p>
diff --git a/registry/components/example/linear-gradient-demo.tsx b/registry/components/example/linear-gradient-demo.tsx
index 4be998bb..ee0c3981 100644
--- a/registry/components/example/linear-gradient-demo.tsx
+++ b/registry/components/example/linear-gradient-demo.tsx
@@ -2,7 +2,7 @@ import LinearGradient from "@/registry/components/magicui/linear-gradient";
export default function LinearGradientDemo() {
return (
- <div className="relative flex h-full w-full items-center justify-center rounded-lg border bg-background p-20 md:shadow-2xl">
+ <div className="relative flex h-full w-full items-center justify-center rounded-lg border bg-background p-20 md:shadow-xl">
<p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">
Linear Gradient
</p>
diff --git a/registry/components/example/marquee-3d.tsx b/registry/components/example/marquee-3d.tsx
index e34267d4..d7263608 100644
--- a/registry/components/example/marquee-3d.tsx
+++ b/registry/components/example/marquee-3d.tsx
@@ -29,7 +29,7 @@ const logos = [
const Marquee3D = () => {
return (
- <div className="relative flex h-full w-96 flex-col items-center justify-center gap-4 overflow-hidden rounded-lg border bg-background px-20 md:shadow-2xl">
+ <div className="relative flex h-full w-96 flex-col items-center justify-center gap-4 overflow-hidden rounded-lg border bg-background px-20 md:shadow-xl">
<div className="flex flex-row gap-4 [perspective:300px]">
<Marquee
className="h-96 justify-center overflow-hidden [--duration:60s] [--gap:1rem]"
diff --git a/registry/components/example/marquee-demo-vertical.tsx b/registry/components/example/marquee-demo-vertical.tsx
index 0e6373cb..65030b79 100644
--- a/registry/components/example/marquee-demo-vertical.tsx
+++ b/registry/components/example/marquee-demo-vertical.tsx
@@ -62,7 +62,7 @@ const ReviewCard = ({
const MarqueeDemoVertical = () => {
return (
- <div className="relative flex h-96 flex-row items-center justify-center overflow-hidden rounded-lg border bg-background sm:px-20 md:shadow-2xl">
+ <div className="relative flex h-96 flex-row items-center justify-center overflow-hidden rounded-lg border bg-background sm:px-20 md:shadow-xl">
<Marquee pauseOnHover vertical className="[--duration:20s]">
{firstRow.map((review) => (
<ReviewCard key={review.username} {...review} />
diff --git a/registry/components/example/marquee-demo.tsx b/registry/components/example/marquee-demo.tsx
index 1272cfdb..d5d1cf9c 100644
--- a/registry/components/example/marquee-demo.tsx
+++ b/registry/components/example/marquee-demo.tsx
@@ -80,7 +80,7 @@ const ReviewCard = ({
const MarqueeDemo = () => {
return (
- <div className="relative flex h-full w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background py-20 md:shadow-2xl">
+ <div className="relative flex h-full w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background py-20 md:shadow-xl">
<Marquee pauseOnHover className="[--duration:20s]">
{firstRow.map((review) => (
<ReviewCard key={review.username} {...review} />
diff --git a/registry/components/example/marquee-logos.tsx b/registry/components/example/marquee-logos.tsx
index 1974a0f4..0a3ccfae 100644
--- a/registry/components/example/marquee-logos.tsx
+++ b/registry/components/example/marquee-logos.tsx
@@ -38,7 +38,7 @@ const Logo = ({ name, img }: { name: string; img: string }) => {
const MarqueeLogos = () => {
return (
- <div className="md:shadow-2xl2xl relative flex h-full w-full flex-col items-center justify-center gap-4 overflow-hidden rounded-lg border bg-background py-20">
+ <div className="relative flex h-full w-full flex-col items-center justify-center gap-4 overflow-hidden rounded-lg border bg-background py-20 md:shadow-xl">
<Marquee className="[--gap:3rem]">
{logos.map((logo, idx) => (
<Logo key={idx} {...logo} />
diff --git a/registry/components/example/meteors-demo.tsx b/registry/components/example/meteors-demo.tsx
index e49e40fb..62c51318 100644
--- a/registry/components/example/meteors-demo.tsx
+++ b/registry/components/example/meteors-demo.tsx
@@ -2,7 +2,7 @@ import Meteors from "@/registry/components/magicui/meteors";
export default function MeteorDemo() {
return (
- <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-2xl">
+ <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl">
<Meteors number={30} />
<p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">
Meteors
diff --git a/registry/components/example/particles-demo.tsx b/registry/components/example/particles-demo.tsx
index 49267f32..fe120623 100644
--- a/registry/components/example/particles-demo.tsx
+++ b/registry/components/example/particles-demo.tsx
@@ -15,7 +15,7 @@ const ParticlesDemo = () => {
console.log("color", color);
return (
- <div className="relative flex h-[400px] w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-4 md:shadow-2xl">
+ <div className="relative flex h-[400px] w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-4 md:shadow-xl">
<span className="pointer-events-none z-10 whitespace-pre-wrap bg-gradient-to-b from-black to-gray-300/80 bg-clip-text text-center text-7xl font-semibold leading-none text-transparent dark:from-white dark:to-black md:text-9xl">
Particles
</span>
diff --git a/registry/components/example/radial-gradient-demo.tsx b/registry/components/example/radial-gradient-demo.tsx
index 0ec83dfc..882a44d3 100644
--- a/registry/components/example/radial-gradient-demo.tsx
+++ b/registry/components/example/radial-gradient-demo.tsx
@@ -2,7 +2,7 @@ import RadialGradient from "@/registry/components/magicui/radial-gradient";
export default function RadialGradientDemo() {
return (
- <div className="relative flex h-full w-full items-center justify-center rounded-lg border bg-background p-20 md:shadow-2xl">
+ <div className="relative flex h-full w-full items-center justify-center rounded-lg border bg-background p-20 md:shadow-xl">
<p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">
Radial Gradient
</p>
diff --git a/registry/components/example/retro-grid-demo.tsx b/registry/components/example/retro-grid-demo.tsx
index 819e5677..4a848dc9 100644
--- a/registry/components/example/retro-grid-demo.tsx
+++ b/registry/components/example/retro-grid-demo.tsx
@@ -4,7 +4,7 @@ import RetroGrid from "@/registry/components/magicui/retro-grid";
const RetroGridDemo = () => {
return (
- <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-2xl">
+ <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl">
<span className="pointer-events-none z-10 whitespace-pre-wrap bg-gradient-to-b from-[#ffd319] via-[#ff2975] to-[#8c1eff] bg-clip-text text-center text-7xl font-bold leading-none tracking-tighter text-transparent">
Retro Grid
</span>
diff --git a/registry/components/example/ripple-demo.tsx b/registry/components/example/ripple-demo.tsx
index 9ba561aa..8f708853 100644
--- a/registry/components/example/ripple-demo.tsx
+++ b/registry/components/example/ripple-demo.tsx
@@ -2,7 +2,7 @@ import Ripple from "@/registry/components/magicui/ripple";
const RippleDemo = () => {
return (
- <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-2xl">
+ <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl">
<p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-white">
Ripple
</p>
diff --git a/registry/index.tsx b/registry/index.tsx
index 08d7a1d9..13b41ca6 100644
--- a/registry/index.tsx
+++ b/registry/index.tsx
@@ -363,7 +363,6 @@ const example: Registry = {
() => import("@/registry/components/example/animated-shiny-text-demo"),
),
},
-
"particles-demo": {
name: "particles-demo",
type: "components:example",
@@ -647,12 +646,6 @@ const blocks: Registry = {
() => import("@/registry/blocks/example/social-proof-testimonials-3"),
),
},
- "features-1": {
- name: "features-1",
- type: "blocks:example",
- files: ["registry/blocks/example/features-1.tsx"],
- component: React.lazy(() => import("@/registry/blocks/example/features-1")),
- },
"call-to-action-1": {
name: "call-to-action-1",
type: "blocks:example",
diff --git a/scripts/create-payment.ts b/scripts/create-payment.ts
index 38f1da28..361788d8 100644
--- a/scripts/create-payment.ts
+++ b/scripts/create-payment.ts
@@ -11,7 +11,7 @@ export const stripe = new Stripe(process.env.STRIPE_API_KEY!, {
async function seed() {
const user = await db.user.findFirst({
where: {
- email: "[email protected]",
+ email: "[email protected]",
},
include: {
customer: true,