You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Kernel0/contact.html

150 lines
3.2 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us</title>
<!-- Font Awesome for Icons -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}
header {
background-color: #333;
color: white;
padding: 15px;
text-align: center;
}
.container {
width: 80%;
margin: 0 auto;
padding: 30px 0;
}
.contact-info, .contact-form, .map {
margin-bottom: 30px;
}
h2 {
text-align: center;
color: #333;
}
.contact-info {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.contact-info div {
flex: 1;
margin: 10px;
padding: 20px;
background-color: white;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.contact-info div i {
font-size: 24px;
margin-bottom: 10px;
}
.contact-info div p {
margin: 5px 0;
}
.contact-form {
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.contact-form input, .contact-form textarea {
width: 100%;
padding: 10px;
margin: 10px 0;
border-radius: 5px;
border: 1px solid #ccc;
}
.contact-form button {
padding: 10px 20px;
background-color: #333;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}
.contact-form button:hover {
background-color: #ffcc00;
}
.map {
width: 100%;
height: 400px;
background-image: url('https://via.placeholder.com/800x400?text=Map+Placeholder');
background-size: cover;
border-radius: 8px;
}
</style>
</head>
<body>
<header>
<h1>Contact Us</h1>
</header>
<div class="container">
<!-- Contact Info Section -->
<div class="contact-info">
<div>
<i class="fas fa-phone-alt"></i>
<p><strong>Phone:</strong> +977 234 567 890</p>
</div>
<div>
<i class="fas fa-envelope"></i>
<p><strong>Email:</strong> greentech@domain.com</p>
</div>
<div>
<i class="fas fa-map-marker-alt"></i>
<p><strong>Address:</strong> Maitidevi, Kathmandu, Nepal</p>
</div>
</div>
<!-- Contact Form Section -->
<div class="contact-form">
<h2>Get in Touch</h2>
<form action="submit_contact_form.html" method="POST">
<label for="name">Your Name</label>
<input type="text" id="name" name="name" required>
<label for="email">Your Email</label>
<input type="email" id="email" name="email" required>
<label for="message">Your Message</label>
<textarea id="message" name="message" rows="5" required></textarea>
<button type="submit">Send Message</button>
</form>
</div>
<!-- Map Section -->
<div class="map">
<!-- Placeholder image as a map -->
<p style="color: white; text-align: center; padding-top: 180px;">Map Location (Placeholder)</p>
</div>
</div>
</body>
</html>