feat: minimal configuration

This commit is contained in:
2025-06-06 15:12:54 +03:00
parent 751ebe614a
commit 746c8ab0d7
18 changed files with 648 additions and 148 deletions

14
src/components/Block.tsx Normal file
View File

@@ -0,0 +1,14 @@
import { PropsWithChildren } from "react";
type BlockProps = PropsWithChildren<{ name?: string }>;
const Block: React.FC<BlockProps> = ({ children, name = "" }) => {
return (
<div className="flex h-fit w-full flex-col items-center gap-2.5 rounded-lg bg-[var(--tg-theme-section-bg-color)] py-1.5 shadow-md">
{name && <span className="text-semibold text-sm">{name}</span>}
{children}
</div>
);
};
export { Block };