Skip to content

Conversation

@InStageTwo
Copy link
Collaborator

Related task(s)/issue(s) 🔗

RSS-ECOMM-4_16

Description 📋

Display promo-code cards on the main page.
Make card-components for firther use on about-us page.

Done / deadline 📅

11.05.2024 / 16.05.2024

Screenshot/Illustration (optional) 📌

image
image

Comments (optional) 💬

@InStageTwo InStageTwo linked an issue Jun 11, 2024 that may be closed by this pull request
4 tasks
Copy link
Owner

@Friday-13 Friday-13 left a comment

Choose a reason for hiding this comment

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

Отличная работа! Я бы со своей стороны предложил подумать над файлом card-component: мне кажется, его текущее название и положение не до конца соответствуют его цели. Да, и просьба не закрывать таску на борде, т.к. там ещё подзадачи были.

Comment on lines 46 to 63
const cardAttr1: ICardAttributes = {
inputValue: 'DISCOUNT10',
description: 'GET 30% OFF YOUR CART WITH ORDERS OVER 1000$',
};
const card1 = new CardComponent(cardAttr1, discountContainer);
promoSection.appendChild(card1);

const cardAttr2: ICardAttributes = {
inputValue: 'DISCOUNT20',
description: 'TAKE AN EXTRA 20% OFF FOR ORDERS OVER 1000€',
};
const card2 = new CardComponent(cardAttr2, discountContainer);
promoSection.appendChild(card2);

const cardAttr3: ICardAttributes = {
inputValue: 'DISCOUNT30',
description: 'GET 30% OFF YOUR CART WITH ORDERS OVER 1500$',
};
Copy link
Owner

Choose a reason for hiding this comment

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

Я думал, эту информацию будем подтягиваться из АПИ. Вёрстка отличная, можем вмёрджить. Только таску пж не закрывай, чтобы была возможность доработки)

Copy link
Owner

@Friday-13 Friday-13 left a comment

Choose a reason for hiding this comment

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

Everything good. Keep up the good work!

@InStageTwo InStageTwo merged commit 968ce55 into release/basket-about_us Jun 12, 2024
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.

RSS-ECOMM-4_16: Implement Promo Code Application Feature

5 participants