veltrixcode commited on
Commit
2a53671
·
verified ·
1 Parent(s): f24dd1c

Update public/index.html

Browse files
Files changed (1) hide show
  1. public/index.html +137 -3
public/index.html CHANGED
@@ -1,6 +1,7 @@
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, maximum-scale=1" />
6
  <script type="module" crossorigin src="/assets/index-DMnxr3ac.js"></script>
@@ -8,7 +9,140 @@
8
  </head>
9
  <body>
10
  <div id="root"></div>
11
- <!-- This is a replit script which adds a banner on the top of the page when opened in development mode outside the replit environment -->
12
- <script type="text/javascript" src="https://replit.com/public/js/replit-dev-banner.js"></script>
13
  </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  </html>
 
1
  <!DOCTYPE html>
2
+
3
  <html lang="en">
4
+ <!-- <head>
5
  <meta charset="UTF-8" />
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1" />
7
  <script type="module" crossorigin src="/assets/index-DMnxr3ac.js"></script>
 
9
  </head>
10
  <body>
11
  <div id="root"></div>
 
 
12
  </body>
13
+ </html>
14
+ -->
15
+ <head>
16
+ <meta charset="UTF-8">
17
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
18
+ <title>Server Offline - Service Temporarily Unavailable</title>
19
+ <style>
20
+ * {
21
+ margin: 0;
22
+ padding: 0;
23
+ box-sizing: border-box;
24
+ }
25
+
26
+ body {
27
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
28
+ background-color: #ffffff;
29
+ color: #333333;
30
+ line-height: 1.6;
31
+ min-height: 100vh;
32
+ display: flex;
33
+ align-items: center;
34
+ justify-content: center;
35
+ padding: 20px;
36
+ }
37
+
38
+ .container {
39
+ text-align: center;
40
+ max-width: 600px;
41
+ width: 100%;
42
+ }
43
+
44
+ .icon {
45
+ font-size: 4rem;
46
+ margin-bottom: 2rem;
47
+ color: #666666;
48
+ }
49
+
50
+ h1 {
51
+ font-size: 2.5rem;
52
+ font-weight: 300;
53
+ margin-bottom: 1rem;
54
+ color: #333333;
55
+ }
56
+
57
+ h2 {
58
+ font-size: 1.5rem;
59
+ font-weight: 400;
60
+ margin-bottom: 2rem;
61
+ color: #666666;
62
+ }
63
+
64
+ p {
65
+ font-size: 1.1rem;
66
+ margin-bottom: 1.5rem;
67
+ color: #666666;
68
+ }
69
+
70
+ .status-code {
71
+ font-size: 1rem;
72
+ color: #999999;
73
+ margin-top: 2rem;
74
+ font-family: 'Courier New', monospace;
75
+ }
76
+
77
+ .refresh-button {
78
+ background-color: #f8f9fa;
79
+ border: 1px solid #e9ecef;
80
+ color: #495057;
81
+ padding: 12px 24px;
82
+ font-size: 1rem;
83
+ border-radius: 4px;
84
+ cursor: pointer;
85
+ transition: all 0.2s ease;
86
+ text-decoration: none;
87
+ display: inline-block;
88
+ margin-top: 1rem;
89
+ }
90
+
91
+ .refresh-button:hover {
92
+ background-color: #e9ecef;
93
+ border-color: #dee2e6;
94
+ }
95
+
96
+ .refresh-button:active {
97
+ transform: translateY(1px);
98
+ }
99
+
100
+ @media (max-width: 768px) {
101
+ h1 {
102
+ font-size: 2rem;
103
+ }
104
+
105
+ h2 {
106
+ font-size: 1.2rem;
107
+ }
108
+
109
+ .icon {
110
+ font-size: 3rem;
111
+ }
112
+ }
113
+ </style>
114
+ </head>
115
+ <body>
116
+ <div class="container">
117
+ <div class="icon">🔧</div>
118
+ <h1>Server Offline</h1>
119
+ <h2>Service Temporarily Unavailable</h2>
120
+ <p>We're currently performing maintenance on our servers. Please check back in a few minutes.</p>
121
+ <p>If the problem persists, please contact our support team.</p>
122
+
123
+ <button class="refresh-button" onclick="window.location.reload()">
124
+ Refresh Page
125
+ </button>
126
+
127
+ <div class="status-code">
128
+ HTTP 503 - Service Unavailable
129
+ </div>
130
+ </div>
131
+
132
+ <script>
133
+ // Auto-refresh every 30 seconds
134
+ setTimeout(function() {
135
+ window.location.reload();
136
+ }, 30000);
137
+
138
+ // Add some simple interaction
139
+ document.querySelector('.refresh-button').addEventListener('click', function(e) {
140
+ e.preventDefault();
141
+ this.textContent = 'Refreshing...';
142
+ setTimeout(function() {
143
+ window.location.reload();
144
+ }, 500);
145
+ });
146
+ </script>
147
+ </body>
148
  </html>