Spaces:
Running
Running
Delete home.html
Browse files
home.html
DELETED
|
@@ -1,134 +0,0 @@
|
|
| 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">
|
| 6 |
-
<title>AI Quiz Game</title>
|
| 7 |
-
|
| 8 |
-
<style>
|
| 9 |
-
*{
|
| 10 |
-
margin:0;
|
| 11 |
-
padding:0;
|
| 12 |
-
box-sizing:border-box;
|
| 13 |
-
font-family: 'Segoe UI', sans-serif;
|
| 14 |
-
}
|
| 15 |
-
|
| 16 |
-
body{
|
| 17 |
-
height:100vh;
|
| 18 |
-
display:flex;
|
| 19 |
-
justify-content:center;
|
| 20 |
-
align-items:center;
|
| 21 |
-
background: linear-gradient(-45deg, #1e3c72, #2a5298, #6a11cb, #2575fc);
|
| 22 |
-
background-size: 400% 400%;
|
| 23 |
-
animation: gradientMove 10s ease infinite;
|
| 24 |
-
}
|
| 25 |
-
|
| 26 |
-
@keyframes gradientMove{
|
| 27 |
-
0%{background-position:0% 50%;}
|
| 28 |
-
50%{background-position:100% 50%;}
|
| 29 |
-
100%{background-position:0% 50%;}
|
| 30 |
-
}
|
| 31 |
-
|
| 32 |
-
.container{
|
| 33 |
-
background: rgba(255,255,255,0.1);
|
| 34 |
-
padding:40px;
|
| 35 |
-
width:350px;
|
| 36 |
-
border-radius:20px;
|
| 37 |
-
backdrop-filter: blur(15px);
|
| 38 |
-
text-align:center;
|
| 39 |
-
color:white;
|
| 40 |
-
box-shadow: 0 15px 35px rgba(0,0,0,0.4);
|
| 41 |
-
transition: 0.3s ease;
|
| 42 |
-
}
|
| 43 |
-
|
| 44 |
-
.container:hover{
|
| 45 |
-
transform: translateY(-5px);
|
| 46 |
-
}
|
| 47 |
-
|
| 48 |
-
h1{
|
| 49 |
-
margin-bottom:30px;
|
| 50 |
-
font-size:28px;
|
| 51 |
-
}
|
| 52 |
-
|
| 53 |
-
button{
|
| 54 |
-
width:100%;
|
| 55 |
-
padding:12px;
|
| 56 |
-
margin:10px 0;
|
| 57 |
-
border:none;
|
| 58 |
-
border-radius:30px;
|
| 59 |
-
font-size:16px;
|
| 60 |
-
cursor:pointer;
|
| 61 |
-
transition:0.3s;
|
| 62 |
-
font-weight:600;
|
| 63 |
-
}
|
| 64 |
-
|
| 65 |
-
.login-btn{
|
| 66 |
-
background:#00c6ff;
|
| 67 |
-
color:white;
|
| 68 |
-
}
|
| 69 |
-
|
| 70 |
-
.login-btn:hover{
|
| 71 |
-
background:#0096c7;
|
| 72 |
-
transform: scale(1.05);
|
| 73 |
-
}
|
| 74 |
-
|
| 75 |
-
.register-btn{
|
| 76 |
-
background:#7b2ff7;
|
| 77 |
-
color:white;
|
| 78 |
-
}
|
| 79 |
-
|
| 80 |
-
.register-btn:hover{
|
| 81 |
-
background:#5f0ee3;
|
| 82 |
-
transform: scale(1.05);
|
| 83 |
-
}
|
| 84 |
-
|
| 85 |
-
.guest-btn{
|
| 86 |
-
background:#00f260;
|
| 87 |
-
color:white;
|
| 88 |
-
}
|
| 89 |
-
|
| 90 |
-
.guest-btn:hover{
|
| 91 |
-
background:#00b341;
|
| 92 |
-
transform: scale(1.05);
|
| 93 |
-
}
|
| 94 |
-
|
| 95 |
-
.footer{
|
| 96 |
-
margin-top:20px;
|
| 97 |
-
font-size:13px;
|
| 98 |
-
opacity:0.8;
|
| 99 |
-
}
|
| 100 |
-
</style>
|
| 101 |
-
</head>
|
| 102 |
-
|
| 103 |
-
<body>
|
| 104 |
-
|
| 105 |
-
<div class="container">
|
| 106 |
-
<h1>๐ฎ AI Quiz Game</h1>
|
| 107 |
-
|
| 108 |
-
<button class="login-btn" onclick="goLogin()">๐ Login (Online Mode)</button>
|
| 109 |
-
<button class="register-btn" onclick="goRegister()">๐ Register</button>
|
| 110 |
-
<button class="guest-btn" onclick="guestMode()">๐ค Continue as Guest</button>
|
| 111 |
-
|
| 112 |
-
<div class="footer">
|
| 113 |
-
Play. Compete. Win.
|
| 114 |
-
</div>
|
| 115 |
-
</div>
|
| 116 |
-
|
| 117 |
-
<script>
|
| 118 |
-
function goLogin(){
|
| 119 |
-
window.location.href = "login.html";
|
| 120 |
-
}
|
| 121 |
-
|
| 122 |
-
function goRegister(){
|
| 123 |
-
window.location.href = "register.html";
|
| 124 |
-
}
|
| 125 |
-
|
| 126 |
-
function guestMode(){
|
| 127 |
-
localStorage.setItem("mode","offline");
|
| 128 |
-
localStorage.setItem("username","Guest");
|
| 129 |
-
window.location.href = "game.html";
|
| 130 |
-
}
|
| 131 |
-
</script>
|
| 132 |
-
|
| 133 |
-
</body>
|
| 134 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|