-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'resolution' into staging
- Loading branch information
Showing
3 changed files
with
56 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,39 @@ | ||
<template> | ||
<Layout> | ||
<Layout :sidebar-items="sidebarItems"> | ||
<div class="NotFound"> | ||
<img src="/images/Lost-File-v4.gif" /> | ||
<p><strong>404s suck!</strong> And we're sorry for this one.</p> | ||
<p> | ||
Good thing the permaweb has | ||
<a href="https://ardrive.io/fragility-of-the-internet/" target="_blank" rel="noreferrer"> | ||
no more 404s | ||
</a> | ||
</p> | ||
</div> | ||
</Layout> | ||
</template> | ||
|
||
<div class="NotFound"> | ||
<img src="/images/Lost-File-v4.gif"/> | ||
<p><strong>404s suck!</strong> And we're sorry for this one.</p> | ||
<p>Good thing the permaweb has <a src="https://ardrive.io/fragility-of-the-internet/" target="_blank" rel="noreferrer">no more 404s</a></p> | ||
</div> | ||
|
||
|
||
|
||
</Layout> | ||
</template> | ||
|
||
<script> | ||
import Layout from "./Layout" | ||
export default { | ||
name: "NotFound" | ||
}; | ||
</script> | ||
<script> | ||
import Layout from "./Layout"; | ||
export default { | ||
name: "NotFound", | ||
components: { | ||
Layout, | ||
}, | ||
computed: { | ||
sidebarItems() { | ||
const { themeConfig } = this.$site; | ||
// Use the root ("/") sidebar config as a fallback | ||
return themeConfig.sidebar ? themeConfig.sidebar["/"] || [] : []; | ||
}, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style scoped> | ||
.NotFound { | ||
text-align: center; | ||
padding: 2em; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters