Skip to content

Commit

Permalink
Merge pull request #170 from vishnu1345/main
Browse files Browse the repository at this point in the history
sponsors animation and team updated + minor changes
  • Loading branch information
JeevantVerma authored Oct 30, 2024
2 parents 8b07c56 + 4ef9e5c commit e810324
Show file tree
Hide file tree
Showing 5 changed files with 120 additions and 104 deletions.
2 changes: 1 addition & 1 deletion components/NavbarI/NavbarI.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const NavbarI = () => {
<Link data-tooltip-content="About" className={`my-anchor-element ${location.pathname === "/about" && 'active'}`} to={'/about'}>
<AiOutlineInfoCircle size={25} />
</Link>
<Link data-tooltip-content="Community" className={`my-anchor-element ${location.pathname === "/community" && 'active'}`} to={'/community'}>
<Link data-tooltip-content="Alumni" className={`my-anchor-element ${location.pathname === "/alumni" && 'active'}`} to={'/alumni'}>
<RiCommunityLine size={25} />
</Link>
<a className='show-on-phone dropup' ref={closeRef} href="#">
Expand Down
6 changes: 4 additions & 2 deletions src/Pages/AboutUs/components/projects.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const Projects = (props) => {
handleClick(index);
onMouseEnter(index);
}}
className={clickedIndex === index ? style.whiteText : ""}
className={clickedIndex === index ? style.whiteText : style.grayText}
>
{title[index]}
</p>
Expand All @@ -143,7 +143,9 @@ const Projects = (props) => {
onClick={() => handleAccordionClick(index)}
style={{ height: activeIndex === index ? contentHeight + 40 : 40 }}
>
<p ref={el => (paraRef.current[index] = el)}>
<p ref={el => (paraRef.current[index] = el)}
className={clickedIndex === index ? style.whiteText : style.grayText}
>
{title[index]}
</p>
<div
Expand Down
6 changes: 5 additions & 1 deletion src/Pages/AboutUs/components/projects.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,24 @@
margin-left: 75px;
cursor: pointer;
}
.grayText{
color: gray;
}
.projectHeading p{
font-size: 2.5rem;
margin-top: 31px;
margin-left: 32px;
/* color: gray; */

}
.projectHeading p:active{
color: white;
}
.projectHeading p:hover{

color: white;
}
.whiteText{
/* color: red; */
color: white;
}
.projecth{
Expand Down
Loading

0 comments on commit e810324

Please sign in to comment.