'use client'
import { useRouter } from 'next/navigation'

export default function ListForm() {
  const router = useRouter()
  return (
    <>
      <div className="sale-frame">
        <div className="sale-form-bx">
          <button className="btn-frame n-blue icon" onClick={() => router.push('/inquiry/regist')}>
            お問い合わせ<i className="btn-arr"></i>
          </button>
        </div>
        <div className="sale-form-bx">
          <div className="search-input">
            <input type="text" className="search-frame" placeholder="タイトルを入力してください. (2文字以上)" />
            <button className="search-icon"></button>
          </div>
        </div>
      </div>
    </>
  )
}
