Skip to content
Closed
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
11 changes: 9 additions & 2 deletions src/components/Info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,15 @@ const Info: React.FC = () => {

{/* Card on Top Left */}
{windowWidth >= 270 && (
// <motion.div
// className="absolute top-2 left-2 bg-black/60
// backdrop-blur-sm rounded-lg sm:rounded-xl p-2.5 sm:p-4 md:p-6 shadow-lg
// max-w-[180px] sm:max-w-[220px] md:max-w-xs transform hover:scale-105
// transition-all duration-300 ease-out z-10 border border-white/50"
// whileHover={{ scale: 1.05 }}
// >
Comment on lines +230 to +236
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to remove the code why comment it? Just remove it :) (IF you feel that piece is not required).

There is something called as multi line comment please see how to use it :)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you're right. I'll make sure to take care of these things next time.
At that time, I was facing some issues with GitHub checks, and when I restored those lines, the error got resolved.
Anyway, I'll be more careful about such mistakes in the future.

<motion.div
className="absolute top-2 left-2 bg-black/60
className="absolute top-2 left-2 origin-top-left bg-black/60
backdrop-blur-sm rounded-lg sm:rounded-xl p-2.5 sm:p-4 md:p-6 shadow-lg
max-w-[180px] sm:max-w-[220px] md:max-w-xs transform hover:scale-105
transition-all duration-300 ease-out z-10 border border-white/50"
Expand Down Expand Up @@ -257,7 +264,7 @@ const Info: React.FC = () => {
{/* Card on Bottom Right */}
{windowWidth >= 270 && (
<motion.div
className="absolute bottom-2 right-2 bg-black/60
className="absolute bottom-2 right-2 origin-bottom-right bg-black/60
backdrop-blur-sm rounded-lg sm:rounded-xl p-2.5 sm:p-4 md:p-6 shadow-lg
max-w-[180px] sm:max-w-[220px] md:max-w-xs transform hover:scale-105
transition-all duration-300 ease-out z-10 border border-white/50"
Expand Down
2 changes: 1 addition & 1 deletion src/sections/NavDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const NavDropdown: React.FC<NavDropdownProps> = ({
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: 10 }}
transition={{ duration: 0.2 }}
className="absolute left-0 mt-2 w-56 rounded-xl bg-white shadow-xl ring-1 ring-black ring-opacity-5 overflow-hidden"
className="absolute left-0 mt-2 w-56 rounded-xl bg-white shadow-lg border border-gray-200 overflow-hidden"
>
<div className="py-2">
{items.map((item) => (
Expand Down