I am batman

This commit is contained in:
2026-07-12 20:27:42 -04:00
commit 997feca642
242 changed files with 40038 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
'use client';
import { useKBar } from 'kbar';
import { IconSearch } from '@tabler/icons-react';
import { Button } from './ui/button';
export default function SearchInput() {
const { query } = useKBar();
return (
<div className='w-full space-y-2'>
<Button
variant='outline'
className='bg-background text-muted-foreground relative h-9 w-full justify-start rounded-[0.5rem] text-sm font-normal shadow-none sm:pr-12 md:w-40 lg:w-64'
onClick={query.toggle}
>
<IconSearch className='mr-2 h-4 w-4' />
Search...
<kbd className='bg-muted pointer-events-none absolute top-[0.3rem] right-[0.3rem] hidden h-6 items-center gap-1 rounded border px-1.5 font-mono text-[10px] font-medium opacity-100 select-none sm:flex'>
<span className='text-xs'>⌘</span>K
</kbd>
</Button>
</div>
);
}