Skip to content

Commit

Permalink
Place button correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
wildanvin committed Jan 17, 2025
1 parent 0ccd54b commit bc8f1ba
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions packages/nextjs/app/wallet/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
Wallet,
AlertCircle,
} from 'lucide-react'
import { CustomConnectButton } from '~~/components/scaffold-stark/CustomConnectButton'

const WalletIntegration = () => {
return (
Expand Down Expand Up @@ -107,10 +108,11 @@ const WalletIntegration = () => {
<button className='px-6 py-2 text-gray-400 hover:text-gray-200 transition-colors'>
Back
</button>
<button className='px-6 py-2 bg-gradient-to-r from-purple-500 to-blue-500 rounded-lg hover:from-purple-600 hover:to-blue-600 transition-colors flex items-center space-x-2'>
{/* <button className='px-6 py-2 bg-gradient-to-r from-purple-500 to-blue-500 rounded-lg hover:from-purple-600 hover:to-blue-600 transition-colors flex items-center space-x-2'>
<span>Generate Wallet</span>
<ArrowRight className='w-4 h-4' />
</button>
</button> */}
<CustomConnectButton />
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions packages/nextjs/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Link from 'next/link'
import { usePathname } from 'next/navigation'
import { Bars3Icon, BugAntIcon } from '@heroicons/react/24/outline'
import { useOutsideClick } from '~~/hooks/scaffold-stark'
import { CustomConnectButton } from '~~/components/scaffold-stark/CustomConnectButton'
// import { CustomConnectButton } from '~~/components/scaffold-stark/CustomConnectButton'
import { useTheme } from 'next-themes'
import { useTargetNetwork } from '~~/hooks/scaffold-stark/useTargetNetwork'
import { devnet } from '@starknet-react/chains'
Expand Down Expand Up @@ -181,7 +181,7 @@ export const Header = () => {
Wallet Not Deployed
</span>
) : null}
<CustomConnectButton />
{/* <CustomConnectButton /> */}
{/* <FaucetButton /> */}
<SwitchTheme
className={`pointer-events-auto ${
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const ConnectModal = () => {
text-white font-semibold px-6 py-2.5 text-sm transition-colors duration-200
cursor-pointer shadow-sm hover:shadow-md'
>
<span>Connect Wallet</span>
<span>Create Wallet</span>
</label>

{/* Modal Toggle */}
Expand Down

0 comments on commit bc8f1ba

Please sign in to comment.