Add telegram bot

This commit is contained in:
2025-12-16 20:06:16 +07:00
parent 9fd93a185c
commit 412de3bf05
32 changed files with 1721 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
import { Outlet, Link, useNavigate } from 'react-router-dom'
import { useAuthStore } from '@/store/auth'
import { Gamepad2, LogOut, Trophy, User } from 'lucide-react'
import { TelegramLink } from '@/components/TelegramLink'
export function Layout() {
const { user, isAuthenticated, logout } = useAuthStore()
@@ -38,6 +39,8 @@ export function Layout() {
<span>{user?.nickname}</span>
</div>
<TelegramLink />
<button
onClick={handleLogout}
className="p-2 text-gray-400 hover:text-white transition-colors"