forked from Ankit-11525/e-commerce_redstore.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
account.html
171 lines (161 loc) · 6.94 KB
/
account.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
<!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">
<title>Account Details </title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap"
rel="stylesheet">
<link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="icon" type="image/x-icon" href="images/logo-white.png">
</head>
<body>
<div class="container">
<div class="navbar">
<div class="logo">
<a href="index.html">
<img src="images/logo.png" width="125px">
</a>
</div>
<nav>
<ul id="MenuItems">
<li><a href="index.html">Home</a></li>
<li><a href="allproducts.html">Products</a></li>
<li><a href="">About</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="account.html">Account</a></li>
</ul>
</nav>
<a href="cart.html">
<img src="images/cart.png" width="30px" height="30px">
</a>
<div class="toggle">
<i class="fa-solid fa-moon toggle-icon"></i>
<i class="fa-solid fa-sun toggle-icon"></i>
<div class="toggle-ball"></div>
</div>
<img src="images/menu.png" class="menu-icon" onclick="menutoggle()">
</div>
</div>
<!-- -----------Account-Page------------------->
<div class="account-page">
<div class="container" data-aos="fade-up">
<div class="row">
<div class="col-2">
<img src="images/image1.png" width="100%">
</div>
<div class="col-2">
<div class="form-container">
<div class="form-btn">
<span onclick="login()">Login</span>
<span onclick="register()">Register</span>
<hr id="Indicator">
</div>
<form id="LoginForm">
<input class="input-field" type="text" placeholder="Username">
<input class="input-field" type="password" placeholder="Password">
<button type="submit" class="btn">Login</button>
<a href="">Forgot Password ?</a>
</form>
<form id="RegForm">
<input class="input-field" type="text" placeholder="Username">
<input class="input-field" type="email" placeholder="Email">
<input class="input-field" type="password" placeholder="Password">
<button type="submit" class="btn">Register</button>
</form>
</div>
</div>
</div>
</div>
</div>
<!------footer--------->
<div class="footer">
<div class="container" data-aos="fade-up">
<div class="row">
<div class="footer-col-1">
<h3>Download Our App</h3>
<p>Download App for Android and ios mobile phone</p>
<div class="app-logo">
<img src="images/play-store.png" class="footer-img">
<img src="images/app-store.png" class="footer-img">
</div>
</div>
<div class="footer-col-2">
<img src="images/logo-white.png">
<p>Our Purpose is to Sustainably make the Pleasure and Benefits of Sports Accessible to the many</p>
</div>
<div class="footer-col-3">
<h3>Useful Links</h3>
<ul>
<li>Coupons</li>
<li>Blog Post</li>
<li>Return Policy</li>
<li>Join Affiliate</li>
</ul>
</div>
<div class="footer-col-4">
<h3>Follow Us</h3>
<div class="socialbtns" align="center">
<ul>
<li><a href="#" class="fa fa-lg fa-facebook"></a>Facebook</li><br>
<li><a href="#" class="fa fa-lg fa-twitter"></a>Twitter</li><br>
<li><a href="#" class="fa fa-lg fa-instagram"></a>Instagram</li><br>
<li><a href="#" class="fa fa-lg fa-youtube"></a>Youtube</li><br>
</ul>
</div>
</div>
</div>
<hr>
<p class="copyright">Copyright ©
<script type="text/javascript"> document.write(new Date().getFullYear());</script> - RedStore
</p>
</div>
</div>
<!-- --------------JS for toggle menu--------- -->
<script>
var MenuItems = document.getElementById("MenuItems");
MenuItems.style.maxHeight = "0px";
function menutoggle() {
if (MenuItems.style.maxHeight == "0px") {
MenuItems.style.maxHeight = "200px";
}
else {
MenuItems.style.maxHeight = "0px";
}
}
</script>
<!-- ----------------JS for toggle form --------- -->
<script>
var LoginForm = document.getElementById("LoginForm");
var RegForm = document.getElementById("RegForm");
var Indicator = document.getElementById("Indicator");
function register() {
RegForm.style.transform = "translateX(0px)";
LoginForm.style.transform = "translateX(0px)";
Indicator.style.transform = "translateX(100px)";
}
function login() {
RegForm.style.transform = "translateX(300px)";
LoginForm.style.transform = "translateX(300px)";
Indicator.style.transform = "translateX(0px)";
}
const ball = document.querySelector(".toggle-ball");
const items = document.querySelectorAll(".row,body,.container,.menu-icon,.navbar,.header,.toggle");
ball.addEventListener("click",()=>{
items.forEach(item=>{
item.classList.toggle("active")
})
ball.classList.toggle("active")
})
</script>
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
<script>
AOS.init();
</script>
</body>
</html>