-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Several page level components currently contain complex state management and side effect logic directly within their bodies. This violates the separation of concerns principle, making the components bloated and hard to maintain.
Below is an initial list of refactoring tasks and potential custom hooks
Pages to Refactor
- Home page: Extract animation logic and
useRefhooks. - About page: Move
useReflogic to the Hero component or a dedicated hook. - Team page: Extract animation variants and
useRefhooks. - Gallery page: Move
useRefanduseRouterlogic into a custom hook. - Clublife page: Extract animation variants into a shared location.
Suggested Custom Hooks to Create
-
useScrollDirection(for Navbar) -
useNavbarColor(for Navbar) -
useOnClickOutside(for MenuDrawer) -
useScrollVisibility(for ScrollDown) -
useResponsiveGrid(for MembersAndAlumni)
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed
Type
Projects
Status
Todo