Skip to content

Commit

Permalink
image container fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoGytis committed Dec 30, 2023
1 parent 95b90e6 commit 49ae220
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/components/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const NavBar: any = () => {
Inclusive products and digital experiences for the web.
</h3>
</div>
<nav className="hidden lg:flex flex-col text-lg text-nav_inactive gap-2">
<nav className="hidden lg:flex flex-col text-lg text-nav_inactive gap-2 mb-14">
<ScrollLink className="nav_item" spy smooth offset={-80} to="about">
<div className="nav_indicator" />
About
Expand Down
6 changes: 2 additions & 4 deletions src/app/components/Project.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,11 @@ const Project = ({
return (
<div className="mb-12 lg:p-6 hover_border">
<div className="flex flex-col sm:flex-row gap-6 w-full group">
<div className="overflow-hidden rounded cursor-pointer">
<div className="overflow-hidden rounded cursor-pointer h-full w-[400px] sm:w-[250px]">
<Image
src={imageSrc}
width={300}
height={300}
alt={title}
className="rounded hover:scale-125 ease-out duration-1000 transform origin-top"
className="rounded hover:scale-125 ease-out duration-1000 transform origin-top "
/>
</div>
<div className="flex flex-col sm:w-2/3">
Expand Down

0 comments on commit 49ae220

Please sign in to comment.