feat: polish
This commit is contained in:
@@ -13,7 +13,7 @@ export function AppLayout({ platform }: { platform: Platform }) {
|
||||
platform !== "macos" ? "bg-blue-50 dark:bg-blue-950" : "",
|
||||
)}
|
||||
>
|
||||
{platform !== "macos" ? (
|
||||
{platform === "windows" ? (
|
||||
<WindowTitleBar platform={platform} />
|
||||
) : (
|
||||
<div data-tauri-drag-region className="h-9 shrink-0" />
|
||||
|
||||
@@ -11,7 +11,7 @@ export function AuthLayout({ platform }: { platform: Platform }) {
|
||||
|
||||
return (
|
||||
<div className="flex flex-col w-screen h-screen bg-black text-neutral-50">
|
||||
{platform !== "macos" ? (
|
||||
{platform === "windows" ? (
|
||||
<WindowTitleBar platform={platform} />
|
||||
) : (
|
||||
<div data-tauri-drag-region className="h-9 shrink-0" />
|
||||
|
||||
@@ -82,24 +82,6 @@ export function Navigation() {
|
||||
</div>
|
||||
)}
|
||||
</NavLink>
|
||||
<NavLink
|
||||
to="/nwc"
|
||||
preventScrollReset={true}
|
||||
className="inline-flex flex-col items-center justify-center"
|
||||
>
|
||||
{({ isActive }) => (
|
||||
<div
|
||||
className={cn(
|
||||
"inline-flex aspect-square h-auto w-full items-center justify-center rounded-xl",
|
||||
isActive
|
||||
? "bg-black/10 text-black dark:bg-white/10 dark:text-white"
|
||||
: "text-black/50 dark:text-neutral-400",
|
||||
)}
|
||||
>
|
||||
<NwcIcon className="size-6 rotate-12" />
|
||||
</div>
|
||||
)}
|
||||
</NavLink>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex flex-col">
|
||||
|
||||
Reference in New Issue
Block a user