-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from pulkitgarg04/main
Add contact us page
- Loading branch information
Showing
3 changed files
with
157 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
.container { | ||
max-width: 500px; | ||
width: 100%; | ||
margin: 0 auto; | ||
} | ||
|
||
#contact { | ||
padding: 30px; | ||
margin: 50px 0; | ||
background: rgba(255, 255, 255, 0.25); | ||
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); | ||
backdrop-filter: blur(4px); | ||
border-radius: 10px; | ||
border: 1px solid rgba(255, 255, 255, 0.18); | ||
} | ||
|
||
#contact h3 { | ||
color: white; | ||
display: block; | ||
font-size: 30px; | ||
font-weight: 300; | ||
margin-bottom: 10px; | ||
text-align: center; | ||
} | ||
|
||
fieldset { | ||
border: medium none !important; | ||
margin: 0 0 10px; | ||
min-width: 100%; | ||
padding: 0; | ||
width: 100%; | ||
} | ||
|
||
fieldset label { | ||
color: white; | ||
} | ||
|
||
#contact input[type="text"], | ||
#contact input[type="email"], | ||
#contact textarea { | ||
width: 100%; | ||
border: 1px solid #ccc; | ||
background: #FFF; | ||
margin: 5px 0 10px; | ||
padding: 10px; | ||
} | ||
|
||
#contact input[type="text"]:hover, | ||
#contact input[type="email"]:hover, | ||
#contact textarea:hover { | ||
border: 1px solid #aaa; | ||
} | ||
|
||
#contact textarea { | ||
height: 100px; | ||
max-width: 100%; | ||
resize: none; | ||
} | ||
|
||
#contact button[type="submit"] { | ||
cursor: pointer; | ||
width: 100%; | ||
border: none; | ||
background: #58a6ff; | ||
color: #FFF; | ||
margin: 0 0 5px; | ||
padding: 10px; | ||
font-size: 15px; | ||
} | ||
|
||
#contact button[type="submit"]:hover { | ||
background: #348cf1; | ||
transition: background-color 0.3s ease-in-out; | ||
} | ||
|
||
#contact button[type="submit"]:active { | ||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5); | ||
} | ||
|
||
#contact input:focus, | ||
#contact textarea:focus { | ||
outline: 0; | ||
border: 1px solid #aaa; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Contact - Badge Website</title> | ||
|
||
<link rel="stylesheet" href="../styles.css" /> | ||
<link rel="stylesheet" href="../css/contact.css" /> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" /> | ||
<link rel="apple-touch-icon" sizes="180x180" href="../Favicon/apple-touch-icon.png" /> | ||
<link rel="icon" type="image/png" sizes="32x32" href="../Favicon/favicon-32x32.png" /> | ||
<link rel="icon" type="image/png" sizes="16x16" href="../Favicon/favicon-16x16.png" /> | ||
<link rel="manifest" href="/site.webmanifest" /> | ||
<link rel="icon" href="../Favicon/favicon.ico?v=2"> | ||
</head> | ||
|
||
<body> | ||
|
||
<header> | ||
<div class="header-container"> | ||
<div class="logo"> | ||
<img src="../Favicon/favicon-32x32.png" alt="Logo" /> | ||
<h1>Badge Website</h1> | ||
</div> | ||
<nav class="nav-links"> | ||
<ul> | ||
<li><a href="/">Home</a></li> | ||
<li><a href="#">About</a></li> | ||
<li><a href="./pages/contact.html">Contact</a></li> | ||
<li><a href="#">Badges</a></li> | ||
</ul> | ||
</nav> | ||
<div class="menu-toggle"> | ||
<i class="fas fa-bars"></i> | ||
</div> | ||
</div> | ||
</header> | ||
|
||
<div class="container"> | ||
<form id="contact" action="#" method="post"> | ||
<h3>Contact Us</h3> | ||
<fieldset> | ||
<label for="name">Name</label> | ||
<input placeholder="Enter your name" type="text" name="name" tabindex="1" required autofocus> | ||
</fieldset> | ||
<fieldset> | ||
<label for="name">Email</label> | ||
<input placeholder="Your Email Address" type="email" name="email" tabindex="2" required> | ||
</fieldset> | ||
<fieldset> | ||
<label for="message">Message</label> | ||
<textarea placeholder="Type your message here...." name="message" tabindex="5" required></textarea> | ||
</fieldset> | ||
<button name="submit" type="submit" id="contact-submit" data-submit="...Sending">Submit</button> | ||
</form> | ||
</div> | ||
|
||
<footer> | ||
<div class="footer-text"> | ||
<p> | ||
Follow us on | ||
<a href="https://github.com/rajatuiwebdev/badge-website">Github</a> | | ||
<a href="https://www.linkedin.com/in/rajatrajput2004/">LinkedIn</a> | ||
</p> | ||
<p>© 2024 Rajat Rajput | All rights reserved</p> | ||
</div> | ||
</footer> | ||
</body> | ||
|
||
</html> |