Skip to content

Commit

Permalink
Merge pull request #294 from rksingh2001/develop
Browse files Browse the repository at this point in the history
Created Error 404 page for Starprot Docs
  • Loading branch information
darika-dev authored Nov 22, 2021
2 parents 3169b8d + b800704 commit a336f7b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions layouts/NotFound.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
<template lang="pug">
div
.h1 Page Not Found
.p The page you visited either does not exist or has been moved. We're sorry for the inconvenience.
.p #[a(href="/") Back to home]
img( src="./images/lost_cosmonaut.jpg")
center
.h1 Error 404 : You seem lost fellow cosmonaut,
.h1 Let us take you #[a(href="/") Back to Home]
</template>

<style lang="stylus" scoped>
img
width 100%
margin-bottom 1rem
margin-top: 1rem
a
color var(--color-link, blue)
outline-color var(--color-primary, blue)
Expand All @@ -20,23 +25,15 @@ a
transition-duration 0s
.h1
font-size 3rem
margin-bottom 4rem
line-height 3.5rem
letter-spacing -0.02em
font-weight 700
.h2
font-size 2rem
margin-top 3.75rem
margin-bottom 1.25rem
font-size 1.5rem
line-height 2.5rem
letter-spacing -0.01em
letter-spacing -0.02em
font-weight 700
.p
.p {
font-size 1.125rem
line-height 1.8125rem
margin-top 1em
margin-bottom 1em
}
</style>
Binary file added layouts/images/lost_cosmonaut.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a336f7b

Please sign in to comment.