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

Product details slider #44

Merged
merged 5 commits into from
Dec 19, 2023
Merged

Product details slider #44

merged 5 commits into from
Dec 19, 2023

Conversation

vlevik
Copy link
Contributor

@vlevik vlevik commented Dec 18, 2023

loom still doesn't work, so I added a few screenshots here
Знімок екрана 2023-12-19 101225
Знімок екрана 2023-12-19 101244
Знімок екрана 2023-12-19 101257


import { Breadcrumbs } from '../shared/Breadcrumbs';
import { BackButton } from '../shared/BackButton';
import { ProductDetailsSlider } from './components/ProductDetailsSlider';
import { PhoneDetail } from '../../types/PhoneDetail';
import { getPhoneDetail } from '../../api/service';
// import { ProductSlider } from '../shared/ProductSlider';
Copy link
Contributor

Choose a reason for hiding this comment

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

Dont forget to remove it if you don't need it)


export const NextArrow: React.FC = () => {
return (
<>
Copy link
Contributor

Choose a reason for hiding this comment

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

No need in a fragment component if you have only one child inside


export const PrevArrow: React.FC = () => {
return (
<>
Copy link
Contributor

Choose a reason for hiding this comment

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

Same story, fragment component is redundant

@import '../../../styles/blocks/grid';
@import '../../../styles/utils/variables/colors';

/* Arrows */
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't forget about comments)

@vlevik vlevik merged commit 936046e into master Dec 19, 2023
1 check passed
@mpohorenyi mpohorenyi deleted the productDetailsSlider branch December 27, 2023 08:03
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.

3 participants