-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcontact.html
160 lines (142 loc) · 5.05 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="contact.css"> <!-- Add your styles -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<title>Contact Us | Space Explorers</title>
<style>
body {
background-color: #000d1f;
color: white;
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
overflow-x: hidden;
}
nav {
display: flex;
justify-content: center;
padding: 1rem 0;
}
.contact-header {
text-align: center;
padding: 0.5rem 0;
}
.contact-header h1 {
font-size: 3rem;
}
.contact-header p {
font-size: 1.3rem;
}
.contact-form-section {
display: flex;
justify-content: center;
padding: 3rem 1rem;
}
.contact-form-container {
background-color: rgba(255, 255, 255, 0.1);
padding: 2rem;
border-radius: 8px;
box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
max-width: 600px;
width: 100%;
text-align: center; /* Center the icons and text inside the form container */
}
.form-box input, .form-box textarea {
width: 100%;
padding: 1rem;
margin-bottom: 1.5rem;
background-color: #0a1931;
color: white;
border: 1px solid #ffffff33;
border-radius: 5px;
font-size: 1rem;
}
.form-box button {
width: 100%;
padding: 1rem;
background-color: #01a9ac;
color: white;
font-size: 1.2rem;
border: none;
border-radius: 5px;
cursor: pointer;
}
.form-box button:hover {
background-color: #0196a0;
}
.contact-icons {
text-align: center;
margin: 2rem 0;
}
.contact-icons a {
margin: 0 1rem;
color: white;
font-size: 2.5rem; /* Increase icon size */
transition: transform 0.3s ease; /* Add a smooth hover effect */
}
.contact-icons a:hover {
color: #01a9ac;
transform: scale(1.2); /* Scale the icon on hover */
}
.footer {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
padding: 1rem;
background-color: #000d1f;
color: white;
}
</style>
</head>
<body>
<!-- Navigation Bar -->
<nav>
<a href="/"><img src="assets/images/bacground remove logo.png" alt="Space Logo" width="250"></a>
</nav>
<!-- Contact Header -->
<div class="contact-header">
<h1>Contact Us</h1>
<p>We would love to hear from you! Reach out to us for any space-related queries or collaborations.</p>
</div>
<!-- Contact Form Section -->
<section class="contact-form-section">
<div class="contact-form-container">
<form action="https://formspree.io/f/mbljryjl" method="POST">
<div class="form-box">
<input type="text" name="name" placeholder="Enter Your Name" required>
</div>
<div class="form-box">
<input type="email" name="email" placeholder="Enter Your Email" required>
</div>
<div class="form-box">
<input type="text" name="subject" placeholder="Enter Your Subject" required>
</div>
<div class="form-box">
<textarea name="message" placeholder="Your Message" required></textarea>
</div>
<div class="form-box">
<button type="submit">Send Message</button>
</div>
</form>
<!-- Contact Icons (Centered below the form) -->
<div class="contact-icons">
<a href="https://www.facebook.com/share/7QxoD7nyFJ79N38H/" target="_blank"><i class="fab fa-facebook"></i></a>
<a href="https://x.com/mourya200405?s=08" target="_blank"><i class="fab fa-twitter"></i></a>
<a href="https://www.instagram.com/shaswat9692" target="_blank"><i class="fab fa-instagram"></i></a>
<a href="https://www.linkedin.com/in/monishr608?utm_source=share&utm_campaign=share_via&utm_content=profile&utm_medium=android_app" target="_blank"><i class="fab fa-linkedin"></i></a>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<p>© 2024 Stardust Innovators. All Rights Reserved.</p>
</footer>
<!-- Link your JavaScript file -->
<script src="contact.js"></script>
</body>
</html>