Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test #209

Closed
wants to merge 1 commit into from
Closed

Test #209

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions packages/frontpage/app/(app)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ export default async function Layout({
<div className="flex place-content-between items-center mb-8">
<Link href="/">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src="/frontpage-logo.svg" alt="Frontpage" className="h-12" />
<img
src="/frontpage-logo.svg"
alt="Frontpageeeeeee"
className="h-12"
/>
</Link>

<div className="flex items-center gap-4">
Expand Down Expand Up @@ -98,12 +102,12 @@ async function LoginOrLogout() {
<Link href={`/profile/${handle}`} className="cursor-pointer">
Profile
</Link>
</DropdownMenuItem>
<DropdownMenuItem asChild>
<Link href="/about" className="cursor-pointer">
About
</Link>
</DropdownMenuItem>
</DropdownMenuItem>
<DropdownMenuItem asChild>
<Link href="/about" className="cursor-pointer">
About
</Link>
</DropdownMenuItem>
<Suspense fallback={null}>
{isAdmin().then((isAdmin) =>
isAdmin ? (
Expand Down