Skip to content

Commit

Permalink
swap login and signup button functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
alissacrane-cb committed Aug 8, 2024
1 parent 66b7bd2 commit 0c6dcb8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/app/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ body > div {
height: 100%;
max-width: 100vw;
box-sizing: border-box;
padding: 0 10px;
}

a {
Expand Down
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function Page() {
const { address } = useAccount();

return (
<div className="flex h-full w-96 max-w-full flex-col md:w-[1008px]">
<div className="flex h-full w-96 max-w-full flex-col px-1 md:w-[1008px]">
<section className="mt-6 mb-6 flex w-full flex-col md:flex-row">
<div className="flex w-full flex-row items-center justify-between gap-2 md:gap-0">
<a
Expand Down
8 changes: 7 additions & 1 deletion src/components/LoginButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,11 @@
import WalletWrapper from './WalletWrapper';

export default function LoginButton() {
return <WalletWrapper className="min-w-[90px]" text="Log in" />;
return (
<WalletWrapper
className="min-w-[90px]"
text="Log in"
withWalletAggregator={true}
/>
);
}
1 change: 0 additions & 1 deletion src/components/SignupButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export default function SignupButton() {
<WalletWrapper
className="ockConnectWallet_Container min-w-[90px] shrink bg-slate-200 text-[#030712] hover:bg-slate-300"
text="Sign up"
withWalletAggregator={true}
/>
);
}

0 comments on commit 0c6dcb8

Please sign in to comment.