<template>
  <div>
    <div
      v-if="site.confpages.enableReg && site.confpages.enableRegByBot"
      style="margin-top: 10px; text-align: center"
    >
      Se non sei ancora Registrato:<br />
      <q-btn
        type="a"
        rounded
        size="md"
        color="primary"
        href="/bot"
        :label="$t('reg.submit')"
      >
      </q-btn>
    </div>
    <div
      v-else-if="site.confpages.enableReg"
      style="margin-top: 10px; text-align: center"
    >
      Se non sei ancora Registrato:<br />
      <q-btn
        rounded
        size="md"
        color="primary"
        to="/signup"
        :label="$t('reg.submit')"
      >
      </q-btn>
    </div>
  </div>
</template>

<script lang="ts" src="./CRegistration.ts">
</script>
<style lang="scss" scoped>
@import './CRegistration.scss';
</style>
