diff --git a/src/pages/CardListPages/CardList.module.scss b/src/pages/CardListPages/CardList.module.scss
new file mode 100644
index 0000000..ffeb29c
--- /dev/null
+++ b/src/pages/CardListPages/CardList.module.scss
@@ -0,0 +1,36 @@
+.mainContainer {
+ margin: 0 10%;
+
+ @include mediaMax($mobile-xs-width) {
+ margin: 0 5%;
+ }
+}
+
+.title {
+ font-size: 36px;
+ font-weight: 600;
+ line-height: 44px;
+ margin-top: 0;
+ margin-bottom: 8px;
+
+ @include mediaMax($tablet-max-width) {
+ font-size: 24px;
+ margin-top: 0;
+ }
+}
+
+.skeletonGrid {
+ display: grid;
+ grid-template-columns: repeat(3, 1fr);
+ gap: 32px;
+ width: 100%;
+ margin: 0 auto;
+
+ @media (max-width: 768px) {
+ grid-template-columns: repeat(1, 1fr);
+ }
+
+ @media (min-width: 769px) and (max-width: 1024px) {
+ grid-template-columns: repeat(2, 1fr);
+ }
+}
\ No newline at end of file
diff --git a/src/pages/CardListPages/CardListPages.tsx b/src/pages/CardListPages/CardListPages.tsx
new file mode 100644
index 0000000..15f920c
--- /dev/null
+++ b/src/pages/CardListPages/CardListPages.tsx
@@ -0,0 +1,109 @@
+// pages/MainPage/ui/MainPage/Lists.tsx
+import { CardList } from "@/widgets/CardList/CardList";
+import { GridConfig } from "@/widgets/CardList/types";
+import { usePosts } from "@/modules/posts/hooks/usePosts";
+import styles from "./CardList.module.scss";
+import { useNews } from "@/modules";
+import {
+ transformNewsToCardData,
+ transformPostsToCardData,
+} from "@/pages/CardListPages/CardListFunctions";
+import CardSkeleton from "./ui/CardSkeleton";
+
+interface ListProps {
+ gridConfig?: GridConfig;
+}
+
+const NewsList = ({
+ gridConfig = { desktop: 3, tablet: 2, mobile: 1 },
+}: ListProps) => {
+ const { data: newsData, isLoading, isError } = useNews();
+ console.log(newsData);
+ if (isLoading)
+ return (
+
+
Новости
+
+ {[...Array(3)].map((_, index) => (
+
+ ))}
+
+ {/*
анимация прогрузки */}
+
+ );
+ if (isError) return Ошибка при загрузке данных;
+ return (
+
+ {newsData && (
+
+ )}
+
+ );
+};
+
+const LabsList = ({
+ gridConfig = { desktop: 3, tablet: 2, mobile: 1 },
+}: ListProps) => {
+ const { data: postsData, isLoading, isError } = usePosts();
+ const labs = postsData?.labs ? Object.values(postsData.labs) : [];
+ if (isLoading)
+ return (
+
+
Лаборатории
+ {/*
*/}
+
+ {[...Array(3)].map((_, index) => (
+
+ ))}
+
+
+ );
+ if (isError) return Ошибка при загрузке данных;
+ return (
+
+
+
+ );
+};
+
+const ProjectsList = ({
+ gridConfig = { desktop: 3, tablet: 2, mobile: 1 },
+}: ListProps) => {
+ const { data: postsData, isError, isLoading } = usePosts();
+ const projects = postsData?.projects ? Object.values(postsData.projects) : [];
+ if (isLoading)
+ return (
+
+
Проекты
+ {/*
*/}
+
+ {[...Array(3)].map((_, index) => (
+
+ ))}
+
+
+ );
+ if (isError) return Ошибка при загрузке данных;
+ return (
+
+
+
+ );
+};
+
+export { NewsList, LabsList, ProjectsList };
diff --git a/src/pages/CardListPages/ui/CardSkeleton.module.scss b/src/pages/CardListPages/ui/CardSkeleton.module.scss
new file mode 100644
index 0000000..afad60d
--- /dev/null
+++ b/src/pages/CardListPages/ui/CardSkeleton.module.scss
@@ -0,0 +1,51 @@
+.card {
+ position: relative;
+ width: 100%;
+ height: 250px;
+ border-radius: 8px;
+ background-color: #e0e0e0;
+ overflow: hidden;
+
+ @media (max-width: 768px) {
+ height: 215px !important;
+ }
+}
+
+.pic {
+ width: 100%;
+ height: 100%;
+ border-radius: 8px;
+ background-color: #ddd;
+ position: relative;
+}
+
+.shimmer {
+ position: absolute;
+ top: 0;
+ left: -150%;
+ width: 100%;
+ height: 100%;
+ background: linear-gradient(90deg,
+ rgba(255, 255, 255, 0) 0%,
+ rgba(255, 255, 255, 0.6) 50%,
+ rgba(255, 255, 255, 0) 100%);
+ animation: shimmer 1.5s infinite;
+}
+
+@keyframes shimmer {
+ 0% {
+ left: -150%;
+ }
+
+ 100% {
+ left: 150%;
+ }
+}
+
+.labsCard {
+ height: 300px;
+
+ @media (max-width: 768px) {
+ height: 215px !important;
+ }
+}
\ No newline at end of file
diff --git a/src/pages/CardListPages/ui/CardSkeleton.tsx b/src/pages/CardListPages/ui/CardSkeleton.tsx
new file mode 100644
index 0000000..81ad754
--- /dev/null
+++ b/src/pages/CardListPages/ui/CardSkeleton.tsx
@@ -0,0 +1,24 @@
+// shared/ui/CardSkeleton/CardSkeleton.tsx
+import styles from "./CardSkeleton.module.scss";
+
+interface CardSkeletonProps {
+ variant?: "default" | "lab";
+}
+
+const CardSkeleton = ({ variant = "default" }: CardSkeletonProps) => {
+ const cardClass =
+ variant === "lab"
+ ? `${styles.card} ${styles.labsCard}`
+ : styles.card;
+
+ return (
+
+ );
+};
+
+export default CardSkeleton;
+