перенес структуру Севы со своими правками

This commit is contained in:
ifraimka1 committed 2025-04-01 15:25:46 +03:00
1 parent 3a1cac0dfe
commit 808d97eb4b
331 files changed
+12260 -19950

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
button {
padding: 0.5rem 1rem;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
background-color: #07a8e3;
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
color: rgba(0, 0, 0, 0.7);
font-family: Kumbh Sans;
font-size: 16px;
font-weight: 300;
line-height: 140%;
letter-spacing: 1%;
text-align: center;
color: #fff;
&:hover {
background-color: #07a8e3;
}
}
+18
View File
@@ -0,0 +1,18 @@
import styles from "./Button.module.scss";
interface ButtonProps {
label: string;
className?: string;
onClick?: () => void; // Добавляем onClick как необязательный пропс
}
export const Button = ({ label, className, onClick }: ButtonProps) => {
return (
<button
className={className + ' ' + styles.button}
onClick={onClick} // Используем onClick для кнопки
>
{label}
</button>
);
};