git
This commit is contained in:
50
public/offline.html
Normal file
50
public/offline.html
Normal file
@@ -0,0 +1,50 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fa" dir="rtl">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>مدستاگرام</title>
|
||||
<style>
|
||||
:root { color-scheme: light dark; }
|
||||
* { box-sizing: border-box; }
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100dvh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 20px;
|
||||
padding: 24px;
|
||||
text-align: center;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
|
||||
background: #ffffff;
|
||||
color: #111111;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body { background: #0e0e0e; color: #f5f5f5; }
|
||||
}
|
||||
img { width: 88px; height: 88px; border-radius: 22px; }
|
||||
h1 { margin: 0; font-size: 18px; font-weight: 700; }
|
||||
p { margin: 0; font-size: 14px; opacity: 0.65; max-width: 320px; line-height: 1.7; }
|
||||
button {
|
||||
margin-top: 8px;
|
||||
border: none;
|
||||
border-radius: 999px;
|
||||
padding: 12px 32px;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
color: #ffffff;
|
||||
background: #FF107D;
|
||||
cursor: pointer;
|
||||
}
|
||||
button:active { opacity: 0.85; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<img src="/images/icons/192x192.png" alt="مدستاگرام" />
|
||||
<h1>اتصال برقرار نمیباشد</h1>
|
||||
<p>به نظر میرسد به اینترنت وصل نیستید. اتصال خود را بررسی کنید و دوباره تلاش کنید.</p>
|
||||
<button onclick="location.reload()">تلاش دوباره</button>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user