Skip to content
Open
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
56 changes: 50 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css" type="text/css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<script src="script.js" defer></script>
</head>

Expand All @@ -27,9 +28,10 @@
<li>
<a href="#">Join our Community</a>
<ul class="dropdown">
<li><a href="#"> Whatsapp</a></li>
<li><a href="#">Discord</a></li>
<li><a href="#"> Whatsapp <img src="C:\Users\Ananya\OneDrive\Documents\GitHub\official-website\images\whatsapp-icon.png" alt="WhatsApp" width="20"></a></li>
<li><a href="#">Discord <img src="C:\Users\Ananya\OneDrive\Documents\GitHub\official-website\images\discord-icon.png" alt="Discord" width="20"></a></li>
</ul>
</li>
<li class="hamburger-menu">
<a href="javascript:void(0);" class="toggle-button">
<span class="bar"></span>
Expand All @@ -43,7 +45,6 @@
<li><a href="#">Follow Us</a></li>
</ul>
</li>
</li>
</ul>
</nav>

Expand Down Expand Up @@ -84,10 +85,53 @@ <h2>About Community</h2>
</div>
</section>

<footer>

<footer class="footer">
<div class="footer-container">
<div class="footer-logo-section">
<img src="/images/logo.png" class="footer-logo" alt="Code Social Logo">
<p>&copy; 2023 Code Social. All rights reserved.</p>
</div>
<div class="footer-links">
<h3>Quick Links</h3>
<ul>
<li><a href="#">About Us</a></li>
<li><a href="#">Live Events</a></li>
<li><a href="#">Join Our Team</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
<div class="footer-community">
<h3>Our Community</h3>
<ul>
<li><a href="#">Discord Server</a></li>
<li><a href="#">WhatsApp Group</a></li>
<li><a href="#">LinkedIn Page</a></li>
<li><a href="#">GitHub Organization</a></li>
</ul>
</div>
<div class="footer-social">
<h3>Connect With Us</h3>
<div class="social-icons">
<a href="https://discord.gg/MSTNyRSPYW" target="_blank" aria-label="Join our Discord server">
<i class="fab fa-discord"></i>
</a>
<a href="https://wa.me/your-whatsapp-number" target="_blank" aria-label="Connect on WhatsApp">
<i class="fab fa-whatsapp"></i>
</a>
<a href="https://www.linkedin.com/company/code-social/" target="_blank" aria-label="Follow us on LinkedIn">
<i class="fab fa-linkedin"></i>
</a>
<a href="https://github.com/your-github-org" target="_blank" aria-label="Check our GitHub">
<i class="fab fa-github"></i>
</a>
</div>
</div>
</div>
<div class="footer-bottom">
<p>Made with <i class="fas fa-heart"></i> by Code Social Community</p>
</div>
</footer>

</body>

</html>
</html>
73 changes: 50 additions & 23 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* Navbar Styling */
* {
margin: 0px;
Expand Down Expand Up @@ -192,72 +191,79 @@
.social-icons img:hover {
transform: scale(1.1); /* Slightly enlarge the icon on hover */
}
/* Footer Styles */


.footer {
background-color: #222;
color: #fff;
padding: 20px 0;
padding: 40px 0 20px;
}

.footer-container {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

.footer-logo-section {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
.footer-logo-section, .footer-links, .footer-community, .footer-social {
flex: 1;
min-width: 200px;
margin-bottom: 20px;
}

.footer-logo {
width: 80px;
margin-bottom: 10px;
}

.footer-links ul {
.footer h3 {
font-size: 1.2rem;
margin-bottom: 15px;
color: #f39c12;
}

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

.footer-links ul li {
margin: 5px 0;
.footer ul li {
margin-bottom: 8px;
}

.footer-links ul li a {
.footer ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s;
}

.footer-links ul li a:hover {
color: #f39c12; /* Accent color for hover effect */
.footer ul li a:hover {
color: #f39c12;
}

.footer-social a {
margin-right: 10px;
.social-icons {
display: flex;
gap: 15px;
}

.footer-social a img {
width: 30px;
height: 30px;
transition: transform 0.3s;
.social-icons a {
color: #fff;
font-size: 24px;
transition: color 0.3s, transform 0.3s;
}

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

.footer-bottom {
text-align: center;
margin-top: 20px;
padding-top: 10px;
padding-top: 20px;
border-top: 1px solid #444;
}

Expand All @@ -266,3 +272,24 @@
font-size: 14px;
}

.footer-bottom .fa-heart {
color: #e74c3c;
}

/* Responsive adjustments */
@media (max-width: 768px) {
.footer-container {
flex-direction: column;
align-items: center;
text-align: center;
}

.footer-logo-section, .footer-links, .footer-community, .footer-social {
width: 100%;
margin-bottom: 30px;
}

.social-icons {
justify-content: center;
}
}