Initial commit: Tapalka monorepo (bot, front, strapi)

This commit is contained in:
2026-05-21 11:54:44 +07:00
commit 9ec9485940
208 changed files with 58314 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
.container {
position: relative;
display: flex;
align-items: center;
}
.container button {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
}
.toast {
position: fixed;
right: -500px;
bottom: 90px;
height: 89px;
border-radius: 20px;
padding: 12px 16px;
background: #000000;
border: 1px solid #143916;
transition: right 0.3s ease;
font-size: 16px;
font-weight: 600;
line-height: 21px;
font-family: var(--font-manrope);
}
.content {
display: flex;
align-items: flex-start;
gap: 7px;
}
.closeIcon {
display: flex;
justify-content: flex-end;
width: 100%;
height: auto;
cursor: pointer;
}
.info {
display: flex;
flex-direction: column;
}
.info span {
font-size: 14px;
font-weight: 400;
line-height: 19px;
}
.visible {
right: 20px;
}

View File

@@ -0,0 +1,42 @@
'use client';
import { FC } from 'react';
import styles from '@/components/ui/copy-link-toast/CopyLinkToast.module.css';
import Image from 'next/image';
interface ICopyLinkToast {
isVisible: boolean;
handleCloseToastLink: () => void;
}
const CopyLinkToast: FC<ICopyLinkToast> = ({ isVisible, handleCloseToastLink }) => {
return (
<div className={styles.container}>
<div className={`${styles.toast} ${isVisible ? styles.visible : ''}`}>
<div className={styles.closeIcon} onClick={handleCloseToastLink}>
<Image
src={'/icons/close-icon.svg'}
alt={'close icon'}
width={12}
height={12}
/>
</div>
<div className={styles.content}>
<div className={styles.img}>
<Image
src={'/icons/info-icon.svg'}
alt={'info icon'}
height={24}
width={24}
/>
</div>
<div className={styles.info}>
<p>Приглашение скопировано 🔗</p>
<span>Отправьте эту ссылку своим друзьям 📨</span>
</div>
</div>
</div>
</div>
);
};
export default CopyLinkToast;