Skip to content

Commit

Permalink
fix: make call to action responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-stumpf committed Nov 22, 2024
1 parent 41e3959 commit dc7e685
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions src/app/explorer/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,20 @@ async function YourGuildsSection() {
<section className="grid gap-2">
<AuthBoundary
fallback={
<div className="flex items-center gap-4 rounded-2xl bg-card px-5 py-6">
<img src="/images/robot.svg" alt="Guild Robot" className="size-8" />

<p className="font-semibold">
Sign in to view your guilds or create new ones
</p>

<SignInButton className="ml-auto" />
<div className="flex flex-col items-stretch gap-4 rounded-2xl bg-card px-5 py-6 sm:flex-row sm:items-center sm:justify-between">
<div className="flex items-center gap-4">
<img
src="/images/robot.svg"
alt="Guild Robot"
className="size-8"
/>

<p className="font-semibold">
Sign in to view your guilds or create new ones
</p>
</div>

<SignInButton />
</div>
}
>
Expand Down

0 comments on commit dc7e685

Please sign in to comment.