UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
π fix: mobile styles
Dillion Vermae0db1ae1d35d
diff --git a/app/(docs)/components/[slug]/page.tsx b/app/(docs)/components/[slug]/page.tsxindex dcc1cbc3..cc73368c 100644--- a/app/(docs)/components/[slug]/page.tsx+++ b/app/(docs)/components/[slug]/page.tsx@@ -176,6 +176,7 @@ export default async function Component({ params }: Props) {><MagicCardborderRadius={16}+ // background="radial-gradient(var(--mask-size) circle at var(--mouse-x) var(--mouse-y),#ffaa40 0,#9c40ff 50%,transparent 100%)"className="cursor-pointer shadow-2xl flex flex-col justify-center items-center overflow-hidden bg-gradient-to-br dark:from-gray-800 dark:to-gray-900 from-gray-100 to-gray-200 p-6"><p className="text-4xl font-semibold whitespace-nowrap text-gray-800 dark:text-gray-200">@@ -184,6 +185,7 @@ export default async function Component({ params }: Props) {</MagicCard><MagicCardborderRadius={16}+ // background="radial-gradient(var(--mask-size) circle at var(--mouse-x) var(--mouse-y),#ffaa40 0,#9c40ff 50%,transparent 100%)"className="cursor-pointer shadow-2xl flex justify-center items-center overflow-hidden bg-gradient-to-br dark:from-gray-800 dark:to-gray-900 from-gray-100 to-gray-200"><p className="text-4xl font-semibold whitespace-nowrap text-gray-800 dark:text-gray-200">diff --git a/app/(marketing)/page.tsx b/app/(marketing)/page.tsxindex 93e847c1..86b43a46 100644--- a/app/(marketing)/page.tsx+++ b/app/(marketing)/page.tsx@@ -40,11 +40,11 @@ export default async function Home() {Follow along on Twitter</div> */}π <Separator className="mx-2 h-4" orientation="vertical" />{" "}- <span className="sm:hidden">Style, a new CLI and more.</span>+ {/* <span className="sm:hidden">Style, a new CLI and more.</span> */}<spanclassName={cn(`bg-clip-text text-transparent bg-gradient-to-r from-[#ffaa40] via-[#9c40ff] to-[#ffaa40] animate-gradient bg-[length:var(--bg-size)_100%]`,- `hidden sm:inline`+ `inline`)}>Introducing Magic Card