forked from sakshimadne/Design-Discus_013
-
Notifications
You must be signed in to change notification settings - Fork 0
/
facebook-era4.html
301 lines (269 loc) · 7 KB
/
facebook-era4.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Facebook 2030</title>
<style>
body {
font-family: "Roboto", sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(to right, #141e30, #243b55);
color: #f0f0f0;
overflow-x: hidden;
}
.container {
width: 100%;
margin: 0 auto;
max-width: 1200px;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
.header {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 0;
background: rgba(0, 0, 0, 0.6);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
position: sticky;
top: 0;
z-index: 100;
}
.logo h1 {
font-size: 36px;
color: #00aaff;
margin-left: 50px;
font-weight: 700;
letter-spacing: 2px;
}
.logo span {
color: #00ff6a;
}
.login-box {
margin-right: 50px;
display: flex;
align-items: center;
}
.login-box form {
display: flex;
align-items: center;
}
.login-box input {
margin-right: 10px;
padding: 10px;
border: none;
border-radius: 25px;
background: #1e1e1e;
color: #fff;
outline: none;
font-size: 16px;
transition: all 0.3s ease;
}
.login-box input:focus {
box-shadow: 0 0 15px #00aaff;
}
.login-box button {
padding: 10px 20px;
background-color: #00aaff;
color: white;
border: none;
border-radius: 25px;
cursor: pointer;
font-size: 16px;
transition: all 0.3s ease;
}
.login-box button:hover {
background-color: #008fd4;
}
.content {
display: flex;
justify-content: space-between;
align-items: center;
padding: 50px 0;
width: 100%;
transition: all 0.3s ease;
}
.left-content {
width: 50%;
padding-left: 50px;
animation: fadeIn 1s ease-in-out;
}
.left-content h2 {
font-size: 32px;
margin-bottom: 30px;
font-weight: 300;
}
.hologram {
position: relative;
width: 300px;
height: 300px;
animation: rotateHologram 20s infinite linear;
}
.hologram img {
width: 100%;
filter: drop-shadow(0 0 15px #00aaff);
transform: perspective(500px) rotateX(45deg);
}
.right-content {
width: 40%;
background: rgba(0, 0, 0, 0.6);
padding: 30px;
border-radius: 12px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
animation: slideIn 1.5s ease-in-out;
}
.signup-box h2 {
color: #00aaff;
font-size: 28px;
margin-bottom: 10px;
}
.signup-box p {
color: #a0a0a0;
margin-bottom: 20px;
}
.signup-box input {
display: block;
width: 100%;
margin-bottom: 15px;
padding: 12px;
border: none;
border-radius: 25px;
background: #1e1e1e;
color: #fff;
font-size: 16px;
outline: none;
transition: all 0.3s ease;
}
.signup-box input:focus {
box-shadow: 0 0 15px #00ff6a;
}
.signup-box button {
width: 100%;
padding: 12px;
background-color: #00ff6a;
color: white;
border: none;
border-radius: 25px;
cursor: pointer;
font-size: 18px;
transition: all 0.3s ease;
}
.signup-box button:hover {
background-color: #00d455;
}
.footer {
text-align: center;
padding: 20px;
color: #999;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateX(50px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes rotateHologram {
0% {
transform: rotateY(0deg);
}
100% {
transform: rotateY(360deg);
}
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<div class="logo">
<h1>facebook<span>2030</span></h1>
</div>
<div class="login-box">
<form id="loginForm">
<input type="text" placeholder="Username or Email" id="email" />
<input type="password" placeholder="Password" id="password" />
<button type="submit">Log In</button>
</form>
</div>
</div>
<div class="content">
<div class="left-content">
<h2>Reconnect with the world in a new dimension.</h2>
<div class="hologram">
<img
src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRG2-0RBx5r4nAi7QpPD5PT7jj3PUsHI_E9fQ&s"
alt="Holographic connection"
id="hologramImage"
/>
</div>
</div>
<div class="right-content">
<div class="signup-box">
<h2>Join the Future</h2>
<p>Experience social media redefined.</p>
<form id="signupForm">
<input type="text" placeholder="First name" id="firstName" />
<input type="text" placeholder="Last name" id="lastName" />
<input
type="text"
placeholder="Mobile number or email"
id="mobileOrEmail"
/>
<input
type="password"
placeholder="Create a password"
id="newPassword"
/>
<button type="submit">Sign Up</button>
</form>
</div>
</div>
</div>
<div class="footer">
<p>Facebook 2030 © 2024 | MASAI</p>
</div>
</div>
<script>
document
.getElementById("loginForm")
.addEventListener("submit", function (event) {
event.preventDefault();
showHologramEffect("Logging in...");
});
document
.getElementById("signupForm")
.addEventListener("submit", function (event) {
event.preventDefault();
showHologramEffect("Creating account...");
});
function showHologramEffect(message) {
const hologramImage = document.getElementById("hologramImage");
hologramImage.src = "hologram_effect.png";
alert(message);
setTimeout(() => {
hologramImage.src = "hologram.png";
}, 2000);
}
</script>
</body>
</html>