Add 404, do some scripty things
parent
2f341a4e2b
commit
08f9043ab0
@ -1,6 +1,6 @@
|
||||
all: dev
|
||||
build:
|
||||
npm run build
|
||||
npm run realBuild
|
||||
node postBuild.mjs
|
||||
dev:
|
||||
npm run dev
|
||||
npm run realDev
|
||||
|
@ -0,0 +1,46 @@
|
||||
---
|
||||
import '../css/font.css'
|
||||
import '../css/color.css'
|
||||
const {title} = Astro.props;
|
||||
---
|
||||
|
||||
<html lang="en">
|
||||
<!--TODO: set meta tags for discord embed-->
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>{title}</title>
|
||||
<style>
|
||||
a + a {
|
||||
margin-left: 5px;
|
||||
} /*i will kill you if this breaks other parts of the site*/
|
||||
|
||||
.footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
height: 100;
|
||||
}
|
||||
.white {
|
||||
background-color: #222222;
|
||||
}
|
||||
.grey {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.padding {
|
||||
position: relative;
|
||||
left: 10px;
|
||||
}
|
||||
|
||||
.padding-right {
|
||||
position: relative;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<slot />
|
||||
</body>
|
@ -0,0 +1,9 @@
|
||||
---
|
||||
import Base from '../layout/BaseHeaderless.astro'
|
||||
---
|
||||
|
||||
<Base title="ruthenic.com: 404">
|
||||
<center><h1>404</h1>
|
||||
<h3>Sorry, the page you are looking for does not exist!</h3>
|
||||
</center>
|
||||
</Base>
|
Loading…
Reference in new issue