-
Notifications
You must be signed in to change notification settings - Fork 28
issue #120 #149
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
base: main
Are you sure you want to change the base?
issue #120 #149
Conversation
| highlighted?: boolean; | ||
| } | ||
|
|
||
| const PricingCard = ({ |
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.
Замени на props и доставай от туда значения уже в самом теле функции
| answer: string; | ||
| } | ||
|
|
||
| export const FaqCard: React.FC<FaqCardProps> = ({ question, answer }) => { |
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.
Замени на props и доставай от туда значения уже в самом теле функции
| highlighted?: boolean; | ||
| } | ||
|
|
||
| const PricingCard = ({ |
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.
Замени на props и доставай от туда значения уже в самом теле функции
| } | ||
|
|
||
|
|
||
| const FeatureCard: React.FC<FeatureCardProps> = ({ icon: Icon, title, description }) => { |
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.
Замени на props и доставай от туда значения уже в самом теле функции
В папку pages добавлена папка pricing-page, там две папки api и ui.
По аналогии со страницей AgencyPricingPage, в api - файл data.ts c данными для отображения, в ui - компоненты для страницы и сама страница.
Скриншоты:
Десктопные устройства:
Мобильные устройства: