-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoffline.html
96 lines (77 loc) · 2.77 KB
/
offline.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>Offline Priflix</title>
<link rel="stylesheet" href="/css/content-page.css" />
<link rel="stylesheet" href="/css/loader.css" />
<link rel="shortcut icon" href="/logo.jpg" type="image/x-icon" />
<!-- Font Awesome for icons -->
<link
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined"
rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" />
<!-- Google Fonts for Netflix-like font -->
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@900&display=swap" rel="stylesheet">
<script src="/js/lottie.js"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Oswald:[email protected]&display=swap" rel="stylesheet">
</head>
<body>
<style>
* {
-webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;
-webkit-focus-ring-color: rgba(255, 255, 255, 0) !important;
outline: none !important;
}
.animation-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
}
#no-internet-heading {
font-size: 2.5rem; /* Larger font size */
font-family:"Oswald" ,Verdana, Geneva, Tahoma, sans-serif;
font-weight: 500; /* Bold font weight */
font-optical-sizing: outo;
color: #DC1A28; /* Netflix red */
margin-bottom: 20px;
text-transform: uppercase; /* Netflix-style all caps */
}
#lottie-animation {
width: 300px;
height: 300px;
}
</style>
<div class="loader-overlay">
<div class="progress-bar"></div>
<div class="loader"></div>
</div>
<div id="header"></div>
<main>
<div class="animation-container">
<!-- No Internet Heading -->
<div id="no-internet-heading">No Internet !</div>
<!-- The Lottie animation container -->
<div id="lottie-animation"></div>
</div>
</main>
<div id="footer"></div>
<script>
// Initialize the Lottie animation
lottie.loadAnimation({
container: document.getElementById('lottie-animation'), // The ID of the container
renderer: 'svg', // Renderer type: 'svg', 'canvas', or 'html'
loop: true, // Loop the animation
autoplay: true, // Start playing automatically
path: '/Animation - 1737890084161.json' // Path to the Lottie JSON file
});
</script>
<script src="/js/script.js"></script>
</body>
</html>