Skip to content
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

add catalog moyo #4847

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

add catalog moyo #4847

wants to merge 2 commits into from

Conversation

azhadko98
Copy link

  • DEMO LINK

  • TEST REPORT LINK

  • All components follow BEM and use SCSS

  • Repeated sizes and special colors are put to variables

  • Grid is used for the columns

  • Cards are shown in 1, 2, 3, or 4 columns based on screen resolution

  • All changes on :hover are smooth

  • Code follows all the Code Style Rules ❗️

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.


Thank you for your hard work on this project! While your implementation covers many aspects of the task, there are a few critical issues that need to be addressed before we can approve the pull request:

  1. Image Sources: All product cards currently use the same image source ('../src/images/imac.jpeg'). If this is not intentional, please ensure each card has the correct image source to display the intended product images.

  2. Navigation Links: All navigation links have the same href attribute ('./src'). Please update these links to point to the correct destination pages to ensure proper navigation functionality.

  3. BEM Naming Conventions: Ensure consistent use of BEM naming conventions, particularly changing &-title to &__title for consistency.

  4. SCSS Selectors: The .body class is used instead of the body element selector. If you intend to style the HTML body element, please correct this to ensure styles are applied as intended.

These changes are crucial for the functionality and maintainability of your code. Once these issues are resolved, your work will be ready for approval. Keep up the great effort, and don't hesitate to reach out if you need further assistance! 😊

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

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

<li class="nav__item">
<a
class="nav__link is-active"
href="./src"

Choose a reason for hiding this comment

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

All navigation links have the same href attribute './src'. Ensure that each link points to the correct destination page.

<li class="nav__item">
<a
class="nav__link"
href="./src"

Choose a reason for hiding this comment

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

All navigation links have the same href attribute './src'. Ensure that each link points to the correct destination page.

<li class="nav__item">
<a
class="nav__link"
href="./src"

Choose a reason for hiding this comment

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

All navigation links have the same href attribute './src'. Ensure that each link points to the correct destination page.

<li class="nav__item">
<a
class="nav__link"
href="./src"

Choose a reason for hiding this comment

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

All navigation links have the same href attribute './src'. Ensure that each link points to the correct destination page.

<li class="nav__item">
<a
class="nav__link"
href="./src"

Choose a reason for hiding this comment

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

All navigation links have the same href attribute './src'. Ensure that each link points to the correct destination page.

</div>
<div class="card">
<img
src="../src/images/imac.jpeg"

Choose a reason for hiding this comment

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

The image source for all product cards is the same ('../src/images/imac.jpeg'). If this is not intentional, ensure each card has the correct image source.

@@ -0,0 +1,9 @@
.body {

Choose a reason for hiding this comment

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

The selector '.body' is targeting a class named 'body'. If you intend to style the HTML body element, use 'body' instead of '.body'.

padding-inline: 3px;
}

&-title {

Choose a reason for hiding this comment

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

The selector '&-title' should be '&__title' to follow the BEM naming convention consistently used elsewhere in the file.

background-color: white;
border: 1px solid #00acdc;
color: #00acdc;
transition: 0.3s;

Choose a reason for hiding this comment

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

Consider adding a transition property to the main '.card' class to ensure consistent animation effects across all hover interactions.

color: #00acdc;
}

.is-active {

Choose a reason for hiding this comment

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

Consider using a more descriptive class name instead of 'is-active' to avoid potential conflicts with other components. For example, 'nav__link--active' would be more specific and consistent with BEM naming conventions.

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.


Great effort on your submission! 🎉 While your code is on the right track, there are a few critical issues that need attention to ensure full functionality:

  1. Image Sources: All product cards currently use the same image source ('../src/images/imac.jpeg'). If this was not your intention, please ensure each card displays the correct product image.

  2. Navigation Links: All navigation links have the same href attribute ('./src'). Update these links to point to the correct destination pages for proper navigation functionality.

  3. SCSS Selectors: The .body class is used instead of the body element selector. If you intend to style the HTML body element, please correct this to ensure styles are applied as intended.

  4. BEM Naming Convention: Ensure consistent use of BEM naming conventions. Change &__title to &-title for consistency.

These issues should be addressed to enhance the quality and functionality of your code. Remember, addressing these points will help you improve and learn from this experience. Keep up the good work and continue to refine your skills! 😊

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

<li class="nav__item">
<a
class="nav__link is-active"
href="./src"

Choose a reason for hiding this comment

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

All navigation links have the same href attribute ('./src'). Please update these links to point to the correct destination pages to ensure proper navigation functionality.

<li class="nav__item">
<a
class="nav__link"
href="./src"

Choose a reason for hiding this comment

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

All navigation links have the same href attribute ('./src'). Please update these links to point to the correct destination pages to ensure proper navigation functionality.

<li class="nav__item">
<a
class="nav__link"
href="./src"

Choose a reason for hiding this comment

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

All navigation links have the same href attribute ('./src'). Please update these links to point to the correct destination pages to ensure proper navigation functionality.

<li class="nav__item">
<a
class="nav__link"
href="./src"

Choose a reason for hiding this comment

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

All navigation links have the same href attribute ('./src'). Please update these links to point to the correct destination pages to ensure proper navigation functionality.

<li class="nav__item">
<a
class="nav__link"
href="./src"

Choose a reason for hiding this comment

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

All navigation links have the same href attribute ('./src'). Please update these links to point to the correct destination pages to ensure proper navigation functionality.

</div>
<div class="card">
<img
src="../src/images/imac.jpeg"

Choose a reason for hiding this comment

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

All product cards currently use the same image source ('../src/images/imac.jpeg'). If this is not intentional, please ensure each card has the correct image source to display the intended product images.

</div>
<div class="card">
<img
src="../src/images/imac.jpeg"

Choose a reason for hiding this comment

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

All product cards currently use the same image source ('../src/images/imac.jpeg'). If this is not intentional, please ensure each card has the correct image source to display the intended product images.

</div>
<div class="card">
<img
src="../src/images/imac.jpeg"

Choose a reason for hiding this comment

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

All product cards currently use the same image source ('../src/images/imac.jpeg'). If this is not intentional, please ensure each card has the correct image source to display the intended product images.

@@ -0,0 +1,9 @@
.body {

Choose a reason for hiding this comment

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

The .body class is used instead of the body element selector. If you intend to style the HTML body element, please correct this to ensure styles are applied as intended.

padding-inline: 3px;
}

&__title {

Choose a reason for hiding this comment

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

Ensure consistent use of BEM naming conventions. Change &__title to &-title for consistency.

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