|
1 | | - |
2 | 1 | import React from 'react'; |
3 | 2 | import { Button } from '@/components/ui/button'; |
4 | 3 |
|
5 | 4 | const ConnectButton = () => { |
| 5 | + // Aquí va tu lógica personalizada de conexión de wallet |
| 6 | + const handleConnectWallet = () => { |
| 7 | + alert('Conectar Wallet personalizada'); |
| 8 | + }; |
| 9 | + |
6 | 10 | return ( |
7 | | - <Button className="bg-alien-green hover:bg-alien-green-light text-alien-gold font-nasalization rounded-full flex items-center gap-2 py-1 px-3 sm:px-4"> |
8 | | - <img |
9 | | - src="/lovable-uploads/AW.png" |
10 | | - alt="Wallet" |
11 | | - className="h-5 w-5 sm:h-6 sm:w-6 rounded-full" |
12 | | - /> |
13 | | - <span className="font-nasalization">Connect Portal</span> |
14 | | - </Button> |
| 11 | + <div className="flex flex-wrap items-center gap-3"> |
| 12 | + {/* Botón Connect Wallet con animación */} |
| 13 | + <Button |
| 14 | + className=" |
| 15 | + bg-alien-green hover:bg-alien-green-light text-alien-gold font-nasalization rounded-full |
| 16 | + flex items-center gap-2 py-1 px-3 sm:px-4 |
| 17 | + transition-all duration-200 ease-in-out |
| 18 | + hover:shadow-lg hover:scale-105 focus-visible:ring-2 focus-visible:ring-alien-gold |
| 19 | + " |
| 20 | + onClick={handleConnectWallet} |
| 21 | + > |
| 22 | + <img |
| 23 | + src="/lovable-uploads/AW.png" |
| 24 | + alt="Wallet Logo" |
| 25 | + className="h-5 w-5 sm:h-6 sm:w-6 rounded-full object-cover" |
| 26 | + /> |
| 27 | + <span className="font-nasalization whitespace-nowrap">Connect Wallet</span> |
| 28 | + </Button> |
| 29 | + |
| 30 | + {/* Botón Connect Portal con animación */} |
| 31 | + <a |
| 32 | + href="https://aliendex.lovable.app/" |
| 33 | + target="_blank" |
| 34 | + rel="noopener noreferrer" |
| 35 | + className="no-underline" |
| 36 | + > |
| 37 | + <Button |
| 38 | + className=" |
| 39 | + bg-alien-green hover:bg-alien-green-light text-alien-gold font-nasalization rounded-full |
| 40 | + flex items-center gap-2 py-1 px-3 sm:px-4 |
| 41 | + transition-all duration-200 ease-in-out |
| 42 | + hover:shadow-lg hover:scale-105 focus-visible:ring-2 focus-visible:ring-alien-gold |
| 43 | + " |
| 44 | + > |
| 45 | + <span className="font-nasalization whitespace-nowrap">Connect Portal</span> |
| 46 | + </Button> |
| 47 | + </a> |
| 48 | + </div> |
15 | 49 | ); |
16 | 50 | }; |
17 | 51 |
|
|
0 commit comments