continue polish, prepare launch v1.0.0

This commit is contained in:
Ren Amamiya
2023-06-22 14:17:48 +07:00
parent 699a26b3f0
commit a71e2991c2
14 changed files with 64 additions and 121 deletions

View File

@@ -5,15 +5,17 @@ import { ActiveLink } from "@shared/activeLink";
import { AppHeader } from "@shared/appHeader";
import { Composer } from "@shared/composer/modal";
import { NavArrowDownIcon, SpaceIcon, TrendingIcon } from "@shared/icons";
import { useComposer } from "@stores/composer";
export function Navigation() {
const toggle = useComposer((state: any) => state.toggleModal);
import { MultiAccounts } from "@shared/multiAccounts";
export function Navigation({ reverse }: { reverse?: boolean }) {
return (
<div className="flex w-[232px] flex-col gap-3 border-r border-zinc-900">
<AppHeader />
<div className="flex flex-col gap-5 overflow-y-auto scrollbar-hide">
<div
className={`relative flex w-[232px] flex-col gap-3 ${
reverse ? "border-l" : "border-r"
} border-zinc-900`}
>
<AppHeader reverse={reverse} />
<div className="pb-20 flex flex-col gap-5 overflow-y-auto scrollbar-hide">
<div className="inlin-lflex h-8 px-3.5">
<Composer />
</div>
@@ -104,6 +106,9 @@ export function Navigation() {
)}
</Disclosure>
</div>
<div className="absolute bottom-2 left-0 px-8 w-full">
<MultiAccounts />
</div>
</div>
);
}