Skip to content

Commit

Permalink
Made a responsive and dashing contact us page (#163)
Browse files Browse the repository at this point in the history
* Made the Contact Us Page

* made the responsive contact us page

* A little more modification

* Changes made in back button

* little more changes
  • Loading branch information
Deepankar1484 authored Oct 19, 2024
1 parent 9d5bc91 commit 760e039
Show file tree
Hide file tree
Showing 6 changed files with 1,643 additions and 1,217 deletions.
Binary file added .DS_Store
Binary file not shown.
188 changes: 188 additions & 0 deletions assets/css/contact.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
background-color: #f4f4f4;
color: #333;
}
.getback {
top: 20px;
left: 20px;
position: absolute;
background-color: #28a745;
color: white;
padding: 10px 20px;
border-radius: 8px;
text-align: center;
text-decoration: none;
font-family: "Arial", sans-serif;
font-weight: bold;
font-size: 16px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.getback:hover {
background-color: #218838;
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.container2 {
max-width: 1200px;
margin: 0 auto;
padding: 40px 20px;
}

.header {
text-align: center;
padding: 30px 20px;
}

.header h1 {
font-size: 36px;
color: green;
margin-bottom: 10px;
}

.header p {
font-size: 18px;
color: #666;
}

.contact-wrapper {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin-top: 40px;
}

.contact-form {
flex: 1 1 500px;
background-color: #fff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
margin-bottom: 20px;
}

.contact-form h2 {
font-size: 28px;
color: #333;
margin-bottom: 20px;
}

.contact-form label {
font-size: 16px;
color: #666;
margin-bottom: 10px;
display: block;
}

.contact-form input,
.contact-form textarea {
width: 100%;
padding: 12px;
margin-bottom: 20px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
}

.contact-form textarea {
resize: vertical;
min-height: 150px;
}

.contact-form .submit-btn {
background-color: green;
color: white;
padding: 12px 24px;
border: none;
border-radius: 4px;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s ease;
}

.contact-form .submit-btn:hover {
background-color: rgb(35, 144, 35);
}

/* Contact Information Styling */
.contact-info {
flex: 1 1 400px;
background-color: #282c34;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
color: white;
margin-bottom: 20px;
}

.contact-info h2 {
font-size: 28px;
color: green;
margin-bottom: 20px;
text-align: center;
border-bottom: 2px solid green;
padding-bottom: 10px;
}

.contact-info .info {
margin-bottom: 30px;
display: flex;
align-items: center;
}

.contact-info .info-icon {
font-size: 30px;
margin-right: 15px;
color: green;
}

.contact-info .info h3 {
font-size: 20px;
color: #fff;
margin-bottom: 5px;
}

.contact-info .info p {
font-size: 16px;
color: #ccc;
margin-top: 0;
}

.info-icon svg {
width: 30px;
height: 30px;
}

/* Map Section */
.map {
margin-top: 30px;
width: 100%;
height: 400px;
background-color: #ddd;
border-radius: 8px;
overflow: hidden;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
.contact-wrapper {
flex-direction: column;
}

.contact-info,
.contact-form {
flex: 1 1 100%;
}

.contact-info {
margin-top: 20px;
}
}
Loading

0 comments on commit 760e039

Please sign in to comment.