<template>
  <div class="errPage-container">
    <h1 class="rpm-title">
      Rental Property Management system
    </h1>
    <el-row>
      <el-col :xs="24" :sm="16" :md="16" :lg="16" :xl="16">
        <br>
        <br>
        <br>
        <br>
        <h2 class="rpm-text">
          Your {{something}} has been sent to the property manager who manages the following rental address:
        </h2>
        <br>
        <br>
        <h4 class="rpm-address">
          {{ address }}
        </h4>
      </el-col>
      <el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
        <el-image :src="url" alt="RPM logo" />
      </el-col>
    </el-row>
  </div>
</template>

<script>
import logo from '@/icons/img/logo.jpg'

export default {
  name: 'page200',
  data() {
    return {
      something: 'something',
      address: '239XX 106 Ave, Maple Ridge, BC, Canada',
      url: logo,
    }
  },
  mounted() {
    this.something = this.$route.params && this.$route.params.something
    this.address = this.$route.params && this.$route.params.address
  }
}
</script>

<style lang="scss" scoped>
  @import "@/styles/variables.scss";

  .errPage-container {
    width: 800px;
    max-width: 100%;
    margin: 100px auto;
   .el-image {
      display: block;
      margin: 0 auto;
      width: 280px;
      height: 250px;
    }
    .rpm-title {
      font-size: 40px;
      font-weight: 700;
      color: $rpm-theme-color;
    }
    .rpm-text {
      font-size: 20px;
      font-weight: 200;
      color: #000000;
    }
    .rpm-address {
      font-size: 20px;
      font-weight: 600;
      color: #ff0000;
    }
  }
</style>
