{% extends 'core/base.html' %}
{% load static %}
{% block title %}
  Medwings | Sign Up
{% endblock title %}

{% block content %}
  <div class="flex flex-col justify-center items-center gap-2 py-4 mx-4 max-w-4xl">
    <h2>Register</h2>
    <p>
      We're thrilled that you're taking the next step towards a healthier future by signing up for Medwings!
      By linking your Withings account, we can seamlessly integrate your health data with Medwings.
    </p>
    <div class="flex flex-col gap-2 items-center call-to-action-box">
      <p class="font-semibold">To get started, please allow us to access your health data</p>
      <a class="btn text-lg" href="{{ auth_url }}">Link Withings Account</a>
    </div>
    <p>
      The registration process will continue after you've linked your Withings account.
      This step is essential as it allows Medwings to securely access your health data from the Withings cloud.
      We use OAuth2, a standard and secure method, to ensure that your personal data remains private and under your control.+
      Once your accounts are linked, you'll be all set to start exploring your health data and insights through Medwings.
    </p>
  </div>
{% endblock content %}
