-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.html
180 lines (152 loc) · 4.89 KB
/
signup.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
<?php
require_once 'config.php';
session_start();
// Check if user is already logged in
if (isset($_SESSION['user_id'])) {
header("Location: index.php");
}
?>
<!-- Google Web Fonts -->
<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=Heebo:wght@400;500;600&family=Nunito:wght@600;700;800&display=swap"
rel="stylesheet">
<!-- Icon Font Stylesheet -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css" rel="stylesheet">
<!-- Libraries Stylesheet -->
<link href="lib/animate/animate.min.css" rel="stylesheet">
<link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
<link href="lib/tempusdominus/css/tempusdominus-bootstrap-4.min.css" rel="stylesheet" />
<!-- Customized Bootstrap Stylesheet -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Template Stylesheet -->
<link href="css/style.css" rel="stylesheet">
<style>
body {
font-family: 'Arial', sans-serif;
background-color: #f8f9fa;
}
/* Navbar styles */
.navbar {
color: #ffffff;
padding: 1rem;
}
/* Signup form styles */
.signup-form {
background-color: #ffffff;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
margin-top: 50px;
padding: 20px;
}
.signup-form h4 {
color: #007bff;
}
.signup-form p {
color: #6c757d;
}
/* Form styles */
form {
max-width: 400px;
margin: 0 auto;
}
.form-group {
margin-bottom: 1rem;
}
.form-label {
margin-bottom: 0.5rem;
display: block; /* Adjusted to display the label as a block element */
}
.form-control {
width: 100%;
padding: 8px;
border-radius: 5px;
margin-bottom: 1rem;
}
/* Submit button styles */
button {
background-color: #df3908;
border: none;
border-radius: 5px;
padding: 10px 20px;
color: #ffffff;
cursor: pointer;
margin: 10px auto;
}
button:hover {
background-color: orange;
}
/* Footer styles */
.footer {
padding: 3rem 1.5rem;
color: #ffffff;
}
.footer a {
color: #ffffff;
}
.signup-link a {
color: #007bff;
}
/* Back to Top button styles */
.back-to-top {
position: fixed;
bottom: 20px;
right: 20px;
background-color: orange;
color: #ffffff;
border: none;
border-radius: 50%;
padding: 10px 15px;
font-size: 20px;
}
</style>
</head>
<body>
<!-- Navbar & Hero Start -->
<div class="container-fluid position-relative p-0">
<nav class="navbar navbar-expand-lg navbar-light px-4 px-lg-5 py-3 py-lg-0">
<a href="" class="navbar-brand p-0">
<h1 class="text-primary m-0">
<img src="./img/logo.png" alt="cant load" href="#index.html">
TravelKaro
</h1>
</a>
</nav>
</div>
<!-- Navbar & Hero End -->
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6 col-lg-5">
<div class="signup-form bg-white p-5">
<h4 class="text-primary">Sign Up</h4>
<p class="text-secondary mb-4">Create your account</p>
<form action="process-signup.php" method="post">
<label for="name">Name:</label>
<input type="text" name="name" id="name" required>
<br>
<label for="email">Email:</label>
<input type="email" name="email" id="email" required>
<br>
<label for="password">Password:</label>
<input type="password" name="password" id="password" required>
<br>
<button type="submit">Signup</button>
</form>
<p class="signup-link">Already have an account? <a href="login.html">Login here</a></p>
</div>
</div>
</div>
</div>
<!-- Footer code from your original HTML file -->
</div>
<!-- Footer End -->
<!-- JavaScript Libraries -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.min.js"></script>
<!-- Add the required JavaScript files here -->
</body>
</html>