|
1 | 1 | import { useEffect, useState } from 'react'; |
2 | 2 | import { getAccessKey, clearAuth, getUserInfo, parseJwt, type User as AuthUser } from './auth'; |
3 | 3 | import { useNavigate } from 'react-router-dom'; |
4 | | -import { LogOut, Key, Users, Copy, Trash2, Shield, Loader, Plus, User, Pencil, RotateCcw, ChevronLeft, ChevronRight, ArrowUpDown, ArrowUp, ArrowDown, Check, X as XIcon, UserCog, BookOpen, ExternalLink, Zap, AlertTriangle, CreditCard, Wallet } from 'lucide-react'; |
| 4 | +import { LogOut, Key, Users, Copy, Trash2, Shield, Loader, Plus, User, Pencil, RotateCcw, ChevronLeft, ChevronRight, ChevronUp, ArrowUpDown, ArrowUp, ArrowDown, Check, X as XIcon, UserCog, BookOpen, ExternalLink, Zap, AlertTriangle, CreditCard, Wallet } from 'lucide-react'; |
5 | 5 | import axios from 'axios'; |
6 | 6 |
|
7 | 7 |
|
@@ -1180,8 +1180,28 @@ export const Dashboard = () => { |
1180 | 1180 | <ExternalLink size={18} /> |
1181 | 1181 | </a> |
1182 | 1182 | <div className="text-center w-full border-t border-white/5 pt-6"> |
1183 | | - <p style={{ fontSize: '0.8rem' }} className="text-slate-500"> |
1184 | | - Build {appInfo.version} | <a href="https://github.com/iulianpascalau/mx-epoch-proxy-go" className="hover:text-slate-400 underline decoration-slate-600 underline-offset-2" target="_blank" rel="noopener noreferrer">Solution</a> |
| 1183 | + <p style={{ fontSize: '0.8rem' }} className="text-slate-500 flex items-center justify-center gap-1"> |
| 1184 | + Build {appInfo.version} | |
| 1185 | + <div className="relative group inline-block ml-1"> |
| 1186 | + <button className="hover:text-slate-300 underline decoration-slate-600 underline-offset-2 flex items-center gap-1 transition-colors"> |
| 1187 | + Source Code <ChevronUp size={12} /> |
| 1188 | + </button> |
| 1189 | + <div className="absolute bottom-full left-1/2 -translate-x-1/2 mb-2 w-56 bg-slate-900/95 border border-slate-700/50 backdrop-blur-xl rounded-lg shadow-2xl opacity-0 invisible group-hover:visible group-hover:opacity-100 transition-all duration-200 transform origin-bottom z-50 flex flex-col"> |
| 1190 | + <div className="px-4 py-2 border-b border-white/5 text-[10px] uppercase font-bold text-slate-500 tracking-wider"> |
| 1191 | + Repositories |
| 1192 | + </div> |
| 1193 | + <a href="https://github.com/iulianpascalau/mx-epoch-proxy-go" target="_blank" rel="noopener noreferrer" className="px-4 py-3 hover:bg-indigo-500/10 hover:text-indigo-300 text-slate-300 text-xs text-left transition-colors flex items-center gap-2"> |
| 1194 | + <span className="w-1.5 h-1.5 rounded-full bg-indigo-500"></span> Epoch Proxy (Go) |
| 1195 | + </a> |
| 1196 | + <a href="https://github.com/iulianpascalau/mx-crypto-payments" target="_blank" rel="noopener noreferrer" className="px-4 py-3 hover:bg-emerald-500/10 hover:text-emerald-300 text-slate-300 text-xs text-left transition-colors flex items-center gap-2"> |
| 1197 | + <span className="w-1.5 h-1.5 rounded-full bg-emerald-500"></span> Crypto Payments (Go) |
| 1198 | + </a> |
| 1199 | + <a href="https://github.com/iulianpascalau/mx-credits-contract-rs" target="_blank" rel="noopener noreferrer" className="px-4 py-3 hover:bg-amber-500/10 hover:text-amber-300 text-slate-300 text-xs text-left transition-colors flex items-center gap-2 rounded-b-lg"> |
| 1200 | + <span className="w-1.5 h-1.5 rounded-full bg-amber-500"></span> Credits Contract (Rust) |
| 1201 | + </a> |
| 1202 | + <div className="absolute -bottom-1 left-1/2 -translate-x-1/2 w-2 h-2 bg-slate-900 border-r border-b border-slate-700/50 transform rotate-45"></div> |
| 1203 | + </div> |
| 1204 | + </div> |
1185 | 1205 | </p> |
1186 | 1206 | </div> |
1187 | 1207 |
|
|
0 commit comments