From 0bb546940a1da5f715483e7c14762954244a05d3 Mon Sep 17 00:00:00 2001 From: AlexSserb Date: Mon, 18 Aug 2025 11:36:10 +0400 Subject: [PATCH] refactor: removed unused page block --- .../SmallPageBlock/SmallPageBlock.module.css | 33 ------------------- .../layout/SmallPageBlock/SmallPageBlock.tsx | 25 -------------- 2 files changed, 58 deletions(-) delete mode 100644 src/components/layout/SmallPageBlock/SmallPageBlock.module.css delete mode 100644 src/components/layout/SmallPageBlock/SmallPageBlock.tsx diff --git a/src/components/layout/SmallPageBlock/SmallPageBlock.module.css b/src/components/layout/SmallPageBlock/SmallPageBlock.module.css deleted file mode 100644 index c6e4029..0000000 --- a/src/components/layout/SmallPageBlock/SmallPageBlock.module.css +++ /dev/null @@ -1,33 +0,0 @@ - -.container { - @mixin dark { - background-color: var(--mantine-color-dark-7-5); - box-shadow: var(--dark-shadow); - } - @mixin light { - background-color: var(--color-light-whitesmoke); - box-shadow: var(--light-shadow); - } -} - -.container-active { - @mixin dark { - background-color: var(--mantine-color-dark-8); - box-shadow: var(--dark-thick-shadow); - } - @mixin light { - background-color: white; - box-shadow: var(--light-thick-shadow); - } -} - -.container:hover { - @mixin dark { - background-color: var(--mantine-color-dark-8); - box-shadow: var(--dark-thick-shadow); - } - @mixin light { - background-color: white; - box-shadow: var(--light-thick-shadow); - } -} diff --git a/src/components/layout/SmallPageBlock/SmallPageBlock.tsx b/src/components/layout/SmallPageBlock/SmallPageBlock.tsx deleted file mode 100644 index 375dfbf..0000000 --- a/src/components/layout/SmallPageBlock/SmallPageBlock.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import { CSSProperties, FC, ReactNode } from "react"; -import classNames from "classnames"; -import styles from "@/components/layout/SmallPageBlock/SmallPageBlock.module.css"; -import { Box } from "@mantine/core"; - -type Props = { - children: ReactNode; - style?: CSSProperties; - active?: boolean; -}; - -const SmallPageBlock: FC = ({ children, style, active = false }) => { - return ( - - {children} - - ); -}; -export default SmallPageBlock;