Skip to content

Commit

Permalink
fix: icon light/dark colors on Projects; Publication height; MobileMe…
Browse files Browse the repository at this point in the history
…nu animation
  • Loading branch information
martapanc committed Sep 13, 2023
1 parent f8e8542 commit 468822a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/molecules/MobileMenu/MobileMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const MobileMenu = ({ isOpen }: MobileMenuProps) => {
variants={navigationVariants}
initial='hidden'
animate='visible'
custom={0.5 + (links.length + 1) * 0.1}
custom={0.5 + (links.length + 3) * 0.1}
>
<ModeToggleButton />
</motion.li>
Expand All @@ -74,7 +74,7 @@ export const MobileMenu = ({ isOpen }: MobileMenuProps) => {
variants={navigationVariants}
initial='hidden'
animate='visible'
custom={0.5 + (links.length + 2) * 0.1}
custom={0.5 + (links.length + 4) * 0.1}
>
<LanguageSwitcherMobile languages={languages} />
</motion.li>
Expand Down
2 changes: 1 addition & 1 deletion src/components/organisms/about-work/Publications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const Publications = ({ publications }: PublicationProps) => {
{publications.map((publication) => (
<div
key={publication.id}
className='flex h-32 flex-col justify-between rounded-md p-4 shadow-md dark:bg-slate-900 md:h-40'
className='flex h-[8.5rem] flex-col justify-between rounded-md p-4 shadow-md dark:bg-slate-900 md:h-40'
>
<span className='font-semibold'>{publication.title}</span>

Expand Down
2 changes: 1 addition & 1 deletion src/components/organisms/projects/ProjectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const ProjectCard = ({ project }: ProjectCardProps) => {
}
}, []);

const iconColor = theme === 'dark' ? 'white' : 'black';
const iconColor = theme === 'dark' ? '#e1e7f2' : '#15295F';

return (
<div
Expand Down

0 comments on commit 468822a

Please sign in to comment.