VipPlusRulesModal.tsx 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. "use client";
  2. import CommonModal from "@/components/theme/ui/CommonModal";
  3. export function VipPlusRulesModal({
  4. isShow,
  5. onClose
  6. }: {
  7. isShow: boolean;
  8. onClose: () => void;
  9. }) {
  10. return (<>
  11. <CommonModal
  12. destroyOnClose={true}
  13. isOpen={isShow}
  14. onClose={onClose}
  15. contentClassName={"left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-144.5 rounded-xl bg-white px-6"}
  16. body={
  17. <div className="relative py-4">
  18. <div className="text-center text-ly-16 font-bold">Asteriahair Plus</div>
  19. <p className="text-center text-ly-14 leading-5 mt-5">
  20. In order to provide customers with a better shopping experience, Asteriahair has specially launched Asteriahair PLUS membership (no refund after purchase). PLUS members can enjoy unlimited free shipping, 5% off on each order within 180 days, exclusive instant discounts, exclusive customer service, free returns and other membership privileges.
  21. </p>
  22. <p className="text-center text-ly-14 leading-5 mt-3">
  23. We hope to establish a long-term win-win relationship with you through PLUS. At the same time, we will continue to enrich the rights and interests of PLUS members and provide you with more complete services.
  24. </p>
  25. <p className="text-center text-ly-14 leading-5 mt-3">
  26. Thank you for choosing Asteriahair. We are dedicated to creating the ultimate shopping experience for you!(The final right of interpretation belongs to Asteriahair)
  27. </p>
  28. <p className="text-center text-ly-14 leading-5 mt-3">
  29. Note: PLUS membership can't be used for wholesale orders, clearance and flash sale products.
  30. </p>
  31. <button className="absolute top-4 right-4 w-6 h-6" onClick={onClose}>
  32. <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon" className="h-6 transition-all ease-in-out hover:scale-110"><path strokeLinecap="round" strokeLinejoin="round" d="M6 18 18 6M6 6l12 12"></path></svg>
  33. </button>
  34. </div>
  35. }
  36. />
  37. </>);
  38. }