Skip to content

Commit

Permalink
Added offline.html πŸ“΄πŸŒ
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranav-yadav authored Oct 23, 2021
1 parent 0744081 commit 92cce2e
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions public/offline.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather App</title>
<style type="text/css">
html {
height: 100%;
}

body {
height: 100%;
margin: 0;
background: #0a1f44;
display: flex;
align-items: center;
text-align: center;
justify-content: center;
}

.city {
align-items: center;
width: 80%;
display: flex;
justify-content: center;
flex-direction: column;
padding: 40px 8%;
border-radius: 20px;
background: #fff;
}

.city-name {
font-size: 2em;
}
</style>
</head>

<body>
<div class="city">
<h2 class="city-name">
<span>Please go online to check the current weather.</span>
</h2>
</div>
</body>

</html>

0 comments on commit 92cce2e

Please sign in to comment.