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

Elegant Dark Footer with Interactive Links and Subscription #2283

Merged
merged 3 commits into from
Nov 9, 2024
Merged
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
232 changes: 204 additions & 28 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4764,6 +4764,7 @@ <h2>We Value Your Feedback!</h2>
const stars = document.querySelectorAll(".star");
const ratingValue = document.getElementById("rating-value");
let selectedRating = 0;

function highlightStars(rating) {
stars.forEach(star => {
star.classList.toggle("selected", star.dataset.value <= rating);
Expand Down Expand Up @@ -4940,7 +4941,6 @@ <h2>We Value Your Feedback!</h2>
}
</style>


<!-- Footer -->
<footer>
<div class="footer-content">
Expand Down Expand Up @@ -5036,36 +5036,212 @@ <h3 class="faq-question">Where can I find the source code?</h3>



<!-- Footer -->
<footer id="footer1">
<div class="footer-content">
<!-- Quick Links Section -->
<div class="footer-section quick-links">
Quick Links
<ul>
<li><a href="./index.html">Home</a></li>
<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.html">Contact</a></li>
</ul>
</div>

<!-- About Us Section -->
<div class="footer-section about-us">
About Us
<p>Empowering aspiring developers to master web development through hands-on, small-scale projects.</p>
<footer>
<div class="footer-content">
<!-- Quick Links Section -->
<div class="footer-section quick-links">
<h3>Quick Links</h3>
<ul>
<li><a href="./index.html">Home</a></li>
<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.html">Contact</a></li>
</ul>
</div>

<!-- About Us Section -->
<div class="footer-section about-us">
<h3>About Us</h3>
<p>Empowering aspiring developers to master web development through hands-on, small-scale projects.</p>
</div>

<!-- Newsletter Section -->
<div class="footer-section newsletter">
<h3>Subscribe to Our Newsletter</h3>
<form>
<input type="email" placeholder="Enter your email" required>
<button type="submit" class="subscribe-btn">Subscribe</button>
</form>
</div>

<!-- Social Media Section -->
<div class="follow-us">
<h3>Follow Us</h3>
<a href="https://www.linkedin.com/in/berajeevkumar/" target="_blank">
<img src="https://cdn-icons-png.flaticon.com/512/174/174857.png" alt="LinkedIn Logo" />
</a>
<a href="https://x.com/be_rajeevkumar" target="_blank">
<img src="https://cdn-icons-png.flaticon.com/512/733/733579.png" alt="Twitter Logo" />
</a>
<a href="https://github.com/beRajeevKumar" target="_blank">
<img src="https://cdn-icons-png.flaticon.com/512/25/25231.png" alt="GitHub Logo" />
</a>
</div>
</div>

<!-- Newsletter Section -->
<div class="footer-section newsletter">
Subscribe to Our Newsletter
<form>
<input type="email" placeholder="Enter your email" required>
<button type="submit" class="subscribe">Subscribe</button>
</form>

<!-- Share Button -->
<div class="share-section">
<button id="shareBtn" class="share-btn">Share Us</button>
</div>
</div>

<!-- Bottom Links Section -->
<ul class="gridbox">
<li><a href="#">Help Centre</a></li>
<li><a href="./welcometestimonials.html">Testimonials</a></li>
<li><a href="#">Account</a></li>
<li><a href="#">Media Centre</a></li>
<li><a href="./terms.html">Terms of Use</a></li>
<li><a href="./privacy.html">Privacy</a></li>
<li><a href="#">Cookie Preferences</a></li>
<li><a href="./contact.html">Contact Us</a></li>
</ul>

<!-- Footer Bottom -->
<div class="footer-bottom">
<div class="social-icons">
<a href="#"><i class="fab fa-facebook-f"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fab fa-linkedin-in"></i></a>
<a href="#"><i class="fab fa-youtube"></i></a>
<a href="#"><i class="fab fa-pinterest"></i></a>
<a href="#"><i class="fab fa-snapchat-ghost"></i></a>
</div>
<p>© 2024 Open Projects. All Rights Reserved.</p>
</div>
</footer>

<!-- Styles -->
<style>
/* Footer Section Styling */
footer {
background: #040423;
color: #eee;
padding: 20px;
font-family: Arial, sans-serif;
}

.footer-content {
display: flex;
justify-content: space-between;
padding: 20px 0;
}

.footer-section h3 {
color: #f8b400;
}

.footer-section ul {
list-style: none;
padding: 0;
}

.footer-section ul li a {
color: #ccc;
text-decoration: none;
}

.footer-section ul li a:hover {
color: #f8b400;
transition: color 0.3s;
}

/* Newsletter and Share Button */
.subscribe-btn, .share-btn {
background: linear-gradient(45deg, #ff7e5f, #feb47b);
color: white;
border: none;
border-radius: 5px;
padding: 10px 20px;
cursor: pointer;
transition: background 0.3s, transform 0.3s;
}

.subscribe-btn:hover, .share-btn:hover {
background: linear-gradient(45deg, #feb47b, #ff7e5f);
transform: scale(1.05);
}

/* Follow Us Icons */
.follow-us a img {
width: 30px;
height: 30px;
margin: 0 10px;
transition: transform 0.3s;
}

.follow-us a img:hover {
transform: scale(1.2);
}

/* Social Icons */
.social-icons a {
color: #eee;
font-size: 20px;
margin-right: 15px;
transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
color: #f8b400;
transform: scale(1.1);
}

/* Gridbox Links */
.gridbox {
display: flex;
justify-content: center;
padding: 20px 0;
list-style: none;
}

.gridbox li {
margin: 0 10px;
}

.gridbox a {
color: #ccc;
text-decoration: none;
}

.gridbox a:hover {
color: #f8b400;
}

/* Footer Bottom */
.footer-bottom {
text-align: center;
padding-top: 10px;
border-top: 1px solid #040423;
}

.footer-bottom p {
color:#040423;
}
</style>

<!-- Share Button Script -->
<script>
document.getElementById('shareBtn').addEventListener('click', function() {
if (navigator.share) {
navigator.share({
title: 'Contact Us',
text: 'Check out this Contact Us page!',
url: window.location.href
}).then(() => {
console.log('Thanks for sharing!');
}).catch((error) => {
console.error('Error sharing:', error);
});
} else {
alert('Web Share API is not supported in your browser.');
}
});
</script>




<!-- Bottom Links Section -->
Expand Down
Loading