Skip to content

Commit 65b4bad

Browse files
committed
chore(frontend): add static error page
1 parent 376e6dc commit 65b4bad

2 files changed

Lines changed: 73 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ ENV/
4141
env/
4242
.venv
4343

44+
# Infrastructure (VPS deployment, not tracked)
45+
infra/
46+
4447
# Agents
4548
.claude
4649
AGENTS.md
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<meta http-equiv="refresh" content="30">
7+
<title>PyPSA App - Service Unavailable</title>
8+
<style>
9+
* { margin: 0; padding: 0; box-sizing: border-box; }
10+
body {
11+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
12+
background: #f8f9fa;
13+
color: #333;
14+
display: flex;
15+
align-items: center;
16+
justify-content: center;
17+
min-height: 100vh;
18+
}
19+
.container {
20+
text-align: center;
21+
max-width: 480px;
22+
padding: 2rem;
23+
}
24+
.logo {
25+
width: 80px;
26+
height: 80px;
27+
margin: 0 auto 2rem;
28+
}
29+
h1 {
30+
font-size: 1.5rem;
31+
font-weight: 600;
32+
margin-bottom: 0.75rem;
33+
color: #1a1a1a;
34+
}
35+
p {
36+
font-size: 1rem;
37+
line-height: 1.6;
38+
color: #666;
39+
margin-bottom: 1.5rem;
40+
}
41+
.hint {
42+
font-size: 0.85rem;
43+
color: #999;
44+
}
45+
</style>
46+
</head>
47+
<body>
48+
<div class="container">
49+
<div class="logo">
50+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 450 450">
51+
<g id="Left_Triangle">
52+
<path fill="#d10a49" d="M219.38,142.49l-111.54,189.62c-9.84-13.92-25.63-23.35-43.67-24.59l112.02-190.44c9.59,14.13,25.22,23.83,43.18,25.41h0Z"/>
53+
</g>
54+
<g id="Right_Triangle">
55+
<path fill="#d10a49" d="M384.71,307.11c-13.19,1.17-26.04,6.79-36.14,16.89-2.66,2.66-5.01,5.51-7.04,8.51l-111.78-190.02c17.96-1.57,33.59-11.28,43.18-25.41l111.77,190.03h0Z"/>
56+
</g>
57+
<g id="Bottom_Triangle">
58+
<path fill="#d10a49" d="M337.08,390.37H113.16c3.47-7.46,5.39-15.77,5.39-24.54s-2.11-17.83-5.87-25.56h224.38c-7.5,15.81-7.5,34.29,0,50.1h0Z"/>
59+
</g>
60+
<path fill="#2993b5" d="M389.89,415.43c13.29,0,26.03-5.28,35.43-14.67,9.39-9.39,14.67-22.13,14.67-35.43s-5.28-26.03-14.67-35.43c-9.39-9.39-22.13-14.67-35.43-14.67s-26.03,5.28-35.43,14.67c-9.4,9.39-14.67,22.13-14.67,35.43s5.28,26.03,14.67,35.43c9.39,9.39,22.13,14.67,35.43,14.67h0Z"/>
61+
<path fill="#ffbf00" d="M224.57,134.37c13.29,0,26.03-5.28,35.43-14.67,9.39-9.39,14.67-22.13,14.67-35.43s-5.28-26.03-14.67-35.43c-9.39-9.39-22.13-14.67-35.43-14.67s-26.03,5.28-35.43,14.67c-9.39,9.39-14.67,22.13-14.67,35.43s5.28,26.03,14.67,35.43c9.39,9.39,22.13,14.67,35.43,14.67h0Z"/>
62+
<path fill="#0a8754" d="M60.11,415.43c13.29,0,26.03-5.28,35.43-14.67,9.39-9.39,14.67-22.13,14.67-35.43s-5.28-26.03-14.67-35.43c-9.39-9.39-22.13-14.67-35.43-14.67s-26.03,5.28-35.43,14.67c-9.39,9.39-14.67,22.13-14.67,35.43s5.28,26.03,14.67,35.43c9.39,9.39,22.13,14.67,35.43,14.67Z"/>
63+
</svg>
64+
</div>
65+
<h1>Service temporarily unavailable</h1>
66+
<p>PyPSA App is currently undergoing maintenance. We'll be back shortly.</p>
67+
<p class="hint">This page will automatically retry in 30 seconds.</p>
68+
</div>
69+
</body>
70+
</html>

0 commit comments

Comments
 (0)