forked from ronitk18/Dharohar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCreateAccount.html
More file actions
252 lines (225 loc) · 10.3 KB
/
Copy pathCreateAccount.html
File metadata and controls
252 lines (225 loc) · 10.3 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Create Account - Dharohar</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css"
integrity="sha384-tViUnnbYAV00FLIhhi3v/dWt3Jxw4gZQcNoSCxCIFNJVCx7/D55/wXsrNIRANwdD" crossorigin="anonymous">
<style>
body {
background-color: #2b306f;
color: #ffeaa1;
font-family: 'Cinzel', serif;
margin: 0;
padding: 0;
overflow-x: hidden;
}
header {
margin-bottom: 20px;
background-color: #2b306f;
border-bottom: 3px solid #ffeaa1;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
footer {
position: relative;
bottom: 0;
width: 100%;
background-color: #2b306f;
color: #ffeaa1;
padding: 10px 0;
}
.form-container {
background-color: #ffffff;
color: #2b306f;
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
animation: fadeIn 1.5s ease-in-out;
}
.form-container:hover {
transform: translateY(-10px);
transition: transform 0.3s;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.btn-social {
margin: 5px 10px 0;
transition: transform 0.3s;
}
.btn-social:hover {
transform: scale(1.1);
}
.carousel-inner img {
transition: transform 0.5s;
}
.carousel-inner img:hover {
transform: scale(1.1) rotate(2deg);
}
.nav-link {
color: #ffeaa1;
font-weight: bold;
transition: color 0.3s ease, transform 0.3s ease;
}
.nav-link:hover {
color: #ffffff;
transform: scale(1.1);
}
.api-images img {
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
button {
border-radius: 5px;
}
</style>
<link href="https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<header class="bg-dark text-white p-3">
<div class="container">
<h1 class="h3">DHAROHAR</h1>
<nav class="nav">
<a class="nav-link text-white" href="#">HOME</a>
<a class="nav-link text-white" href="#">SAREE</a>
<a class="nav-link text-white" href="#">BRIDAL</a>
<a class="nav-link text-white" href="#">RENTAL</a>
<a class="nav-link text-white" href="#">LOGIN</a>
</nav>
</div>
</header>
<main class="container mt-5">
<div class="row container-fluid">
<!-- Form Section -->
<div class="col-md-6">
<div class="form-container">
<h2 class="text-center mb-4">Create Your Account</h2>
<form id="create-account-form">
<div class="form-group">
<label for="username">Username</label>
<input type="text" class="form-control" id="username" placeholder="Choose a username"
required>
</div>
<div class="form-group">
<label for="email">Email Address</label>
<input type="email" class="form-control" id="email" placeholder="Enter your email" required>
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control" id="password" placeholder="Create a password"
required>
</div>
<div class="form-group">
<label for="confirm-password">Confirm Password</label>
<input type="password" class="form-control" id="confirm-password"
placeholder="Confirm your password" required>
</div>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="terms" required>
<label class="form-check-label" for="terms">I agree to the Terms and Conditions</label>
</div>
<button type="submit" class="btn btn-primary btn-block mt-3">Create Account</button>
<button type="button" class="btn btn-secondary btn-block mt-2"
onclick="window.location.href='login.html'">Cancel</button>
</form>
<div class="text-center mt-4">
<p>Or sign up with:</p>
<button class="btn btn-outline-danger btn-social">Google</button>
<button class="btn btn-outline-primary btn-social">Facebook</button>
<button class="btn btn-outline-dark btn-social">Instagram</button>
</div>
</div>
</div>
<!-- API images Section -->
<div class="col-md-6">
<h3 class="text-center mb-4">PREMIUM SAREE</h3>
<div class="api images">
<div id="carouselExampleIndicators" class="carousel slide">
<div class="carousel-indicators">
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0"
class="active" aria-current="true" aria-label="Slide 1"></button>
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1"
aria-label="Slide 2"></button>
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="2"
aria-label="Slide 3"></button>
</div>
<div class="carousel-inner img-fluid" style="height: 600px;">
<div class="carousel-item active">
<img src="./images/banarasi-sarees1.jpg" class="d-block w-100" alt="Banarasi saree">
</div>
<div class="carousel-item">
<img src="images/607cb46447b40300ff372a9811d7d1da.jpg" class="d-block w-100 h-10 " alt="Saree">
</div>
<div class="carousel-item">
<img src="./images/pure-kanjeevaram-silk-maharani-pastel-pink-765953-500x500.webp"
class="d-block w-100" alt="Kanjeevaram saree">
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleIndicators"
data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleIndicators"
data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</div>
</div>
</div>
</main>
<footer class="bg-dark text-white text-center p-3 mt-5">
<a class="text-white" href="#">Privacy Policy</a> |
<a class="text-white" href="#">Help Center</a> |
<a class="text-white" href="#">Contact Us</a>
</footer>
<script>
document.addEventListener('DOMContentLoaded', () => {
const form = document.getElementById('create-account-form');
form.addEventListener('submit', (e) => {
e.preventDefault();
alert('Form submitted successfully!');
});
const carousel = document.querySelector('.carousel');
if (carousel) {
carousel.addEventListener('slide.bs.carousel', (e) => {
console.log(Slide changed to: ${e.relatedTarget});
});
}
// Dynamic button effect
document.querySelectorAll('button').forEach(button => {
button.addEventListener('mouseover', () => {
button.style.transform = 'scale(1.1)';
});
button.addEventListener('mouseout', () => {
button.style.transform = 'scale(1)';
});
});
// 3D animation effect on form
const formContainer = document.querySelector('.form-container');
formContainer.addEventListener('mousemove', (e) => {
const { offsetX, offsetY } = e;
const xPercent = (offsetX / formContainer.offsetWidth) - 0.5;
const yPercent = (offsetY / formContainer.offsetHeight) - 0.5;
formContainer.style.transform = rotateX(${yPercent * 10}deg) rotateY(${xPercent * 10}deg);
});
formContainer.addEventListener('mouseleave', () => {
formContainer.style.transform = 'rotateX(0) rotateY(0)';
});
});
</script>
</body>
</html>