Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added "Contact Us" Page and Redirect #1645

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added 7725176.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
126 changes: 126 additions & 0 deletions contact.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us Page</title>
</head>
<style>
.card {

width: 50%; /* Set a specific width */
margin: 10px auto; /* Center horizontally with automatic margins */
padding: 20px; /* Add padding */
margin-bottom: 70px;


border: 1px solid #ccc; /* Optional: Add a border */
border-radius: 8px; /* Optional: Add rounded corners */
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: Add shadow */

background-color: #c2c4c7;
}
.card-header {

color: #080808;
padding:1px 10px 1px 10px;
margin:1px 10px 6px 10px;

text-align: center;
width: 90%;
border-bottom: px solid #ddd;
border-radius: 6px;
}
.card-header h1 {

font-size: 40px;
}
.card-body {
display: flex;
justify-content: space-between; /* Form on the left and image on the right */
align-items: flex-start; /* Align content to the top */
background-color: #c2c4c7;
}

.form-section {
width: 50%; /* Width for the form section */
}

.image-section {
width: 50%; /* Width for the image section */
display: flex;
justify-content: center; /* Center the image */
align-items: center;
}

.image-section img {
max-width: 100%; /* Make sure image does not exceed its container width */
height: auto;
}

.form-group {
margin-bottom: 20px;
}

label {
display: block;
margin-bottom: 10px;
}

input, textarea {
width: 100%; /* Adjust width for better alignment */
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}

textarea {
height: 100px; /* Adjust height for textarea */
}

button[type="submit"] {
background-color: fa2b4d;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}

button[type="submit"]:hover {
background-color: #ff032d;
}
</style>
<body>
<section id="contact us" style="padding-top:30px">

<div class="card pb-5 pt-1">
<div class="card-header">
<h1>Contact Us</h1>
</div>
<div class="card-body">
<div class="form-section">
<form>
<div class="form-group">
<label for="name">Name</label>
<input type="text" id="name" name="name" placeholder="Your name">
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" id="email" name="email" placeholder="Your email">
</div>
<div class="form-group">
<label for="message">Message</label>
<textarea id="message" name="message" placeholder="Your message"></textarea>
</div>
<button type="submit">Send</button>
</form>
</div>
<div class="image-section">
<img src="./7725176.jpg" alt="Contact Image"style="max-width: 80%; height: auto; max-height: 500px;">
</div>
</div>
</div>
</section>
</body>
</html>
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2466,7 +2466,7 @@ <h3>Quick Links</h3>
<li><a href="./chatbot.html">ChatBot</a></li>
<li><a href="./feedback.html">Feedback</a></li>
<li><a href="#/faq.html">FAQ's</a></li>
<li><a href="#">Contact</a></li>
<li><a href="">Contact</a></li>
</ul>
</div>
<div class="footer-section about-us">
Expand All @@ -2488,7 +2488,7 @@ <h3 id ="newsletter-heading">Subscribe to Our Newsletter</h3>
<li><a href="">Terms of use</a></li>
<li><a href="privacy.html">Privacy</a></li>
<li><a href="">Cookie Preferences</a></li>
<li><a href="">Contact Us</a></li>
<li><a href="./contact.html">Contact Us</a></li>
</ul>
<div class="container">
<a href="./project_showcase/contributor.html" id="ourvisionlink">Our Contributors</a>
Expand Down
Loading