-
Notifications
You must be signed in to change notification settings - Fork 0
Rss ecomm 4 16 #203
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
Rss ecomm 4 16 #203
Conversation
Friday-13
left a comment
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.
Отличная работа! Я бы со своей стороны предложил подумать над файлом card-component: мне кажется, его текущее название и положение не до конца соответствуют его цели. Да, и просьба не закрывать таску на борде, т.к. там ещё подзадачи были.
| 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$', | ||
| }; |
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.
Я думал, эту информацию будем подтягиваться из АПИ. Вёрстка отличная, можем вмёрджить. Только таску пж не закрывай, чтобы была возможность доработки)
…and for discount codes
Friday-13
left a comment
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.
Everything good. Keep up the good work!
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) 📌
Comments (optional) 💬