Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit f038beb

Browse files
fix: incorrect url opened after clicking on take me home link on 404page (#101)
Co-authored-by: Andrii Drebot <[email protected]>
1 parent 27d438f commit f038beb

File tree

1 file changed

+17
-0
lines changed
  • docs/.vuepress/theme/layouts

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<template>
2+
<div class="theme-default-content">
3+
<h1>404</h1>
4+
<blockquote>{{ getMsg() }}</blockquote>
5+
<RouterLink to="/dev/">Take me home.</RouterLink>
6+
</div>
7+
</template>
8+
<script>
9+
const msgs = [`There's nothing here.`, `How did we get here?`, `That's a Four-Oh-Four.`, `Looks like we've got some broken links.`];
10+
export default {
11+
methods: {
12+
getMsg() {
13+
return msgs[Math.floor(Math.random() * msgs.length)];
14+
},
15+
},
16+
};
17+
</script>

0 commit comments

Comments
 (0)