#1012: feat: Addedfollowing pointer on Homepage (PR #856)
Issue #1012 by harshitjaglan
feat: Addedfollowing pointer on Homepage (PR #856)
Pull Request Details
Description
To make the website more appealing I used user's avatar on homepage to pop up when hovered over a specific area.
Fixes
PR #856
Type of PR
- [ ] Bug fix
- [x] Feature enhancement
- [ ] Documentation update
- [ ] Refactoring
- [ ] Other (specify): ___
Summary
Added the feature to see your name and avatar when your cursor is over a specific area.
Screenshots (if applicable)
<img width="1033" alt="Screenshot 2024-06-05 at 12 05 45 AM" src="https://github.com/digitomize/digitomize/assets/116933487/314ed19c-0d9d-43be-82a5-d6d50b6ff322">
Additional Notes
- Dependencies installed:
npm i framer-motion clsx tailwind-merge
npm install random-avatar-generator
npm install unique-names-generator
- Also I linted the codebase
Checklist - [x] I have read and followed the Pull Requests and Issues guidelines. - [x] The code has been properly linted and formatted using
npm install unique-names-generator
- Also I linted the codebase
Checklist - [x] I have read and followed the Pull Requests and Issues guidelines. - [x] The code has been properly linted and formatted using
npm run lint:fix
and npm run format:fix
.
- [x] I have tested the changes thoroughly before submitting this pull request.
- [x] I have provided relevant issue numbers, snapshots, and videos after making the changes.
- [x] I have not borrowed code without disclosing it, if applicable.
- [x] This pull request is not a Work In Progress (WIP), and only completed and tested changes are included.
- [x] I have tested these changes locally.
- [x] My code follows the project's style guidelines.
- [x] I have updated the documentation accordingly.
- [x] This PR has a corresponding issue in the issue tracker.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
- New Features
- Introduced a follow pointer card component that tracks mouse movements and displays dynamic content on the home page.
- Added utility functions for combining class names and dynamic Tailwind CSS configurations.
- Enhancements
- Improved code readability, consistency, and formatting across multiple backend controllers and models.
- Enhanced error handling mechanisms in various backend controllers.
- Updated and added new dependencies in the client package.
- Bug Fixes
- Corrected indentation, spacing, and syntax errors in multiple backend files to ensure better code quality and maintainability.
- Refactor
- Refactored several backend controllers for better structure and readability.
- Reordered properties and adjusted formatting in various backend models and utility files.
- Style
- Adjusted formatting, added semicolons, and improved code alignment in several backend files.
- Chores
- Updated Tailwind CSS configuration to include new properties and dynamic color handling functions.
- Added new dependencies to the client package for avatar...0 Replies