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(.*)*',
|
||||
name: 'not-found',
|
||||
name: 'notFound',
|
||||
component: NotFound
|
||||
},
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
routes
|
||||
});
|
||||
|
||||
+7
-26
@@ -1,40 +1,21 @@
|
||||
<template>
|
||||
<div class="search-content">
|
||||
<header class="global-header">
|
||||
<h1>Seekra</h1>
|
||||
<span class="error-message">
|
||||
ERROR 404: Page Not Found
|
||||
</span>
|
||||
</header>
|
||||
<div class="not-found">
|
||||
<span class="error-message">
|
||||
The page you are looking for does not exist. Please check the URL or return to the search page.
|
||||
</span>
|
||||
<RouterLink to="/" id="link">Back to Search</RouterLink>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.global-header {
|
||||
.not-found {
|
||||
text-align: center;
|
||||
padding-top: 80px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
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{
|
||||
margin: 0;
|
||||
font-weight: 600;
|
||||
|
||||
Reference in New Issue
Block a user