Skip to content

Commit

Permalink
fix: sign in buttom styling
Browse files Browse the repository at this point in the history
  • Loading branch information
BrickheadJohnny committed Nov 22, 2024
1 parent 1f14a37 commit 4a9b333
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/explorer/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ async function YourGuildsSection() {
</p>
</div>

<SignInButton />
<SignInButton colorScheme="primary" />
</div>
}
>
Expand Down
8 changes: 5 additions & 3 deletions src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ export const Header = () => (
{/* TODO: NavMenu component */}
<Card className="h-10 w-24 rounded-xl" />

<AuthBoundary fallback={<SignInButton />}>
<SignOutButton />
</AuthBoundary>
<Card className="rounded-xl">
<AuthBoundary fallback={<SignInButton variant="ghost" />}>
<SignOutButton />
</AuthBoundary>
</Card>
</header>
);
1 change: 0 additions & 1 deletion src/components/SignInButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export const SignInButton = ({
<Button
className={cn("h-10", className)}
variant="solid"
colorScheme="primary"
{...props}
leftIcon={<SignIn weight="bold" />}
onClick={() => setSignInDialogOpen(true)}
Expand Down
1 change: 1 addition & 0 deletions src/components/SignOutButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const SignOutButton = () => {
return (
<Button
className="h-10"
variant="ghost"
leftIcon={<SignOut weight="bold" />}
onClick={() => signOut(pathname)}
>
Expand Down

0 comments on commit 4a9b333

Please sign in to comment.