Initial commit

This commit is contained in:
2026-04-20 14:30:18 +07:00
parent b03d8cf556
commit 4910b479bd
14 changed files with 317 additions and 116 deletions
+3 -1
View File
@@ -8,6 +8,8 @@ export default function Profile() {
const [user, setUser] = useState<any>(null);
const [loading, setLoading] = useState(true);
const botUsername = import.meta.env.VITE_BOT_USERNAME || "netrunner_vpn_bot";
useEffect(() => {
fetchProfile()
.then(setUser)
@@ -107,7 +109,7 @@ export default function Profile() {
className="w-full bg-background border border-border/50 hover:border-secondary/50 flex items-center justify-between p-4 rounded-2xl transition-colors"
>
<span className="text-xs text-muted-foreground truncate mr-4">
https://t.me/netrunner_vpn_bot?start={user.tg_id}
https://t.me/{botUsername}?start={user.tg_id}
</span>
<Copy className="w-4 h-4 text-secondary shrink-0" />
</button>