Skip to content

Conversation

@Kaarthik-07
Copy link

Marquee and Carosuel done
marquee functions :
hover on stop
hover on opacity reduce
responsive done

Map card button
Functions:
on hover map position changes
Added button for two cards section
Responsive design done
Smooth animation done for both sections

Dependency: to be installed
yarn add react-fast-marquee
yarn add framer-motion

@vercel
Copy link

vercel bot commented Feb 2, 2024

@Kaarthik-07 is attempting to deploy a commit to the cittakshashila Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Collaborator

@MKMukeshkannan MKMukeshkannan left a comment

Choose a reason for hiding this comment

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

  • Kindly remove the package-lock.json file
  • Use section instead of div for better code semantics
  • Rename images
  • Try to stay within tailwindcss and limit yourself from using inline styles and global css

"tailwindcss": "^3.3.0",
"typescript": "^5"
}
},
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • Remove the author, license, repository and main keys
  • Kindly rename the images with proper name.

return (
<>

<div className="flex justify-evenly">
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • replace div with section of better code semantics

const Images = [
{
id: 1,
src :'https://raw.githubusercontent.com/jesvijonathan/Takshashila/master/static/sponsors/Group%20298%20(1).webp',
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • do not use external images, use images in the repository


return (
<nav className="flex justify-between items-center h-16 fixed z-50 w-full p-8 pt-16 md:p-20">
<nav className="flex justify-between items-center h-16 fixed z-50 w-full p-8 pt-16 md:p-20 res">
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • try to use responsive breakpoint given in the tailwind, try to avoid writing custom breakpoints


{/* <div className="flex justify-center items-center h-screen"> */}
<div className="defaultStyle" style={{}}>
<div className="" style={{margin:'2%'}}>
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • don't use explicit inline styling, try to stay with tailwind classes

@Kaarthik-07 Kaarthik-07 closed this Feb 4, 2024
@Kaarthik-07
Copy link
Author

** Enhance Responsiveness and Update Marquee Animation**

Changes Introduced

This pull request introduces several updates aimed at improving the application's responsiveness and enhancing visual animations. Here are the key changes:

  • Responsive Design Adjustments: Implemented Tailwind CSS responsive classes to improve the layout on small (sm), medium (md), and large (lg) devices. This ensures that components like the map card section adapt smoothly across different screen sizes.

  • Marquee Animation: Enhanced the marquee section with smoother transitions and animations, providing a more dynamic user experience.

  • Image Naming: Renamed image assets for better consistency and to follow naming conventions, which will assist in maintainability and scalability.

  • Padding Reduction: Reduced padding in various components to allow for more screen real estate and a cleaner layout, particularly on mobile devices.

  • Small Devices:

Screenshot 2024-02-04 185148
Screenshot 2024-02-04 185204

**Medium Devices
Screenshot 2024-02-04 185217
Screenshot 2024-02-04 185225

-Large Devices:
Screenshot 2024-02-04 185240
Screenshot 2024-02-04 185251

@Kaarthik-07 Kaarthik-07 reopened this Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants