-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
549-refactor: Widget mentors #595
Conversation
Lighthouse Report:
|
Lighthouse Report:
|
Lighthouse Report:
|
Hmm... looked again and now it's ok |
Lighthouse Report:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
π§Ή Outside diff range and nitpick comments (2)
src/widgets/mentors/ui/mentors.module.scss (1)
15-20
: Approved: Mascot sizing for tablets.The
.sloth-mascot
rule correctly sizes the mascot for tablets.Consider adding styles for other screen sizes to ensure consistent appearance across all devices.
src/app/const/index.ts (1)
4-4
: LGTM. Consider adding a comment.The new constant is well-placed and follows the existing naming convention.
Add a brief comment explaining the purpose of
MENTORS_WANTED
:export const ANCHORS = { ABOUT_COMMUNITY: 'about-community', ABOUT_SCHOOL: 'about-school', + // Anchor for the section where mentors can register MENTORS_WANTED: 'mentors-wanted', };
π Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
π Files selected for processing (5)
- src/app/const/index.ts (1 hunks)
- src/widgets/mentors/ui/mentors.module.scss (1 hunks)
- src/widgets/mentors/ui/mentors.test.tsx (1 hunks)
- src/widgets/mentors/ui/mentors.tsx (2 hunks)
- src/widgets/school-menu/ui/school-menu.tsx (1 hunks)
π§ Files skipped from review as they are similar to previous changes (2)
- src/widgets/mentors/ui/mentors.test.tsx
- src/widgets/mentors/ui/mentors.tsx
π§° Additional context used
π Additional comments (4)
src/widgets/mentors/ui/mentors.module.scss (3)
1-6
: Approved: Responsive layout structure.The container and content styling provide a solid foundation for responsive design.
Also applies to: 22-26
7-13
: Approved: Responsive width for info section.The
.mentors-info
rule adapts well to different screen sizes.
1-27
: Approved: Well-structured SCSS module.The file demonstrates proper use of SCSS nesting and media queries, enhancing maintainability.
src/widgets/school-menu/ui/school-menu.tsx (1)
21-21
: Good use of constant for URL.Replacing hardcoded URL with
ANCHORS.MENTORS_WANTED
improves maintainability.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please pull the changes from the main branch to fix the failing test in CI/CD
Lighthouse Report:
|
Lighthouse Report:
|
What type of PR is this? (select all that apply)
Description
Related Tickets & Documents
Added/updated tests?
Summary by CodeRabbit
New Features
MENTORS_WANTED
for improved URL management.Bug Fixes
Chores