Skip to content

Commit

Permalink
Update project animation
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopinto15 committed Oct 1, 2024
1 parent a992de7 commit 6fff850
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ProjectCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const ProjectCard = ({ title, description, url, date, logo }) => {
<div className="bg-content-light dark:bg-content-dark rounded-lg shadow-lg overflow-hidden w-full transition-colors duration-300 hover:bg-gray-100 dark:hover:bg-gray-500">
{
logo ?
(<><img src={logo.dark} alt="Project Logo" className="w-full h-64 scale-75 dark:hidden " />
<img src={logo.light} alt="Project Logo" className="w-full h-64 scale-75 hidden dark:block " /></>
(<><img src={logo.dark} alt="Project Logo" className="w-full h-64 scale-75 dark:hidden transition-transform duration-300 group-hover:scale-100 " />
<img src={logo.light} alt="Project Logo" className="w-full h-64 scale-75 hidden dark:block transition-transform duration-300 group-hover:scale-100 " /></>
)
:
(<FaGithubAlt className='w-full h-64 scale-75 text-bkg-dark dark:text-bkg-light transition-transform duration-300 group-hover:scale-100' />)
Expand Down

0 comments on commit 6fff850

Please sign in to comment.