mirror of
https://github.com/yudejp/yude.jp.git
synced 2025-01-23 04:57:21 +00:00
Add 404 page
This commit is contained in:
parent
0438388041
commit
0a014a7727
26
404.html
Normal file
26
404.html
Normal file
@ -0,0 +1,26 @@
|
||||
<!doctype html>
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/webp" href="/avatar.webp" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>yude.jp</title>
|
||||
<meta property="og:title" content="yude のページ">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="https://www.yude.jp/">
|
||||
<meta property="og:image" content="https://www.yude.jp/avatar.png">
|
||||
<meta property="og:site_name" content="yude.jp">
|
||||
<meta property="og:locale" content="ja_JP">
|
||||
<style>
|
||||
body {
|
||||
background-color: rgb(23 23 23);
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div style="text-align: center">
|
||||
<h1>404 Not Found</h1>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -25,6 +25,7 @@
|
||||
"tailwindcss": "^3.4.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bun": "^1.0.7",
|
||||
"@types/react": "^18.2.43",
|
||||
"@types/react-dom": "^18.2.17",
|
||||
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
||||
|
@ -1,7 +1,17 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import { resolve } from "path";
|
||||
import react from '@vitejs/plugin-react-swc'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
})
|
||||
build: {
|
||||
rollupOptions: {
|
||||
input: {
|
||||
main: resolve(__dirname, 'index.html'),
|
||||
404: resolve(__dirname, '404.html'),
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user