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

footer changed #256

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
36 changes: 32 additions & 4 deletions src/components/Footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ a:hover {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
justify-content:space-around;
max-width: 1200px;
margin: auto;
animation: fadeIn 1s ease-in-out;
}

.footer-section {
flex: 1;
padding: 20px;
padding: 10px;
text-align: center;
opacity: 0;
transform: translateY(20px);
Expand All @@ -51,12 +51,17 @@ a:hover {
position: relative;
transition: color 0.3s, transform 0.3s;
}

/* to make the all footer section in one row */
.footer-nav {
display: flex;
justify-content: space-evenly;
width: 100%;
}
/* Footer.css */
.footer-section h4 {
position: relative;
display: inline-block;
padding: 0.5rem 1rem;
padding: 15x;
color: #fff;
text-decoration: none;
overflow: hidden;
Expand Down Expand Up @@ -151,6 +156,29 @@ a:hover {
text-decoration: none;
transition: color 0.3s, transform 0.3s;
}
.contact-list {
margin: 20px;
}

.contact-list li, .nav-list li{
display: flex;
align-items: center;
margin-bottom: 10px; /* Adjust as needed */
}

.contact-list li i, .nav-list li i{
margin-right: 10px; /* Adjust the spacing as needed */
}
.contact-list li a, .nav-list li a {
color: inherit; /* Ensure the text color matches the parent */
text-decoration: none;
transition: color 0.3s, transform 0.3s;
}

.contact-list li a:hover, .nav-list li a:hover {
color: #90a9bb; /* Adjust the hover color as needed */
transform: scale(1.1);
}

.footer-section ul li a:hover,
.footer-section p a:hover {
Expand Down
12 changes: 11 additions & 1 deletion src/components/Footer.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useEffect, useState } from 'react';
import React from 'react';
// import React from 'react';
import './Footer.css';

const quotes = [
Expand Down Expand Up @@ -69,12 +69,16 @@ const Footer = () => {
return (
<footer className="footer" style={footerStyle}>
<div className="footer-content">
<div className='footer-nav'>
<div className="footer-section contact-details">
<h4><strong style={footerStyle}>Contact Us</strong></h4>
<ul className="contact-list">
<li style={footerStyle}>
<i className="fas fa-envelope"></i>&nbsp;&nbsp;
<a style={footerStyle} href="mailto:[email protected]">[email protected]</a>

<a style={footerStyle} href="mailto:[email protected]">[email protected]</a>

</li>
<li style={footerStyle}>
<i className="fas fa-phone"></i>&nbsp;&nbsp;
Expand Down Expand Up @@ -142,6 +146,11 @@ const Footer = () => {
<i className="fab fa-linkedin-in"></i>&nbsp;&nbsp; LinkedIn
</a>
</li>
<li style={footerStyle}>
<a style={footerStyle} href="https://discord.com/" target="_blank" rel="noopener noreferrer">
<i className="fab fa-discord"></i>&nbsp;&nbsp; Discord
</a>
</li>
</ul>
</div>
<div className="footer-section social-media">
Expand Down Expand Up @@ -182,6 +191,7 @@ const Footer = () => {
</ul>
</div>
</div>
</div>
<div className="footer-bottom">
<p style={footerStyle}>© 2024 TimeWarp. All rights reserved.</p>
</div>
Expand Down