From 1ffa93824841c7e7026f0d9dc102a189499406d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?=
Date: Fri, 27 Oct 2023 22:41:34 +0200
Subject: [PATCH] feat: maintenance page
---
_includes/layouts/error.tsx | 40 ++++++++++++++++++++++++++++++++++
_includes/layouts/homepage.tsx | 2 --
maintenance.yml | 16 ++++++++++++++
3 files changed, 56 insertions(+), 2 deletions(-)
create mode 100644 _includes/layouts/error.tsx
create mode 100644 maintenance.yml
diff --git a/_includes/layouts/error.tsx b/_includes/layouts/error.tsx
new file mode 100644
index 0000000..f97df30
--- /dev/null
+++ b/_includes/layouts/error.tsx
@@ -0,0 +1,40 @@
+import { md } from '../../filters.ts';
+import Head from '../Head.tsx';
+import Background from '../Background.tsx';
+
+export default ({
+ title,
+ content,
+ code,
+
+ theme,
+ extraStylesheets,
+ extraScripts,
+ cacheBust,
+}) => <>
+
+
+
+
+
+
+
+
+
+
+>;
diff --git a/_includes/layouts/homepage.tsx b/_includes/layouts/homepage.tsx
index 30c004e..f5de5bb 100644
--- a/_includes/layouts/homepage.tsx
+++ b/_includes/layouts/homepage.tsx
@@ -10,8 +10,6 @@ export default ({
extraStylesheets,
extraScripts,
cacheBust,
-
- showHakkenDates,
}) => <>