-
{product.id}
-
{product.name}
+
+
+
+
+
+ {product.code}
+
+ {product.name}
+
+
)
}
diff --git a/src/features/ProductImgCarousel/ProductImgCarousel.module.scss b/src/entities/ProductImgCarousel/ProductImgCarousel.module.scss
similarity index 100%
rename from src/features/ProductImgCarousel/ProductImgCarousel.module.scss
rename to src/entities/ProductImgCarousel/ProductImgCarousel.module.scss
diff --git a/src/features/ProductImgCarousel/ProductImgCarousel.stories.tsx b/src/entities/ProductImgCarousel/ProductImgCarousel.stories.tsx
similarity index 100%
rename from src/features/ProductImgCarousel/ProductImgCarousel.stories.tsx
rename to src/entities/ProductImgCarousel/ProductImgCarousel.stories.tsx
diff --git a/src/features/ProductImgCarousel/ProductImgCarousel.tsx b/src/entities/ProductImgCarousel/ProductImgCarousel.tsx
similarity index 86%
rename from src/features/ProductImgCarousel/ProductImgCarousel.tsx
rename to src/entities/ProductImgCarousel/ProductImgCarousel.tsx
index 5f465496..6d6905c7 100644
--- a/src/features/ProductImgCarousel/ProductImgCarousel.tsx
+++ b/src/entities/ProductImgCarousel/ProductImgCarousel.tsx
@@ -1,10 +1,10 @@
import { useState, type FC, Dispatch, SetStateAction } from 'react'
+import { ImgCarousel } from '@/entities/ProductImgCarousel/ui/ImgCarousel/ImgCarousel'
+import { PreviewCarousel } from '@/entities/ProductImgCarousel/ui/PreviewCarousel/PreviewCarousel'
import type { IImage } from '@/shared/model/types/ImageModel'
import styles from './ProductImgCarousel.module.scss'
-import { ImgCarousel } from './ui/ImgCarousel/ImgCarousel'
-import { PreviewCarousel } from './ui/PreviewCarousel/PreviewCarousel'
interface IProductImgCarouselProps {
imgList: IImage[]
diff --git a/src/features/ProductImgCarousel/model/constants/constants.ts b/src/entities/ProductImgCarousel/model/constants/constants.ts
similarity index 100%
rename from src/features/ProductImgCarousel/model/constants/constants.ts
rename to src/entities/ProductImgCarousel/model/constants/constants.ts
diff --git a/src/features/ProductImgCarousel/model/functions/functions.ts b/src/entities/ProductImgCarousel/model/functions/functions.ts
similarity index 100%
rename from src/features/ProductImgCarousel/model/functions/functions.ts
rename to src/entities/ProductImgCarousel/model/functions/functions.ts
diff --git a/src/features/ProductImgCarousel/model/types/productImgCarouselType.ts b/src/entities/ProductImgCarousel/model/types/productImgCarouselType.ts
similarity index 100%
rename from src/features/ProductImgCarousel/model/types/productImgCarouselType.ts
rename to src/entities/ProductImgCarousel/model/types/productImgCarouselType.ts
diff --git a/src/features/ProductImgCarousel/ui/ImgCarousel/ImgCarousel.module.scss b/src/entities/ProductImgCarousel/ui/ImgCarousel/ImgCarousel.module.scss
similarity index 100%
rename from src/features/ProductImgCarousel/ui/ImgCarousel/ImgCarousel.module.scss
rename to src/entities/ProductImgCarousel/ui/ImgCarousel/ImgCarousel.module.scss
diff --git a/src/features/ProductImgCarousel/ui/ImgCarousel/ImgCarousel.tsx b/src/entities/ProductImgCarousel/ui/ImgCarousel/ImgCarousel.tsx
similarity index 94%
rename from src/features/ProductImgCarousel/ui/ImgCarousel/ImgCarousel.tsx
rename to src/entities/ProductImgCarousel/ui/ImgCarousel/ImgCarousel.tsx
index 1c9e3f37..cfed3e29 100644
--- a/src/features/ProductImgCarousel/ui/ImgCarousel/ImgCarousel.tsx
+++ b/src/entities/ProductImgCarousel/ui/ImgCarousel/ImgCarousel.tsx
@@ -1,11 +1,10 @@
import React, { FC, useEffect, useMemo, useState } from 'react'
+import { IMG_SIZE_PAGE, IMG_SIZE_POPUP } from '@/entities/ProductImgCarousel/model/constants/constants'
+import { TImgCarouselProps } from '@/entities/ProductImgCarousel/model/types/productImgCarouselType'
import { bodyScrollControl } from '@/shared/libs/helpers/popupHelper'
import { useResize } from '@/shared/libs/hooks/useResize'
-import { IMG_SIZE_PAGE, IMG_SIZE_POPUP } from '../../model/constants/constants'
-import { TImgCarouselProps } from '../../model/types/productImgCarouselType'
-
import styles from './ImgCarousel.module.scss'
/**
diff --git a/src/features/ProductImgCarousel/ui/PreviewCarousel/PreviewCarousel.module.scss b/src/entities/ProductImgCarousel/ui/PreviewCarousel/PreviewCarousel.module.scss
similarity index 100%
rename from src/features/ProductImgCarousel/ui/PreviewCarousel/PreviewCarousel.module.scss
rename to src/entities/ProductImgCarousel/ui/PreviewCarousel/PreviewCarousel.module.scss
diff --git a/src/features/ProductImgCarousel/ui/PreviewCarousel/PreviewCarousel.tsx b/src/entities/ProductImgCarousel/ui/PreviewCarousel/PreviewCarousel.tsx
similarity index 94%
rename from src/features/ProductImgCarousel/ui/PreviewCarousel/PreviewCarousel.tsx
rename to src/entities/ProductImgCarousel/ui/PreviewCarousel/PreviewCarousel.tsx
index 35efac3d..0f8a4f4f 100644
--- a/src/features/ProductImgCarousel/ui/PreviewCarousel/PreviewCarousel.tsx
+++ b/src/entities/ProductImgCarousel/ui/PreviewCarousel/PreviewCarousel.tsx
@@ -2,13 +2,15 @@ import { type FC, useState, useEffect, useMemo, Dispatch, SetStateAction, MouseE
import IconArrowDown from '@/assets/icons/IconArrowDown.svg'
import IconArrowUp from '@/assets/icons/IconArrowUp.svg'
+import { getDisplayedIndex, slicedImgList } from '@/entities/ProductImgCarousel/model/functions/functions'
+import type {
+ TDisplayedImgList,
+ TChangeImgArgs
+} from '@/entities/ProductImgCarousel/model/types/productImgCarouselType'
import type { IImage } from '@/shared/model/types/ImageModel'
import { Button, ButtonTheme, ButtonDesign, ButtonSize } from '@/shared/ui/Button/Button'
import { DISPLAYED_IMAGES_NUMBER } from '@/widgets/Product/model/constants/constants'
-import { getDisplayedIndex, slicedImgList } from '../../model/functions/functions'
-import type { TDisplayedImgList, TChangeImgArgs } from '../../model/types/productImgCarouselType'
-
import styles from './PreviewCarousel.module.scss'
interface IPreviewCarouselProps {
diff --git a/src/entities/ReviewCard/ui/ReviewCardFeedback/ReviewCardFeedback.tsx b/src/entities/ReviewCard/ui/ReviewCardFeedback/ReviewCardFeedback.tsx
index 449f0b77..d628ba70 100644
--- a/src/entities/ReviewCard/ui/ReviewCardFeedback/ReviewCardFeedback.tsx
+++ b/src/entities/ReviewCard/ui/ReviewCardFeedback/ReviewCardFeedback.tsx
@@ -55,7 +55,7 @@ export const ReviewCardFeedback: FC
= ({ pk, text, sco
{text}
{newDate}
-
+
Читать полный отзыв
diff --git a/src/entities/ReviewCard/ui/ReviewCardStore/ReviewCardStore.tsx b/src/entities/ReviewCard/ui/ReviewCardStore/ReviewCardStore.tsx
index d6b1f7cc..5ace4ab6 100644
--- a/src/entities/ReviewCard/ui/ReviewCardStore/ReviewCardStore.tsx
+++ b/src/entities/ReviewCard/ui/ReviewCardStore/ReviewCardStore.tsx
@@ -29,7 +29,7 @@ export const ReviewCardStore: FC