chore: update dependencies and add new mobile-first features page with interactive demos

This commit is contained in:
2025-10-22 17:10:31 +02:00
parent 205c8fd0d9
commit 886e7557df
12 changed files with 2243 additions and 766 deletions

View File

@@ -0,0 +1,22 @@
import clsx from 'clsx'
import phoneFrame from '@/images/phone-frame.svg'
export function PhoneFrame({
className,
children,
...props
}: React.ComponentPropsWithoutRef<'div'>) {
return (
<div className={clsx('relative aspect-[366/729]', className)} {...props}>
<img
src={phoneFrame}
alt=""
className="pointer-events-none absolute inset-0 w-full h-full"
/>
<div className="absolute inset-x-[6.3%] top-[3.15%] bottom-[2.75%] rounded-3xl overflow-y-auto bg-gray-900">
{children}
</div>
</div>
)
}