|
<!DOCTYPE html> |
|
<html lang="en"> |
|
|
|
<head> |
|
|
|
<meta charset="UTF-8"> |
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
<meta name="theme-color" content="#0A7B79" /> |
|
|
|
|
|
<link rel="icon" type="image/png" href="assets/images/sanket-logo.png"> |
|
<title>Sanket - Home</title> |
|
|
|
|
|
<style> |
|
#loader { |
|
width: 70px; |
|
height: 70px; |
|
animation: spin 1s linear infinite; |
|
} |
|
|
|
@keyframes spin { |
|
100% { |
|
transform: rotate(360deg); |
|
} |
|
} |
|
|
|
.center { |
|
position: absolute; |
|
top: 0; |
|
bottom: 0; |
|
left: 0; |
|
right: 0; |
|
margin: auto; |
|
} |
|
</style> |
|
<script> |
|
|
|
|
|
document.onreadystatechange = function() { |
|
if (document.readyState !== "complete") { |
|
document.querySelector( |
|
"body").style.visibility = "hidden"; |
|
document.querySelector( |
|
"#loader").style.visibility = "visible"; |
|
} else { |
|
document.querySelector( |
|
"#loader").style.display = "none"; |
|
document.querySelector( |
|
"body").style.visibility = "visible"; |
|
} |
|
}; |
|
</script> |
|
|
|
<link rel="stylesheet" href="style.css"> |
|
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@48,400,1,0" /> |
|
|
|
|
|
<link rel="manifest" href="manifest.webmanifest" /> |
|
<script> |
|
if ("serviceWorker" in navigator) { |
|
window.addEventListener("load", () => { |
|
navigator.serviceWorker && navigator.serviceWorker.register("sw.js"); |
|
}); |
|
} |
|
</script> |
|
|
|
</head> |
|
|
|
<body> |
|
|
|
<img src="assets/images/sanket-logo.png" id="loader" class="center" alt="loader" srcset=""> |
|
|
|
<nav> |
|
<div class="nav-cointainer"> |
|
<div class="nav-left-content-wrapper"> |
|
<h2>Welcome</h3> |
|
<h4>@Key2Innovation</h4> |
|
<div id="user-name-underline"></div> |
|
</div> |
|
<div class="nav-right-content-wrapper"> |
|
<a href="/"> |
|
<img id="user-pfp" src="assets/images/demo-pfp.png"> |
|
<span class="notification-badge"></span> |
|
</a> |
|
</div> |
|
</div> |
|
</nav> |
|
|
|
<div class="sanket-heading-cointainer"> |
|
<h1 id="heading">SANKET</h1> |
|
<span id="underline"></span> |
|
<p id="sub-heading">The Voice Of The Unheard</p> |
|
</div> |
|
|
|
<div class="home-options-wrapper"> |
|
<div class="row-1"> |
|
<button class="option-card" id="translate-card"> |
|
<img src="assets/images/translate-option-btn-img.png" alt="Translate"> |
|
</button> |
|
<button class="option-card" id="learn-card"> |
|
<img src="assets/images/learn-option-btn-img.png" alt="Learn"> |
|
</button> |
|
</div> |
|
<div class="row-2"> |
|
<button class="option-card" id="contribute-card"> |
|
<img src="assets/images/contribute-option-btn-img.png" alt="Contribute"> |
|
</button> |
|
<button class="option-card" id="contact-us-card"> |
|
<img src="assets/images/contact-us-option-btn-img.png" alt="Contact Us"> |
|
</button> |
|
</div> |
|
</div> |
|
|
|
<div class="bottom-nav-bar"> |
|
<button class="nav-btn active-nav-btn" id="nav-home"> |
|
<span class="material-symbols-rounded">Home</span> |
|
<p>Home</p> |
|
</button> |
|
<button class="nav-btn" id="nav-translate"> |
|
<span class="material-symbols-rounded">translate</span> |
|
<p>Translate</p> |
|
</button> |
|
<button class="nav-btn" id="nav-settings"> |
|
<span class="material-symbols-rounded">settings_suggest</span> |
|
<p>Settings</p> |
|
</button> |
|
</div> |
|
<script src="app.js"></script> |
|
</body> |
|
|
|
</html> |
|
|