generated from Seekra/repository-template
Compare commits
7 Commits
08c3de5cb2
...
cf7525b32a
| Author | SHA1 | Date | |
|---|---|---|---|
|
cf7525b32a
|
|||
|
6175e3b0be
|
|||
|
22c3aafcc5
|
|||
|
7b601416ad
|
|||
|
7098414db1
|
|||
|
a45e208f9b
|
|||
|
f152d39db8
|
+2
-2
@@ -39,12 +39,12 @@ const routes = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/:pathMatch(.*)*',
|
path: '/:pathMatch(.*)*',
|
||||||
name: 'not-found',
|
name: 'notFound',
|
||||||
component: NotFound
|
component: NotFound
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
const router = createRouter({
|
const router = createRouter({
|
||||||
history: createWebHistory(),
|
history: createWebHistory(),
|
||||||
routes
|
routes
|
||||||
});
|
});
|
||||||
|
|||||||
+7
-26
@@ -1,40 +1,21 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="search-content">
|
<div class="not-found">
|
||||||
<header class="global-header">
|
<span class="error-message">
|
||||||
<h1>Seekra</h1>
|
The page you are looking for does not exist. Please check the URL or return to the search page.
|
||||||
<span class="error-message">
|
</span>
|
||||||
ERROR 404: Page Not Found
|
|
||||||
</span>
|
|
||||||
</header>
|
|
||||||
<RouterLink to="/" id="link">Back to Search</RouterLink>
|
<RouterLink to="/" id="link">Back to Search</RouterLink>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.global-header {
|
.not-found {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
padding-top: 80px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding-top: 40px;
|
gap: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.global-header h1 {
|
|
||||||
display: inline-block;
|
|
||||||
margin: 0;
|
|
||||||
line-height: 1;
|
|
||||||
background: linear-gradient(
|
|
||||||
to right,
|
|
||||||
var(--primary-color-l-4),
|
|
||||||
var(--primary-color),
|
|
||||||
var(--primary-color-d-4)
|
|
||||||
);
|
|
||||||
-webkit-background-clip: text;
|
|
||||||
-webkit-text-fill-color: transparent;
|
|
||||||
background-clip: text;
|
|
||||||
font-size: 6rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.error-message{
|
.error-message{
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
|||||||
Reference in New Issue
Block a user