rm solflare
This commit is contained in:
parent
625c7ba05f
commit
ef20a69427
@ -11,15 +11,15 @@ interface WalletHeaderProps {
|
||||
|
||||
const WalletHeader: React.FC<WalletHeaderProps> = ({ walletState, onConnect }) => {
|
||||
return (
|
||||
<div className="w-full bg-green-950/50 backdrop-blur-lg rounded-xl shadow-lg border border-emerald-800/50 mb-8 p-4">
|
||||
<div className="max-w-md mx-auto bg-green-950/50 backdrop-blur-lg rounded-xl shadow-lg border border-emerald-800/50 mb-8 p-4">
|
||||
{!walletState.connected ? (
|
||||
<div className="grid grid-cols-2 gap-4">
|
||||
<div className="flex justify-center">
|
||||
{SUPPORTED_WALLETS.map((wallet) => (
|
||||
<button
|
||||
key={wallet.type}
|
||||
onClick={() => onConnect(wallet.type)}
|
||||
className="bg-gradient-to-r from-emerald-500 to-teal-500 hover:from-emerald-600 hover:to-teal-600
|
||||
text-white font-semibold py-3 px-6 rounded-lg transition-all duration-200
|
||||
text-white font-semibold py-3 px-8 rounded-lg transition-all duration-200
|
||||
shadow-lg hover:shadow-emerald-500/25"
|
||||
>
|
||||
Connect {wallet.name}
|
||||
|
@ -29,11 +29,11 @@ const connectPhantom = async (): Promise<{ publicKey: string } | null> => {
|
||||
}
|
||||
|
||||
export const SUPPORTED_WALLETS: WalletConfig[] = [
|
||||
{
|
||||
type: 'solflare',
|
||||
name: 'Solflare',
|
||||
connect: connectSolflare
|
||||
},
|
||||
// {
|
||||
// type: 'solflare',
|
||||
// name: 'Solflare',
|
||||
// connect: connectSolflare
|
||||
// },
|
||||
{
|
||||
type: 'phantom',
|
||||
name: 'Phantom',
|
||||
|
Loading…
Reference in New Issue
Block a user