From 6407fdef8994236098591f3ac9eeb673d4b9c04a Mon Sep 17 00:00:00 2001 From: xomimishka Date: Thu, 24 Apr 2025 13:32:47 +0300 Subject: [PATCH 1/4] shim --- src/widgets/CardList/CardList.module.scss | 16 ++++++ src/widgets/CardList/CardList.tsx | 28 +++++++--- .../CardList/ui/CardSkeleton.module.scss | 51 +++++++++++++++++++ src/widgets/CardList/ui/CardSkeleton.tsx | 24 +++++++++ 4 files changed, 113 insertions(+), 6 deletions(-) create mode 100644 src/widgets/CardList/ui/CardSkeleton.module.scss create mode 100644 src/widgets/CardList/ui/CardSkeleton.tsx diff --git a/src/widgets/CardList/CardList.module.scss b/src/widgets/CardList/CardList.module.scss index 778cba5..110b88c 100644 --- a/src/widgets/CardList/CardList.module.scss +++ b/src/widgets/CardList/CardList.module.scss @@ -15,3 +15,19 @@ 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/widgets/CardList/CardList.tsx b/src/widgets/CardList/CardList.tsx index be7135c..9584745 100644 --- a/src/widgets/CardList/CardList.tsx +++ b/src/widgets/CardList/CardList.tsx @@ -9,6 +9,7 @@ import { transformPostsToCardData, } from "@/widgets/CardList/CardListFunctions"; import { usePostProjects } from "@/modules/posts/hooks/usePostProjects"; +import CardSkeleton from "./ui/CardSkeleton"; interface ListProps { gridConfig?: GridConfig; @@ -24,11 +25,16 @@ const NewsList = ({ return (

Новости

- +
+ {[...Array(3)].map((_, index) => ( + + ))} +
+ {/* анимация прогрузки */}
); - if (isError) return
Ошибка при загрузке данных
; + if (isError) return
Ошибка при загрузке данных
; return (
@@ -54,11 +60,16 @@ const LabsList = ({ return (

Лаборатории

- + {/* */} +
+ {[...Array(3)].map((_, index) => ( + + ))} +
); - if (isError) return
Ошибка при загрузке данных
; + if (isError) return
Ошибка при загрузке данных
; return (
@@ -83,11 +94,16 @@ const ProjectsList = ({ return (

Проекты

- + {/* */} +
+ {[...Array(3)].map((_, index) => ( + + ))} +
); - if (isError || !projects) return
Ошибка при загрузке данных
; + if (isError || !projects) return
Ошибка при загрузке данных
; return (
diff --git a/src/widgets/CardList/ui/CardSkeleton.module.scss b/src/widgets/CardList/ui/CardSkeleton.module.scss new file mode 100644 index 0000000..afad60d --- /dev/null +++ b/src/widgets/CardList/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/widgets/CardList/ui/CardSkeleton.tsx b/src/widgets/CardList/ui/CardSkeleton.tsx new file mode 100644 index 0000000..81ad754 --- /dev/null +++ b/src/widgets/CardList/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; + From a40a4724af9610a401132e1e196e14b51105464f Mon Sep 17 00:00:00 2001 From: xomimishka Date: Thu, 24 Apr 2025 13:32:47 +0300 Subject: [PATCH 2/4] shim --- src/widgets/CardList/CardList.module.scss | 16 ++++++ src/widgets/CardList/CardList.tsx | 24 +++++++-- .../CardList/ui/CardSkeleton.module.scss | 51 +++++++++++++++++++ src/widgets/CardList/ui/CardSkeleton.tsx | 24 +++++++++ 4 files changed, 110 insertions(+), 5 deletions(-) create mode 100644 src/widgets/CardList/ui/CardSkeleton.module.scss create mode 100644 src/widgets/CardList/ui/CardSkeleton.tsx diff --git a/src/widgets/CardList/CardList.module.scss b/src/widgets/CardList/CardList.module.scss index 778cba5..110b88c 100644 --- a/src/widgets/CardList/CardList.module.scss +++ b/src/widgets/CardList/CardList.module.scss @@ -15,3 +15,19 @@ 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/widgets/CardList/CardList.tsx b/src/widgets/CardList/CardList.tsx index 809ee2a..e372230 100644 --- a/src/widgets/CardList/CardList.tsx +++ b/src/widgets/CardList/CardList.tsx @@ -9,6 +9,7 @@ import { transformPostsToCardData, } from "@/widgets/CardList/CardListFunctions"; import { usePostProjects } from "@/modules/posts/hooks/usePostProjects"; +import CardSkeleton from "./ui/CardSkeleton"; interface ListProps { gridConfig?: GridConfig; @@ -24,11 +25,16 @@ const NewsList = ({ return (

Новости

- +
+ {[...Array(3)].map((_, index) => ( + + ))} +
+ {/* анимация прогрузки */}
); - if (isError) return
Ошибка при загрузке данных
; + if (isError) return
Ошибка при загрузке данных
; return (
@@ -43,7 +49,7 @@ const NewsList = ({
); }; - +// TODO: вынести array cardSkeleton Отдельно const LabsList = ({ gridConfig = { desktop: 3, tablet: 2, mobile: 1 }, }: ListProps) => { @@ -54,7 +60,11 @@ const LabsList = ({ return (

Лаборатории

- +
+ {[...Array(3)].map((_, index) => ( + + ))} +
); @@ -83,7 +93,11 @@ const ProjectsList = ({ return (

Наши проекты

- +
+ {[...Array(3)].map((_, index) => ( + + ))} +
); diff --git a/src/widgets/CardList/ui/CardSkeleton.module.scss b/src/widgets/CardList/ui/CardSkeleton.module.scss new file mode 100644 index 0000000..afad60d --- /dev/null +++ b/src/widgets/CardList/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/widgets/CardList/ui/CardSkeleton.tsx b/src/widgets/CardList/ui/CardSkeleton.tsx new file mode 100644 index 0000000..81ad754 --- /dev/null +++ b/src/widgets/CardList/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; + From b466ddfc812e7af0af721acb7b9c0282f5fb9df6 Mon Sep 17 00:00:00 2001 From: ifraimka1 Date: Tue, 29 Apr 2025 12:27:53 +0300 Subject: [PATCH 3/4] =?UTF-8?q?=D0=92=D1=8B=D0=BD=D0=B5=D1=81=20=D1=88?= =?UTF-8?q?=D0=B8=D0=BC=D0=B5=D1=80=20=D0=B2=20=D0=BE=D0=B1=D1=89=D0=B8?= =?UTF-8?q?=D0=B9=20=D0=BA=D0=BE=D0=BC=D0=BF=D0=BE=D0=BD=D0=B5=D0=BD=D1=82?= =?UTF-8?q?,=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20=D0=BA=D0=BE?= =?UTF-8?q?=D0=BC=D0=BF=D0=BE=D0=BD=D0=B5=D0=BD=D1=82=20WithLoading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SkeletonGrid/SkeletonCard.module.scss} | 0 .../Components/SkeletonGrid/SkeletonCard.tsx} | 11 +- .../SkeletonGrid/SkeletonGrid.module.scss | 15 +++ .../Components/SkeletonGrid/SkeletonGrid.tsx | 33 +++++ .../Components/WithLoading/WithLoading.tsx | 44 +++++++ src/shared/styles/cardGrid.module.scss | 52 ++++++++ src/widgets/CardList/CardList.module.scss | 23 +--- src/widgets/CardList/CardList.tsx | 120 +++++++----------- .../CardList/CardListTemplate.module.scss | 26 ++-- vite.config.ts | 2 +- 10 files changed, 215 insertions(+), 111 deletions(-) rename src/{widgets/CardList/ui/CardSkeleton.module.scss => shared/Components/SkeletonGrid/SkeletonCard.module.scss} (100%) rename src/{widgets/CardList/ui/CardSkeleton.tsx => shared/Components/SkeletonGrid/SkeletonCard.tsx} (58%) create mode 100644 src/shared/Components/SkeletonGrid/SkeletonGrid.module.scss create mode 100644 src/shared/Components/SkeletonGrid/SkeletonGrid.tsx create mode 100644 src/shared/Components/WithLoading/WithLoading.tsx create mode 100644 src/shared/styles/cardGrid.module.scss diff --git a/src/widgets/CardList/ui/CardSkeleton.module.scss b/src/shared/Components/SkeletonGrid/SkeletonCard.module.scss similarity index 100% rename from src/widgets/CardList/ui/CardSkeleton.module.scss rename to src/shared/Components/SkeletonGrid/SkeletonCard.module.scss diff --git a/src/widgets/CardList/ui/CardSkeleton.tsx b/src/shared/Components/SkeletonGrid/SkeletonCard.tsx similarity index 58% rename from src/widgets/CardList/ui/CardSkeleton.tsx rename to src/shared/Components/SkeletonGrid/SkeletonCard.tsx index 81ad754..9336a68 100644 --- a/src/widgets/CardList/ui/CardSkeleton.tsx +++ b/src/shared/Components/SkeletonGrid/SkeletonCard.tsx @@ -1,11 +1,11 @@ -// shared/ui/CardSkeleton/CardSkeleton.tsx -import styles from "./CardSkeleton.module.scss"; +// shared/Components/SkeletonCard/SkeletonCard.tsx +import styles from "./SkeletonCard.module.scss"; -interface CardSkeletonProps { +interface SkeletonCardProps { variant?: "default" | "lab"; } -const CardSkeleton = ({ variant = "default" }: CardSkeletonProps) => { +const SkeletonCard = ({ variant = "default" }: SkeletonCardProps) => { const cardClass = variant === "lab" ? `${styles.card} ${styles.labsCard}` @@ -20,5 +20,4 @@ const CardSkeleton = ({ variant = "default" }: CardSkeletonProps) => { ); }; -export default CardSkeleton; - +export default SkeletonCard; diff --git a/src/shared/Components/SkeletonGrid/SkeletonGrid.module.scss b/src/shared/Components/SkeletonGrid/SkeletonGrid.module.scss new file mode 100644 index 0000000..889114a --- /dev/null +++ b/src/shared/Components/SkeletonGrid/SkeletonGrid.module.scss @@ -0,0 +1,15 @@ +.skeletonGrid { + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: 2rem; + width: 100%; + margin: 0 10%; + + @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/shared/Components/SkeletonGrid/SkeletonGrid.tsx b/src/shared/Components/SkeletonGrid/SkeletonGrid.tsx new file mode 100644 index 0000000..aa4da02 --- /dev/null +++ b/src/shared/Components/SkeletonGrid/SkeletonGrid.tsx @@ -0,0 +1,33 @@ +// shared/ui/SkeletonGrid/SkeletonGrid.tsx +import React from "react"; +import SkeletonCard from "./SkeletonCard"; +import styles from "@/shared/styles/cardGrid.module.scss"; + +interface SkeletonGridProps { + count?: number; + gridConfig?: { desktop: number; tablet: number; mobile: number }; + variant?: "default" | "lab"; +} + +export const SkeletonGrid = ({ + count = 3, + gridConfig = { desktop: 3, tablet: 2, mobile: 1 }, + variant = "default", +}: SkeletonGridProps) => { + return ( +
+
+ {[...Array(count)].map((_, index) => ( + + ))} +
+
+ ); +}; \ No newline at end of file diff --git a/src/shared/Components/WithLoading/WithLoading.tsx b/src/shared/Components/WithLoading/WithLoading.tsx new file mode 100644 index 0000000..4e15aa8 --- /dev/null +++ b/src/shared/Components/WithLoading/WithLoading.tsx @@ -0,0 +1,44 @@ +// shared/lib/withLoading/withLoading.tsx +import React from "react"; +import { SkeletonGrid } from "../SkeletonGrid/SkeletonGrid"; + +interface WithLoadingProps { + isLoading: boolean; + isError: boolean; + count?: number; + gridConfig?: { desktop: number; tablet: number; mobile: number }; + variant?: "default" | "lab"; + children: React.ReactNode; +} + +export const WithLoading = ({ + isLoading, + isError, + count = 3, + gridConfig = { desktop: 3, tablet: 2, mobile: 1 }, + variant = "default", + children, +}: WithLoadingProps) => { + if (isLoading) { + return ( + + ); + } + + if (isError) { + return
Ошибка при загрузке данных
; + } + + // return <>{children}; + return ( + + ); +}; \ No newline at end of file diff --git a/src/shared/styles/cardGrid.module.scss b/src/shared/styles/cardGrid.module.scss new file mode 100644 index 0000000..49ca5ee --- /dev/null +++ b/src/shared/styles/cardGrid.module.scss @@ -0,0 +1,52 @@ +// shared/styles/cardGrid.module.scss +:export { + --desktop-columns: 3; + --tablet-columns: 2; + --mobile-columns: 1; +} + +.mainContainer { + margin: 0 10%; + + @include mediaMax($mobile-xs-width) { + margin: 0 5%; + } +} + +.gridСontainer { + display: grid; + gap: 2rem; + margin: 0 auto; + width: 100%; + max-width: 100%; + box-sizing: border-box; + + grid-template-columns: repeat(3, 1fr); + + @media (max-width: 1024px) { + grid-template-columns: repeat(var(--tablet-columns), 1fr); + } + + @media (max-width: 768px) { + grid-template-columns: repeat(var(--mobile-columns), 1fr); + } +} + +.cardSizes { + &--lab { + height: 300px; + + @media (max-width: 768px) { + height: 215px; + } + } + + &--news, + &--project { + height: 250px; + + @media (max-width: 768px) { + height: 215px; + } + } +} \ No newline at end of file diff --git a/src/widgets/CardList/CardList.module.scss b/src/widgets/CardList/CardList.module.scss index 110b88c..b5851b2 100644 --- a/src/widgets/CardList/CardList.module.scss +++ b/src/widgets/CardList/CardList.module.scss @@ -1,33 +1,12 @@ -.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/widgets/CardList/CardList.tsx b/src/widgets/CardList/CardList.tsx index e372230..4a11929 100644 --- a/src/widgets/CardList/CardList.tsx +++ b/src/widgets/CardList/CardList.tsx @@ -1,5 +1,6 @@ // pages/MainPage/ui/MainPage/Lists.tsx import { CardListTemplate } from "@/widgets/CardList/CardListTemplate"; +import { WithLoading } from "@/shared/Components/WithLoading/WithLoading"; import { GridConfig } from "@/widgets/CardList/types"; import { usePosts } from "@/modules/posts/hooks/usePosts"; import styles from "./CardList.module.scss"; @@ -9,7 +10,6 @@ import { transformPostsToCardData, } from "@/widgets/CardList/CardListFunctions"; import { usePostProjects } from "@/modules/posts/hooks/usePostProjects"; -import CardSkeleton from "./ui/CardSkeleton"; interface ListProps { gridConfig?: GridConfig; @@ -21,64 +21,48 @@ const NewsList = ({ }: ListProps) => { const { data: newsData, isLoading, isError } = useNews(); - if (isLoading) - return ( -
-

Новости

-
- {[...Array(3)].map((_, index) => ( - - ))} -
- {/* анимация прогрузки */} -
- ); - - if (isError) return
Ошибка при загрузке данных
; - return ( -
- {newsData && ( - - )} -
+ +
+ {newsData && ( + + )} +
+
); }; -// TODO: вынести array cardSkeleton Отдельно + 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 ( -
- -
+ +
+ +
+
); }; @@ -89,30 +73,22 @@ const ProjectsList = ({ const { data, isError, isLoading } = usePostProjects(tag); const projects = data ?? []; - if (isLoading) - return ( -
-

Наши проекты

-
- {[...Array(3)].map((_, index) => ( - - ))} -
-
- ); - - if (isError || !projects) return
Ошибка при загрузке данных
; - return ( -
- -
+ +
+ +
+
); }; diff --git a/src/widgets/CardList/CardListTemplate.module.scss b/src/widgets/CardList/CardListTemplate.module.scss index bd71488..70b2e90 100644 --- a/src/widgets/CardList/CardListTemplate.module.scss +++ b/src/widgets/CardList/CardListTemplate.module.scss @@ -1,36 +1,40 @@ +@import "@/shared/styles/cardGrid.module.scss"; + .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; } } + .list { - display: grid; - gap: 2rem; - width: 100%; - max-width: 100%; - box-sizing: border-box; - //margin-bottom: 32px; + @extend .gridСontainer; + &__lab { - grid-template-columns: repeat(var(--desktop-columns, 3), 1fr); + grid-template-columns: repeat(var(--desktop-columns), 1fr); + @include mediaMax($desktop-small-width) { - grid-template-columns: repeat(var(--tablet-columns, 3), 1fr); + grid-template-columns: repeat(var(--tablet-columns), 1fr); } + @include mediaMax($tablet-max-width) { - grid-template-columns: repeat(var(--mobile-columns, 3), 1fr); + grid-template-columns: repeat(var(--mobile-columns), 1fr); } } &__news { grid-template-columns: repeat(var(--desktop-columns, 3), 1fr); + @include mediaMax($desktop-small-width) { grid-template-columns: repeat(var(--tablet-columns, 3), 1fr); } + @include mediaMax($tablet-max-width) { grid-template-columns: repeat(var(--mobile-columns, 3), 1fr); } @@ -38,11 +42,13 @@ &__project { grid-template-columns: repeat(var(--desktop-columns, 3), 1fr); + @include mediaMax($desktop-small-width) { grid-template-columns: repeat(var(--tablet-columns, 3), 1fr); } + @include mediaMax($tablet-max-width) { grid-template-columns: repeat(var(--mobile-columns, 3), 1fr); } } -} +} \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 4b3d5ee..6a4ab17 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -3,7 +3,7 @@ import react from "@vitejs/plugin-react"; import path from "path"; export default defineConfig({ - base: "/wp-content/reactpress/apps/skb/dist/index.html", + // base: "/wp-content/reactpress/apps/skb/dist/index.html", plugins: [react()], resolve: { alias: { From ab8a55998c52d85fb543895ec4414bf08498ca33 Mon Sep 17 00:00:00 2001 From: ifraimka1 Date: Tue, 29 Apr 2025 12:33:13 +0300 Subject: [PATCH 4/4] =?UTF-8?q?=D0=9F=D0=BE=D1=84=D0=B8=D0=BA=D1=81=D0=B8?= =?UTF-8?q?=D0=BB=20=D1=81=D1=82=D0=B8=D0=BB=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/shared/Components/WithLoading/WithLoading.tsx | 9 +-------- src/widgets/CardList/CardList.module.scss | 2 ++ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/shared/Components/WithLoading/WithLoading.tsx b/src/shared/Components/WithLoading/WithLoading.tsx index 4e15aa8..f2c6acf 100644 --- a/src/shared/Components/WithLoading/WithLoading.tsx +++ b/src/shared/Components/WithLoading/WithLoading.tsx @@ -33,12 +33,5 @@ export const WithLoading = ({ return
Ошибка при загрузке данных
; } - // return <>{children}; - return ( - - ); + return <>{children}; }; \ No newline at end of file diff --git a/src/widgets/CardList/CardList.module.scss b/src/widgets/CardList/CardList.module.scss index b5851b2..01b9602 100644 --- a/src/widgets/CardList/CardList.module.scss +++ b/src/widgets/CardList/CardList.module.scss @@ -1,3 +1,5 @@ +@import "@/shared/styles/cardGrid.module.scss"; + .title { font-size: 36px; font-weight: 600;