generated from Seekra/repository-template
Add NotFound.vue #48 #50
+11
-1
@@ -1,11 +1,21 @@
|
|||||||
<template>
|
<template>
|
||||||
<span class="error-message">
|
<div class="not-found">
|
||||||
|
jakob.scheid marked this conversation as resolved
Outdated
|
|||||||
|
<span class="error-message">
|
||||||
|
jakob.scheid marked this conversation as resolved
Outdated
jakob.scheid
commented
The not found page should be minimal, so omit the header. The navigation bar already contains Seekra. The not found page should be minimal, so omit the header. The navigation bar already contains *Seekra*.
|
|||||||
The page you are looking for does not exist. Please check the URL or return to the search page.
|
The page you are looking for does not exist. Please check the URL or return to the search page.
|
||||||
</span>
|
</span>
|
||||||
|
jakob.scheid marked this conversation as resolved
Outdated
jakob.scheid
commented
No HTTP status code. That is confusing for people who are not familiar with technology. No HTTP status code. That is confusing for people who are not familiar with technology.
|
|||||||
<RouterLink to="/" id="link">Back to Search</RouterLink>
|
<RouterLink to="/" id="link">Back to Search</RouterLink>
|
||||||
|
jakob.scheid marked this conversation as resolved
Outdated
jakob.scheid
commented
Do not write ERROR uppercase. Do not write *ERROR* uppercase.
|
|||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
.not-found {
|
||||||
|
text-align: center;
|
||||||
|
padding-top: 80px;
|
||||||
|
display: flex;
|
||||||
|
jakob.scheid marked this conversation as resolved
Outdated
jakob.scheid
commented
Copying styles is a very bad idea. Nothing should be redundant. Copying styles is a very bad idea. Nothing should be redundant.
|
|||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
}
|
||||||
.error-message{
|
.error-message{
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
|||||||
Reference in New Issue
Block a user
Do not use a container .search-content in a not found page.