text: import Modal from "react-modal";
  import React from "react";
  
  import { linkExternalTrusted } from "../../assets/constants";
  import { offWhite } from "../../assets/colors";
  
  Modal.setAppElement("#root");
  
  const PrivacyPolicyModal = (props) => (
    <Modal
      isOpen={props.modalIsOpen}
      onRequestClose={() => props.closeModal()}
      style={{
        overlay: {
          backgroundColor: "rgba(0, 0, 0, 0.5)",
          zIndex: 10000
        },
        content: {
          padding: 0,
          margin: 0
        }
      }}
    >
      <div
        css={`
          background-color: ${offWhite};
          text-align: center;
          padding: 20px 0;
          width: 100%;
          font-weight: 600;
          font-family: "Encode Sans", sans-serif !important;
        `}
      >
        QHacks Privacy Policy
        <input
          src="../../assets/img/times.svg"
          type="image"
          css={`
            max-height: 40px;
            max-width: 40px;
            float: right;
            margin-right: 24px;
            cursor: pointer;
          `}
          alt="Close modal"
          onClick={props.closeModal}
        />
      </div>
      <div
        css={`
          font-family: "Encode Sans", sans-serif !important;
          padding: 40px;
          p {
            margin: 7px 0 14px;
            padding: 0;
            line-height: 20px;
            font-size: 15px;
          }
          h3 {
            margin-top: 25px;
          }
        `}
      >
        <p>
          Your privacy is important to us. It is QHacks&apos; policy to respect
          your privacy regarding any information we may collect from you across
          our website,{" "}
          <a {...linkExternalTrusted} href="https://qhacks.io">
            https://qhacks.io
          </a>
          , and other sites we own and operate.
        </p>
        <h3>1. Information We Collect</h3>
        <h4>Log Data</h4>
        <p>
          When you visit our website, our servers may automatically log the
          standard data provided by your web browser. It may include your
          computer’s Internet Protocol (IP) address, your browser type and
          version, the pages you visit, the time and date of your visit, the time
          spent on each page, and other details.
        </p>
        <h4>Device Data</h4>
        <p>
          We may also collect data about the device you’re using to access our
          website. This data may include the device type, operating system, unique
          device identifiers, device settings, and geo-location data. What we
          collect can depend on the individual settings of your device and
          software. We recommend checking the policies of your device manufacturer
          or software provider to learn what information they make available to
          us.
        </p>
        <h4>Personal Information</h4>
        <p>
          We may ask for personal information, such as your: Name, Email, Social
          media profiles, Date of birth, phone/mobile number.
        </p>
        <h3>2. Legal basis for processing</h3>
        <p>
          We will process your personal information lawfully, fairly and in a
          transparent manner. We collect and process information about you only
          where we have legal bases for doing so.{" "}
        </p>
        <p>
          These legal bases depend on the services you use and how you use them,
          meaning we collect and use your information only where:
        </p>
        <p>
          It’s necessary for the performance of a contract to which you are a
          party or to take steps at your request before entering into such a
          contract (for example, when we provide a service you request from us),
          it satisfies a legitimate interest (which is not overridden by your data
          protection interests), such as for research and development, to market
          and promote our services, and to protect our legal rights and interests,
          you give us consent to do so for a specific purpose (for example, you
          might consent to us sending you our newsletter), or we need to process
          your data to comply with a legal obligation.
        </p>
        <p>
          Where you consent to our use of information about you for a specific
          purpose, you have the right to change your mind at any time (but this
          will not affect any processing that has already taken place).
        </p>
        <p>
          We don’t keep personal information for longer than is necessary. While
          we retain this information, we will protect it within commercially
          acceptable means to prevent loss and theft, as well as unauthorised
          access, disclosure, copying, use or modification. That said, we advise
          that no method of electronic transmission or storage is 100% secure and
          cannot guarantee absolute data security. If necessary, we may retain
          your personal information for our compliance with a legal obligation or
          in order to protect your vital interests or the vital interests of
          another natural person.
        </p>
        <h3>3. Collection and use of information</h3>
        <p>
          We may collect, hold, use and disclose information for the following
          purposes and personal information will not be further processed in a
          manner that is incompatible with these purposes: to enable you to
          customise or personalise your experience of our website, to enable you
          to access and use our website, associated applications and associated
          social media platforms;to contact and communicate with you, for internal
          record keeping and administrative purposes;for analytics, market
          research and business development, including to operate and improve our
          website, associated applications and associated social media platforms,
          to run competitions and/or offer additional benefits to you, for
          advertising and marketing, including to send you promotional information
          about our products and services and information about third parties that
          we consider may be of interest to you, to comply with our legal
          obligations and resolve any disputes that we may have, and to consider
          your employment application.
        </p>
        <h3>4. Disclosure of personal information to third parties</h3>
        <p>
          We may disclose personal information to: third party service providers
          for the purpose of enabling them to provide their services, including
          (without limitation) IT service providers, data storage, hosting and
          server providers, ad networks, analytics, error loggers, debt
          collectors, maintenance or problem-solving providers, marketing or
          advertising providers, professional advisors, and payment systems
          operators;our employees, contractors and/or related entities; and,
          sponsors or promoters of any competition we run.
        </p>
        <h3>5. International transfers of personal information</h3>
        <p>
          The personal information we collect is stored and processed in Canada,
          or where we or our partners, affiliates and third-party providers
          maintain facilities. By providing us with your personal information, you
          consent to the disclosure to these overseas third parties.
        </p>
        <p>
          We will ensure that any transfer of personal information from countries
          in the European Economic Area (EEA) to countries outside the EEA will be
          protected by appropriate safeguards, for example by using standard data
          protection clauses approved by the European Commission, or the use of
          binding corporate rules or other legally accepted means.
        </p>
        <p>
          Where we transfer personal information from a non-EEA country to another
          country, you acknowledge that third parties in other jurisdictions may
          not be subject to similar data protection laws to the ones in our
          jurisdiction. There are risks if any such third party engages in any act
          or practice that would contravene the data privacy laws in our
          jurisdiction and this might mean that you will not be able to seek
          redress under our jurisdiction’s privacy laws.
        </p>
        <h3>6. Your rights and controlling your personal information</h3>
        <p>
          Choice and consent: By providing personal information to us, you consent
          to us collecting, holding, using and disclosing your personal
          information in accordance with this privacy policy. If you are under 16
          years of age, you must have, and warrant to the extent permitted by law
          to us, that you have your parent or legal guardian’s permission to
          access and use the website and they (your parents or guardian) have
          consented to you providing us with your personal information. You do not
          have to provide personal information to us, however, if you do not, it
          may affect your use of this website or the products and/or services
          offered on or through it.
        </p>
        <p>
          Information from third parties: If we receive personal information about
          you from a third party, we will protect it as set out in this privacy
          policy. If you are a third party providing personal information about
          somebody else, you represent and warrant that you have such person’s
          consent to provide the personal information to us.
        </p>
        <p>
          Restrict: You may choose to restrict the collection or use of your
          personal information. If you have previously agreed to us using your
          personal information for direct marketing purposes, you may change your
          mind at any time by contacting us using the details below. If you ask us
          to restrict or limit how we process your personal information, we will
          let you know how the restriction affects your use of our website or
          products and services.
        </p>
        <p>
          Access and data portability: You may request details of the personal
          information that we hold about you. You may request a copy of the
          personal information we hold about you. Where possible, we will provide
          this information in CSV format or other easily readable machine format.
          You may request that we erase the personal information we hold about you
          at any time. You may also request that we transfer this personal
          information to another third party.
        </p>
        <p>
          Correction: If you believe that any information we hold about you is
          inaccurate, out of date, incomplete, irrelevant or misleading, please
          contact us using the details below. We will take reasonable steps to
          correct any information found to be inaccurate, incomplete, misleading
          or out of date.
        </p>
        <p>
          Notification of data breaches: We will comply laws applicable to us in
          respect of any data breach.
        </p>
        <p>
          Complaints: If you believe that we have breached a relevant data
          protection law and wish to make a complaint, please contact us using the
          details below and provide us with full details of the alleged breach. We
          will promptly investigate your complaint and respond to you, in writing,
          setting out the outcome of our investigation and the steps we will take
          to deal with your complaint. You also have the right to contact a
          regulatory body or data protection authority in relation to your
          complaint.
        </p>
        <p>
          Unsubscribe: To unsubscribe from our e-mail database or opt-out of
          communications (including marketing communications), please contact us
          using the details below or opt-out using the opt-out facilities provided
          in the communication.
        </p>
        <h3>7. Limits of Our Policy</h3>
        <p>
          Our website may link to external sites that are not operated by us.
          Please be aware that we have no control over the content and policies of
          those sites, and cannot accept responsibility or liability for their
          respective privacy practices.{" "}
        </p>
        <h3>8. Changes to This Policy</h3>
        <p>
          At our discretion, we may change our privacy policy to reflect current
          acceptable practices. We will take reasonable steps to let users know
          about changes via our website. Your continued use of this site after any
          changes to this policy will be regarded as acceptance of our practices
          around privacy and personal information.
        </p>
        <p>
          If we make a significant change to this privacy policy, for example
          changing a lawful basis on which we process your personal information,
          we will ask you to re-consent to the amended privacy policy.
        </p>
        <p>
          <strong>QHacks Data Controller</strong>
          <br />
          Vinith Suriyakumar
          <br />
          vinith@qhacks.io
        </p>
        <p>
          <strong>QHacks Data Protection Officer</strong>
          <br />
          Vinith Suriyakumar
          <br />
          vinith@qhacks.io
        </p>
        <p>This policy is effective as of 1 December 2018.</p>
      </div>
    </Modal>
  );
  
  export default PrivacyPolicyModal;
  