Created temporary repo placeholder page

This commit is contained in:
2025-01-21 14:17:38 +00:00
parent 54515f0dca
commit 5dcfac8fad
6 changed files with 15 additions and 2 deletions

View File

@@ -9,6 +9,11 @@
health_timeout 10s
health_status 200
}
route /repo {
root * /repo/placeholder.html
file_server
}
}
:80 {

View File

@@ -28,6 +28,7 @@ services:
volumes:
- caddy_data:/data
- ./caddy:/etc/caddy
- ./repo:/repo
restart: unless-stopped
labels:
- "io.containers.autoupdate=registry"

6
repo/placeholder.html Normal file
View File

@@ -0,0 +1,6 @@
<h1>This is a placeholder page</h1>
<h2>Please wait patiently while I set up the data repository</h2>
<p>
The data repository will be deployed as soon as possible, we just
need to figure out some details first before deployment happens.
</p>

View File

@@ -58,7 +58,7 @@
class="navigation-footer-link"
text="Data Repository"
hotkey="d"
redirectFunc={navigation.to404}
redirectFunc={navigation.toRepository}
/>
<Link
class="navigation-footer-link"

View File

@@ -19,7 +19,7 @@
class="navigation-header-link {link_class}"
text="Data Repository"
hotkey="d"
redirectFunc={navigation.to404}
redirectFunc={navigation.toRepository}
/>
<Link
class="navigation-header-link {link_class}"

View File

@@ -5,6 +5,7 @@ export const navigation = {
toHome: () => goto("/"),
toAbout: () => goto("/about"),
toContact: () => goto("/contact"),
toRepository: () => goto("/repo"),
to404: () => {
throw error(404, 'Page not found');
}