feat: global platform update

This commit is contained in:
ivannoskov
2026-01-07 14:17:43 +03:00
parent 25b194ad41
commit 3b6b97447b
22 changed files with 1536 additions and 309 deletions

View File

@@ -17,6 +17,7 @@ import {
import { Button } from "@/components/ui/button";
import { AlertCircle, LogIn, Loader2 } from "lucide-react";
import { Alert, AlertDescription } from "@/components/ui/alert";
import Image from "next/image";
export default function LoginPage() {
const { loginMock, error: authError } = useAuth();
@@ -43,15 +44,19 @@ export default function LoginPage() {
const displayError = error || authError;
return (
<div className="flex min-h-screen items-center justify-center bg-gradient-to-br from-slate-50 to-slate-100 dark:from-slate-950 dark:to-slate-900 p-4">
<div className="flex min-h-screen items-center justify-center bg-gradient-to-br from-[#2B1D49] via-[#5F31F4] to-[#2B1D49] p-4">
<Card className="w-full max-w-md">
<CardHeader className="text-center space-y-2">
<div className="mx-auto w-12 h-12 bg-primary rounded-lg flex items-center justify-center mb-2">
<span className="text-2xl font-bold text-primary-foreground">
TG
</span>
<div className="mx-auto w-12 h-12 flex items-center justify-center mb-2">
<Image
src="/logo.webp"
width={64}
height={64}
alt="Smartpost"
className="rounded-xl"
/>
</div>
<CardTitle className="text-2xl">TGEX</CardTitle>
<CardTitle className="text-2xl">Smartpost</CardTitle>
<CardDescription>
Система управления рекламными закупками в Telegram
</CardDescription>