mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 06:09:45 +00:00
Merge branch 'master' into fixes
This commit is contained in:
commit
db811f140a
4 files changed
+5
-5
No files matched your search
@@ -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",
|
||||
});
|
||||
|
||||
@@ -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 (
|
||||
<>
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
.swiper-slide.single {
|
||||
.slide-image {
|
||||
width: auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ export default function WpPost({
|
||||
</PageContent>
|
||||
);
|
||||
} else if (el.type === "slider") {
|
||||
const slider = <NewSlider key={index} images={el.value} slidesPerView={4} />;
|
||||
const slider = <NewSlider key={index} images={el.value} />;
|
||||
return isSpecialTitle ? slider : (
|
||||
<PageContent key={index} className="content">
|
||||
{slider}
|
||||
@@ -63,4 +63,4 @@ export default function WpPost({
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user