-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
135 lines (120 loc) · 4.62 KB
/
contact.html
File metadata and controls
135 lines (120 loc) · 4.62 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact</title>
<link rel="icon" type="images/x-icon" href="images/logo.png">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@emailjs/browser@4/dist/email.min.js"></script>
<script type="text/javascript">
(function(){
emailjs.init({
publicKey: "q1pyPLnEhzty-3leN",
});
})();
</script>
<script src="email.js"></script>
<style>
/* Input and Submit Button Styles */
input[type=text], select, textarea {
width: 100%;
padding: 12px;
border: 1px solid #d5d5d5;
border-radius: 4px;
box-sizing: border-box;
margin-top: 6px;
margin-bottom: 16px;
resize: vertical;
}
input[type=submit] {
background-color: black;
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}
input[type=submit]:hover {
background-color: #333;
}
/* Container Styles */
.container {
border-radius: 10px;
background-color: #A7A1A1;
padding: 25px;
margin: 20px auto;
max-width: 600px;
}
/* Centering Text */
h1 {
text-align: center;
margin-top: 20px;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
h1 {
font-size: 1.8rem;
}
.container {
padding: 15px;
margin: 10px;
}
input[type=submit] {
font-size: 1rem;
padding: 10px 15px;
}
}
</style>
</head>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="index.html" style="font-size: 30px;">Paragon Autonomous</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ml-auto">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
About Us
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="meet-team.html">Meet The Team</a>
<a class="dropdown-item" href="what-we-do.html">What We Do</a>
</div>
</li>
</li>
<li class="nav-item">
<a class="nav-link" href="impact.html">Impact</a>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.html">Contact Us</a>
</li>
</ul>
</div>
</nav>
<!-- Main Wrapper -->
<div class="wrapper" style="margin-bottom: 5px;">
<h1>Contact Us</h1>
<div class="container">
<form onsubmit="sendEmail()">
<label>Full Name</label>
<input type="text" id="fname" name="fullname" placeholder="Your name..">
<label>Email</label>
<input type="text" id="mail" name="lastname" placeholder="Your Email..">
<label>Subject</label>
<textarea id="subject" name="subject" placeholder="Write something.." style="height: 150px"></textarea>
<input type="submit" value="Submit">
</form>
</div>
</div>
<!-- Footer -->
<footer class="text-center mt-4 p-3">
© 2024 Paragon Autonomous. All rights reserved.
</footer>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.4/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>