Skip to content

Commit

Permalink
Merge pull request #103 from yuxxeun/master
Browse files Browse the repository at this point in the history
Positioning toggle theme on mobile view
  • Loading branch information
irsyadadl authored Sep 12, 2024
2 parents 14cedce + 170027e commit d456e2c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 34 deletions.
Binary file added .rnd
Binary file not shown.
Binary file modified bun.lockb
Binary file not shown.
6 changes: 4 additions & 2 deletions resources/js/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,10 @@ function ResponsiveNavbar() {
<Logo className="w-8 fill-red-600" />
</Link>
</div>
{!auth.user && <ThemeSwitcher />}
{auth.user ? <UserMenu /> : <LoginMenu />}
<div className="flex gap-1">
{!auth.user && <ThemeSwitcher />}
{auth.user ? <UserMenu /> : <LoginMenu />}
</div>
</div>
</nav>
)
Expand Down
35 changes: 3 additions & 32 deletions resources/js/ziggy.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d456e2c

Please sign in to comment.