import Editable from "../components/Editable"

function Policy({ props }) {
  return (
    <div className="container">
      <div className="box policy">
        <Editable props={props.policy_heading} />

        <Editable props={props.policy_content} />
      </div>

      <div className="hotline">
        <a href="tel:19001903" className="tel">
          <img src="src/assets/images/hnc-game-2-icon-phone-1.png" alt="Phone" width="26" height="26" />
          <span>
            Hotline:
            <Editable props={props.policy_hotline} />
          </span>
        </a>
      </div>
    </div>
  )
}

export default Policy