refactor layout, support windows and linux

This commit is contained in:
Ren Amamiya
2023-06-22 12:26:48 +07:00
parent 7b09dc3147
commit 699a26b3f0
14 changed files with 50 additions and 80 deletions

View File

@@ -1 +1 @@
export { LayoutTrending as Layout } from "./layout";
export { DefaultLayout as Layout } from "@shared/layout";

View File

@@ -1,14 +0,0 @@
import { MultiAccounts } from "@shared/multiAccounts";
import { Navigation } from "@shared/navigation";
export function LayoutTrending({ children }: { children: React.ReactNode }) {
return (
<div className="flex w-screen h-screen">
<div className="relative flex flex-row shrink-0">
<MultiAccounts />
<Navigation />
</div>
<div className="w-full h-full">{children}</div>
</div>
);
}