-
Notifications
You must be signed in to change notification settings - Fork 1
/
Contact.html
177 lines (156 loc) · 5.66 KB
/
Contact.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us - Skill Route</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<style>
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
header {
width: 100%;
background-color: #2B3035;
color: white;
/* border: 3px solid bisque; */
display: grid;
grid-template-columns: [l]1fr [s]2fr [h]1fr;
align-items: center;
padding: 0.8%;
}
hr {
margin: 0;
padding: 0;
height: 3px;
background-color: #0B5ED7;
width: 100%;
border: 0px;
}
header .logo {
grid-area: l;
}
header .logo img {
height: 5vh;
margin: 0%;
padding: 0;
mix-blend-mode: lighten;
}
header .home {
grid-area: h;
justify-self: end;
}
header .home a {
text-decoration: none;
color: white;
font-size: larger;
}
header .home a:hover {
text-decoration: underline;
}
/* Additional CSS styles specific to the contact page */
body {
/* display: flex;
justify-content: center;
align-items: center;
min-height: 100vh; */
background: #EFF1F3;
}
.main {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10vw;
}
.main img {
mix-blend-mode: multiply;
width: 35vw;
}
.contact-container {
max-width: 800px;
padding: 50px;
background-color: #f9f9f9;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.form-control {
margin-bottom: 20px;
border: 2px solid #ddd;
transition: border-color 0.3s ease-in-out;
}
.form-control:focus {
border-color: #007bff;
}
.btn-primary {
background-color: #007bff;
border: none;
transition: background-color 0.3s ease-in-out;
}
.btn-primary:hover {
background-color: #0056b3;
transform: scale(1.1);
}
.success-message,
.error-message {
display: none;
margin-top: 20px;
font-weight: bold;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}
.animated {
animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
</style>
</head>
<body>
<header>
<div class="logo"><img src="../Pics/logo3-modified.jpg" alt="Logo"></div>
<div class="home">
<a href="index.html">
<img
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAATlJREFUSEvtlb0uBVEUhb8VOlEpPAAa0agkQoKEQi8anoD+vsKNmiegEQ8gEaEgEpVGIiEeQKESHVlmkjuTmbnzcwa3u6c8Z+31ndlZe44Y8NKA/QkG2J4EzgEDm5LeQi4XBLA9DtwBcz3TR2BR0kcTpBFgexS4BpYKZrfAqqSvOkgtwHZ8fgpsVZicAduS4raVribAIbDX0IYjSfutAbY7QLepx73zjqSDMm3pF9jeAY4DzRPZrqSTYk0fwPZalJALYKQl4DtK2oakq2xdDmB7HrgBxlqaJ/JPYFnSQ7KRAmxPAffAxC/Nk7L3aCAXJL3GG1nACzD9R/Ok/EnSbBHwDMz8E+BS0noOkDW2XTk4tVMr9YWmKqZDQNrJYYtyoVKLFMUPzErLmUizX/kvamkYJG98MoNcakQ/T6NkGSZCR0MAAAAASUVORK5CYII=" />
</a>
</div>
</header>
<hr>
<div class="main">
<div class="container contact-container">
<h1 class="text-center mb-4">Contact Us</h1>
<form action="https://example.com/send-message" method="POST">
<div class="mb-3">
<label for="fullName" class="form-label">Full Name</label>
<input type="text" class="form-control" id="fullName" name="fullName" required>
</div>
<div class="mb-3">
<label for="email" class="form-label">Email</label>
<input type="email" class="form-control" id="email" name="email" required>
</div>
<div class="mb-3">
<label for="message" class="form-label">Message</label>
<textarea class="form-control" id="message" name="message" rows="5" required></textarea>
</div>
<div class="d-grid gap-2 d-md-flex justify-content-md-between">
<button type="submit" class="btn btn-primary">Submit</button>
<a href="Index.html" class="btn btn-secondary">Home</a>
</div>
</form>
<div class="success-message text-center animated" id="successMessage">Message sent successfully!</div>
<div class="error-message text-center animated" id="errorMessage">Failed to send message. Please try again
later.</div>
</div>
</div>
</body>
</html>