A drawer component for React.
Revert hero changes
emilkowalskidc1be4886852
diff --git a/website/src/app/components/hero.tsx b/website/src/app/components/hero.tsxindex c5e4441..0582355 100644--- a/website/src/app/components/hero.tsx+++ b/website/src/app/components/hero.tsx@@ -40,7 +40,7 @@ export function Hero() {<p className="text-gray-600 text-xl">Drawer component for React.</p></div><div className="flex gap-4 justify-center mt-6">- <Drawer.Root>+ <Drawer.Root shouldScaleBackground><Drawer.Trigger asChild><buttontype="button"@@ -51,15 +51,16 @@ export function Hero() {</Drawer.Trigger><Drawer.Overlay className="fixed inset-0 bg-black/40" /><Drawer.Portal>- <Drawer.Content className="bg-zinc-100 flex flex-col rounded-t-[10px] mt-24 fixed bottom-0 left-0 right-0">+ <Drawer.Content className="bg-gray-100 flex flex-col rounded-t-[10px] h-full mt-24 max-h-[96%] fixed bottom-0 left-0 right-0"><div className="p-4 bg-white rounded-t-[10px] flex-1">- <div className="mx-auto w-12 h-1.5 flex-shrink-0 rounded-full bg-zinc-300 mb-8" />+ <div className="mx-auto w-12 h-1.5 flex-shrink-0 rounded-full bg-gray-300 mb-8" /><div className="max-w-md mx-auto">- <Drawer.Title className="font-medium mb-4">Unstyled drawer for React.</Drawer.Title>- <p className="text-zinc-600 mb-2">- This component can be used as a replacement for a Dialog on mobile and tablet devices.+ <Drawer.Title className="font-medium mb-4">Drawer for React.</Drawer.Title>+ <p className="text-gray-600 mb-2">+ This component can be used as a Dialog replacement on mobile and tablet devices.</p>- <p className="text-zinc-600 mb-8">+ <p className="text-gray-600 mb-2">It comes unstyled and has gesture-driven animations.</p>+ <p className="text-gray-600 mb-8">It uses{' '}<ahref="https://www.radix-ui.com/docs/primitives/components/dialog"@@ -79,10 +80,10 @@ export function Hero() {</p></div></div>- <div className="p-4 bg-zinc-100 border-t border-zinc-200 mt-auto">+ <div className="p-4 bg-gray-100 border-t border-gray-200 mt-auto"><div className="flex gap-6 justify-end max-w-md mx-auto"><a- className="text-xs text-zinc-600 flex items-center gap-0.25"+ className="text-xs text-gray-600 flex items-center gap-0.25"href="https://github.com/emilkowalski/vaul"target="_blank">@@ -105,7 +106,7 @@ export function Hero() {</svg></a><a- className="text-xs text-zinc-600 flex items-center gap-0.25"+ className="text-xs text-gray-600 flex items-center gap-0.25"href="https://twitter.com/emilkowalski_"target="_blank">