Add initial Next.js dashboard files

This commit is contained in:
2025-06-14 10:19:24 +03:00
parent e2b4b5cc85
commit 59c1550015
51 changed files with 4288 additions and 0 deletions

18
app/ui/search.tsx Normal file
View File

@ -0,0 +1,18 @@
'use client';
import { MagnifyingGlassIcon } from '@heroicons/react/24/outline';
export default function Search({ placeholder }: { placeholder: string }) {
return (
<div className="relative flex flex-1 flex-shrink-0">
<label htmlFor="search" className="sr-only">
Search
</label>
<input
className="peer block w-full rounded-md border border-gray-200 py-[9px] pl-10 text-sm outline-2 placeholder:text-gray-500"
placeholder={placeholder}
/>
<MagnifyingGlassIcon className="absolute left-3 top-1/2 h-[18px] w-[18px] -translate-y-1/2 text-gray-500 peer-focus:text-gray-900" />
</div>
);
}