diff --git a/src/shared/api/wp-client.ts b/src/shared/api/wp-client.ts
index 674c0a7..277b3f3 100644
--- a/src/shared/api/wp-client.ts
+++ b/src/shared/api/wp-client.ts
@@ -1,7 +1,7 @@
import WPAPI from "wpapi";
export const wp = new WPAPI({
- endpoint: "https://test.skbkit.ru/wp-json/",
+ endpoint: "https://kit.sfedu.ru/wp-json/",
username: "admin",
password: "admin",
});
diff --git a/src/widgets/CardList/CardListTemplate.tsx b/src/widgets/CardList/CardListTemplate.tsx
index 41355c8..46394fd 100644
--- a/src/widgets/CardList/CardListTemplate.tsx
+++ b/src/widgets/CardList/CardListTemplate.tsx
@@ -10,7 +10,7 @@ export const CardListTemplate = ({
gridConfig = { desktop: 3, tablet: 2, mobile: 1 },
title = "Наши лаборатории",
}: CardListProps) => {
- const itemsArray = Object.values(items);
+ const itemsArray = Object.values(items).reverse();
return (
<>
diff --git a/src/widgets/Slider/Slider.styles.scss b/src/widgets/Slider/Slider.styles.scss
index 7509c41..c4c875d 100644
--- a/src/widgets/Slider/Slider.styles.scss
+++ b/src/widgets/Slider/Slider.styles.scss
@@ -41,7 +41,7 @@
.swiper-slide.single {
.slide-image {
- width: auto;
+ width: 100%;
height: 100%;
border-radius: 0;
}
diff --git a/src/widgets/WpPost/WpPost.tsx b/src/widgets/WpPost/WpPost.tsx
index 35ec0ee..77b322f 100644
--- a/src/widgets/WpPost/WpPost.tsx
+++ b/src/widgets/WpPost/WpPost.tsx
@@ -45,7 +45,7 @@ export default function WpPost({
);
} else if (el.type === "slider") {
- const slider = ;
+ const slider = ;
return isSpecialTitle ? slider : (
{slider}
@@ -63,4 +63,4 @@ export default function WpPost({
)}
);
-}
+}
\ No newline at end of file