Skip to content

Commit

Permalink
Merge pull request #235 from Studio-Yandex-Practicum/enhancement-137-…
Browse files Browse the repository at this point in the history
…change-Slider-to-fsd

#137-enhancement-Slider-changed-to-fsd
  • Loading branch information
JuliaAvramenko authored Mar 4, 2024
2 parents 91e8f44 + ededadf commit ce1fc59
Show file tree
Hide file tree
Showing 28 changed files with 551 additions and 305 deletions.
1 change: 0 additions & 1 deletion src/app/providers/StoreProvider/config/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ const rootReducer: ReducersMapObject<RootState> = {
stories: storiesReducer,
blogPosts: blogPostsReducer,
product: productSliceReducer

}

export function createReduxStore(initialState: RootState) {
Expand Down
12 changes: 12 additions & 0 deletions src/assets/icons/ArrowRightNextPage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/slider/info-slide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 0 additions & 28 deletions src/components/Arrows/Arrows.tsx

This file was deleted.

22 changes: 0 additions & 22 deletions src/components/Arrows/arrow.module.scss

This file was deleted.

38 changes: 0 additions & 38 deletions src/components/Dots/Dots.tsx

This file was deleted.

69 changes: 0 additions & 69 deletions src/components/Slider/Slider.tsx

This file was deleted.

101 changes: 0 additions & 101 deletions src/components/Slider/slider.module.scss

This file was deleted.

20 changes: 0 additions & 20 deletions src/components/SliderBlock/SliderBlock.tsx

This file was deleted.

7 changes: 0 additions & 7 deletions src/components/SliderBlock/slider-block.module.scss

This file was deleted.

46 changes: 46 additions & 0 deletions src/entities/HeroCard/HeroCard.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
@use '@/app/styles/index' as color;
@use '../../shared/styles/utils/mixins' as media;

.storybook {
width: 900px;
height: 700px;
}

.slider {
flex: 1 0 100%;
position: relative;
background-color: color.$theme-secondary-color;
}

.link {
color: color.$white;
position: absolute;
width: 100%;
height: 100%;

.content {
position: absolute;
left: 12%;
top: 100px;

@include media.respond-to('middle') {
left: 39%;
top: 5%;
}

.title {
margin-top: 12px;
margin-bottom: 20px;
color: color.$white;
}

.price {
display: inline-flex;
border-radius: 5px;
background: color.$white;
color: color.$body-color;
font-size: 25px;
padding: 10px 15px;
}
}
}
Loading

0 comments on commit ce1fc59

Please sign in to comment.