<template>
  <BoxContainer class="error-container">
    <IllustrationTitle
      illustration="error"
      :title="title"
      :subtitle="subtitle"
    />

    <div class="row button-wrapper">
      <SpaceButton
        class="col-md-4 col-sm-6 col-12"
        @click="$emit('next')"
        :loading="loading"
      >
        {{ buttonTitle }}
      </SpaceButton>
    </div>
  </BoxContainer>
</template>
<script lang="ts">
import { defineComponent } from "vue";
import StatusPageMixin from "@/mixins/StatusPageMixin";
export default defineComponent({
  mixins: [StatusPageMixin],
  setup() {},
});
</script>
<style lang="scss">
.error-container {
  .illustration-title {
    max-width: 768px;
    margin: 0 auto;
  }

  .button-wrapper {
    margin-top: auto;

    .button {
      margin: 0 auto;
    }
  }
}
</style>
