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

Fixed Padding navbar and Text effect in Contrib. page #250

Merged
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
4 changes: 2 additions & 2 deletions src/components/shared/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Navbar = () => {
return (
<nav className={`navbar navbar-expand-lg ${isSticky ? 'mt-2 fixed-top' : ''} ${isDarkMode ? 'navbar-dark' : 'navbar-light'}`} style={{ backgroundColor: `${isDarkMode ? 'rgba(0, 0, 0, 0.4)' : 'rgba(223, 223, 176, 0.4)'}` }}>
<div className="container-fluid">
<Link className="navbar-brand d-flex align-items-center" to="/">
<Link className="navbar-brand d-flex align-items-center px-4" to="/">
<img src="logo.webp" alt="Chanakya Image" className="me-2" style={{ width: '30px', height: '30px' }} />
<span style={{ fontSize: '1.2rem', fontWeight: 'bold' }}>चाणक्य नीति</span>
</Link>
Expand Down Expand Up @@ -59,7 +59,7 @@ const Navbar = () => {
<li className="nav-item"><Link className="nav-link" to="/contributor">Contributors</Link></li>
<li className="nav-item"><Link className="nav-link" to="/auth/login">Login</Link></li>

<li className='nav-item nav-link' onClick={toggleTheme} style={{ cursor: 'pointer' }}>
<li className='nav-item nav-link px-4' onClick={toggleTheme} style={{ cursor: 'pointer' }}>
{isDarkMode ? (
<MdOutlineLightMode style={{ fontSize: '1.5rem', color: 'white' }} />
) : (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/contributor/Contributors.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const Contributors = (props) => {
return (
<>
<div className='d-flex flex-column contribution' style={{ overflowX: "hidden" }}>
<div className="fs-3" style={{fontWeight:"500"}}>
<div className="fs-2 text-center fw-bold" style={{fontWeight:"500"}}>
Our Contributors
</div>
<div className='d-flex flex-wrap justify-content-evenly'>
Expand Down