import { Modal } from "antd";

function ModalAuthentication({ onCancel, onOk }) {
  return (
    <Modal visible={true} onCancel={onCancel} onOk={onOk}>
      <div
        style={{
          display: "flex",
          alignItems: "center",
          flexDirection: "column",
        }}
      >
        <div
          style={{
            textAlign: "center",
            fontWeight: 600,
            borderBottom: "1px solid black",
            paddingBottom: 8,
            marginBottom: 16,
            width: "100%",
          }}
        >
          Authentication Required
        </div>
        <div style={{ height: 20 }}>Image </div>
        <div style={{ padding: "16px 0" }}>
          You must authenticate with your wallet in order to purchase this item.
        </div>
        <div
          style={{
            padding: 16,
            border: "1px solid black",
            display: "flex",
            alignItems: "center",
            gap: 20,
          }}
        >
          <div>Logo</div>
          <div>
            <div style={{ fontWeight: 600, fontSize: 16 }}>
              Signature Request
            </div>
            <div>Confirm the transaction in your wallet</div>
          </div>
        </div>
      </div>
    </Modal>
  );
}

export default ModalAuthentication;
