Skip to content

Conversation

@Yar14k
Copy link

@Yar14k Yar14k commented Jan 27, 2026

No description provided.

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

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

Review Summary

You've done a great job separating the Article and Welcome components, and the overall structure is clean. However, this submission requires a change because the navigation block was not extracted into its own component, which is a core requirement of the task. The goal is to split the application into components based on distinct CSS blocks.

Please create a new Navigation component by following these steps:

  • Create a src/components/Navigation folder with Navigation.jsx and Navigation.css files inside.
  • Move the <nav> element and its contents from Header.jsx to Navigation.jsx.
  • Move the corresponding .navigation__link styles from Header.css to Navigation.css.
  • Finally, import and use the Navigation component inside your Header component.

This will complete the component decomposition as required. You're very close!


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Important

Fix the issues, commit the changes, and then re-request my review using the Re-request review button2 in the Reviewers tab.

Tip

If you have any comments about this review, please leave a message in the Add a comment section below and mention me with the @mateacademy-ai-mentor tag3.
I will read your message during my next review of your pull request. Please do not reply directly to my comments, as that feature is not supported yet.

Caution

Do not close the pull request until the review is complete. Closing it early can lead to unexpected behavior and disrupt the review process.

Footnotes

  1. Rate AI review example

  2. Re-request AI review example

  3. Add AI review comments example

Comment on lines 21 to 34
.navigation__link {
display: inline-block;
outline: none;
text-decoration: none;
opacity: 0.7;
padding: 0 0.5em;
color: black;
transition: opacity 0.2s ease-in-out;
}

.navigation__link:hover,
.navigation__link:focus {
opacity: 1;
}

Choose a reason for hiding this comment

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

These styles belong to the navigation BEM block. According to the task description, you should split the application into components based on CSS blocks. It's recommended to create a separate Navigation component and move this CSS into its own file (Navigation/Navigation.css).

Comment on lines 7 to 17
<nav className="navigation">
<a className="navigation__link" href="#about">
About
</a>
<a className="navigation__link" href="#services">
Services
</a>
<a className="navigation__link" href="#contact">
Contact
</a>
</nav>

Choose a reason for hiding this comment

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

This <nav> element and its content form a distinct 'navigation' BEM block. As per the task instructions, this should be extracted into its own Navigation component. You should create a new folder src/components/Navigation, create Navigation.jsx and Navigation.css inside it, and move this logic there.

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

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

Review Summary

Great job on correctly separating the Article and Welcome components! However, changes are needed because the core requirement to extract the navigation logic into its own component has not been met. This was also pointed out in the previous review.

To complete the task, please follow these steps:

  1. Create a new folder src/components/Navigation.
  2. Inside this folder, create Navigation.jsx and Navigation.css.
  3. Move the <nav> element and its contents from Header.jsx into Navigation.jsx.
  4. Move the corresponding .navigation__link styles from Header.css into Navigation.css.
  5. Import and use the new Navigation component within the Header component.

Once the Navigation component is properly extracted, your solution will be ready. Keep up the good work!


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Important

Fix the issues, commit the changes, and then re-request my review using the Re-request review button2 in the Reviewers tab.

Tip

If you have any comments about this review, please leave a message in the Add a comment section below and mention me with the @mateacademy-ai-mentor tag3.
I will read your message during my next review of your pull request. Please do not reply directly to my comments, as that feature is not supported yet.

Caution

Do not close the pull request until the review is complete. Closing it early can lead to unexpected behavior and disrupt the review process.

Footnotes

  1. Rate AI review example

  2. Re-request AI review example

  3. Add AI review comments example

Comment on lines +26 to +43
.navigation__link {
display: inline-block;

padding: 0 0.5em;

color: black;
text-decoration: none;

opacity: 0.7;
outline: none;

transition: opacity 0.2s ease-in-out;
}

.navigation__link:hover,
.navigation__link:focus {
opacity: 1;
}

Choose a reason for hiding this comment

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

These navigation styles should be moved to the Navigation.css file, which should be created inside a new Navigation component folder. The task requires splitting the CSS along with the components.

Comment on lines 7 to 17
<nav className="navigation">
<a className="navigation__link" href="#about">
About
</a>
<a className="navigation__link" href="#services">
Services
</a>
<a className="navigation__link" href="#contact">
Contact
</a>
</nav>

Choose a reason for hiding this comment

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

This nav element and its content should be moved to a separate Navigation component. The task requires splitting the UI into components based on CSS blocks, and navigation is a distinct block that needs its own component.

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

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

Review Summary

Excellent progress on this task! You've done a fantastic job creating the Navigation component and separating the logic, which was the main goal. Your project structure is much cleaner now.

I am approving your solution as an educational override so you can move forward, but please note there is one small thing to fix. The styles for the navigation links are still present in src/components/Header/Header.css. Since you've correctly moved them to Navigation.css, the old styles in Header.css are now redundant and should be removed to complete the component separation.

Keep up the great work!


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

Comment on lines +26 to +43
.navigation__link {
display: inline-block;

padding: 0 0.5em;

color: black;
text-decoration: none;

opacity: 0.7;
outline: none;

transition: opacity 0.2s ease-in-out;
}

.navigation__link:hover,
.navigation__link:focus {
opacity: 1;
}

Choose a reason for hiding this comment

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

These styles belong to the Navigation component. Since they have already been moved to Navigation.css, this block of code is now redundant and should be removed from this file.

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.

2 participants