PageNotFound.vue 866 Bytes
Newer Older
1
<template>
Bat's avatar
Bat committed
2
  <div class="main pusher" v-title="'Page Not Found'">
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
    <div class="ui vertical stripe segment">
      <div class="ui text container">
        <h1 class="ui huge header">
          <i class="warning icon"></i>
          <div class="content">
            <strike>Whale</strike> Page not found!
          </div>
        </h1>
        <p>We're sorry, the page you asked for does not exists.</p>
        <p>Requested URL: <a :href="path">{{ path }}</a></p>
        <router-link class="ui icon button" to="/">
          Go to home page
          <i class="right arrow icon"></i>
        </router-link>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data: function () {
    return {
      path: window.location.href
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
</style>