Skip to content

Commit

Permalink
fix: reduced avatar size and relocated theme toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
Damien Sedgwick committed Oct 16, 2024
1 parent 18bade0 commit 913a8b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions packages/frontpage/app/(app)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export default async function Layout({
<Link href="/post/new">New</Link>
</Button>
) : null}
<ThemeToggle />
<Suspense>
<LoginOrLogout />
</Suspense>
Expand All @@ -66,9 +67,6 @@ export default async function Layout({
@unravel.fyi <OpenInNewWindowIcon className="inline" />
</a>
</p>
<div>
<ThemeToggle />
</div>
</footer>
</div>
);
Expand Down Expand Up @@ -132,5 +130,9 @@ async function LoginOrLogout() {
);
}

return <Link href="/login">Login</Link>;
return (
<Button variant="outline" asChild>
<Link href="/login">Login</Link>
</Button>
);
}
2 changes: 1 addition & 1 deletion packages/frontpage/lib/components/user-avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { DID } from "../data/atproto/did";

const userAvatarSizes = {
small: 22,
smedium: 50,
smedium: 36,
medium: 100,
large: 150,
};
Expand Down

0 comments on commit 913a8b2

Please sign in to comment.