Skip to content

Commit fb6691e

Browse files
committed
Added Hover effect in social media icons - footer
1 parent 3c6648e commit fb6691e

File tree

2 files changed

+34
-28
lines changed

2 files changed

+34
-28
lines changed

client/src/component/Footer.jsx

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,71 +7,71 @@ import { FaGithub, FaLinkedin, FaYoutube } from 'react-icons/fa';
77
const Footer = (props) => {
88
return (
99
<>
10-
<hr style={{ border: '3px solid #0D92F4' }} />
11-
<div className="Footer" style={{ backgroundColor: props.mode === 'dark' ? '#0B192C' : 'white'}}>
10+
<hr style={{ border: '3px solid #0D92F4' }} />
11+
<div className="Footer" style={{ backgroundColor: props.mode === 'dark' ? '#0B192C' : 'white' }}>
1212

13-
<div className="container">
13+
<div className="container">
1414
<div className="row">
1515
<div className="col-md-6 col-lg-5 col-12 ft-1">
16-
<h3 style={{ fontFamily: "medium", fontSize: "2.5rem" }}>BIT<span className='code' style={{ Color: "#0D92F4"}}>BOX</span></h3>
17-
<p>Empowering Developers,<br/>
18-
Where Projects Find solution together</p>
19-
<div className="footer-icons">
20-
<a href="https://github.com/bitboxcommunity" target="_blank" rel="noopener noreferrer" aria-label="GitHub">
21-
<FaGithub color="#211F1F" fontSize="2rem" />
22-
</a>
23-
<a href="https://twitter.com/BITBOX688152" target="_blank" rel="noopener noreferrer" aria-label="Twitter">
24-
<FaXTwitter color="#1da1f2" fontSize="2rem" />
25-
</a>
26-
<a href="https://www.youtube.com/channel/UCXUTdcw27jaH_go9iyUjJnA" target="_blank" rel="noopener noreferrer" aria-label="YouTube">
27-
<FaYoutube color="red" fontSize="2rem" />
28-
</a>
29-
<a href="https://www.linkedin.com/in/bit-box-community" target="_blank" rel="noopener noreferrer" aria-label="LinkedIn">
30-
<FaLinkedin color="#0077b5" fontSize="2rem" />
31-
</a>
32-
</div>
16+
<h3 style={{ fontFamily: "medium", fontSize: "2.5rem" }}>BIT<span className='code' style={{ Color: "#0D92F4" }}>BOX</span></h3>
17+
<p>Empowering Developers,<br />
18+
Where Projects Find solution together</p>
19+
<div className="footer-icons">
20+
<a href="https://github.com/bitboxcommunity" target="_blank" rel="noopener noreferrer" aria-label="GitHub">
21+
<FaGithub color="#211F1F" fontSize="2rem" />
22+
</a>
23+
<a href="https://twitter.com/BITBOX688152" target="_blank" rel="noopener noreferrer" aria-label="Twitter">
24+
<FaXTwitter color="#1da1f2" fontSize="2rem" />
25+
</a>
26+
<a href="https://www.youtube.com/channel/UCXUTdcw27jaH_go9iyUjJnA" target="_blank" rel="noopener noreferrer" aria-label="YouTube">
27+
<FaYoutube color="red" fontSize="2rem" />
28+
</a>
29+
<a href="https://www.linkedin.com/in/bit-box-community" target="_blank" rel="noopener noreferrer" aria-label="LinkedIn">
30+
<FaLinkedin color="#0077b5" fontSize="2rem" />
31+
</a>
32+
</div>
3333

3434

3535
</div>
3636
<div className="col-md-6 col-lg-3 col-12 ft-2">
3737
<h5>About</h5>
3838
<ul>
3939
<li className="nav-item">
40-
<Link to="/contactus">Contact Us</Link>
40+
<Link to="/contactus">Contact Us</Link>
4141
</li>
4242
<li className="nav-item">
43-
<Link to='/codeofconduct'>Code of Conduct</Link>
43+
<Link to='/codeofconduct'>Code of Conduct</Link>
4444
</li>
4545
</ul>
4646
</div>
4747
<div className="col-md-7 col-lg-4 col-13 ft-3">
4848
<h5>Legals</h5>
4949
<ul>
5050
<li className="nav-item">
51-
<Link to="/feedback">Feedback</Link>
51+
<Link to="/feedback">Feedback</Link>
5252
</li>
5353
<li className="nav-item">
54-
<Link to="/privacypolicy">Privacy Policy</Link>
54+
<Link to="/privacypolicy">Privacy Policy</Link>
5555
</li>
5656
<li className="nav-item">
57-
<li><Link to="/termofuse">Terms of use</Link></li>
57+
<li><Link to="/termofuse">Terms of use</Link></li>
5858
</li>
5959
</ul>
6060
</div>
6161
</div>
6262
</div>
6363
</div>
6464
<div className='Last-footer'>
65-
<p className='copy-content'>© 2024 Bitbox.&nbsp; Made with 🤍 by Bitbox India.&nbsp; All rights reserved.</p>
65+
<p className='copy-content'>© 2024 Bitbox.&nbsp; Made with 🤍 by Bitbox India.&nbsp; All rights reserved.</p>
6666
</div>
6767
</>
6868
)
6969
}
7070

7171

7272
Footer.propTypes = {
73-
showAlert: PropTypes.func,
74-
mode: PropTypes.string,
73+
showAlert: PropTypes.func,
74+
mode: PropTypes.string,
7575
};
7676

7777
export default Footer

client/src/component/css/Footer.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,11 @@ nav_ul li {
211211
border-radius: 80%;
212212
}
213213

214+
.footer-icons a:hover{
215+
transform: scale(1.2);
216+
color: #0077B5;
217+
}
218+
214219
.Footer h5 {
215220
font-weight: bold;
216221
font-size: 1.5rem;
@@ -286,6 +291,7 @@ nav_ul li {
286291
gap: 0.8rem;
287292
}
288293

294+
289295
.Footer h5 {
290296
font-size: 1.2rem;
291297
text-align: center;

0 commit comments

Comments
 (0)