import { SearchIcon } from '~/components/icons/search'
import { Button } from '~/components/ui/button'

export const HeaderSearch = () => {
  return (
    <form className="flex flex-1 justify-between gap-[15px] px-[35px]">
      <input
        placeholder="Cari..."
        className="flex-1 text-xl placeholder:text-white focus:ring-0 focus:outline-none"
        size={1}
      />
      <Button
        type="submit"
        variant="icon"
        size="icon"
        className="[&_svg]:size-[20px] sm:[&_svg]:size-[30px]"
      >
        <SearchIcon />
      </Button>
    </form>
  )
}
