commerce/components/product/warranty.tsx
Chloe 2ad07c3682
feat: implement variant selector panel
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
2024-05-02 19:14:30 +07:00

27 lines
904 B
TypeScript

import { ShieldCheckIcon } from '@heroicons/react/24/outline';
import Link from 'next/link';
import WarrantySelector from './warranty-selector';
const Warranty = () => {
return (
<div className="flex flex-col text-xs lg:text-sm">
<div className="mb-3 flex flex-row items-center space-x-2 text-base font-medium">
<ShieldCheckIcon className="h-7 w-7" />
<span> Protect your product</span>
</div>
<div className="mb-1 flex flex-row items-center space-x-1 divide-x divide-gray-400 leading-none lg:space-x-3">
<span>Extended Warranty</span>
<Link href="#" className="pl-2 text-blue-800 hover:underline">
What&apos;s Included
</Link>
<Link href="#" className="pl-2 text-blue-800 hover:underline">
Terms & Conditions
</Link>
</div>
<WarrantySelector />
</div>
);
};
export default Warranty;