update channel
This commit is contained in:
1
src/app/user/_default.page.tsx
Normal file
1
src/app/user/_default.page.tsx
Normal file
@@ -0,0 +1 @@
|
||||
export { LayoutUser as Layout } from "./layout";
|
||||
14
src/app/user/layout.tsx
Normal file
14
src/app/user/layout.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { MultiAccounts } from "@shared/multiAccounts";
|
||||
import { Navigation } from "@shared/navigation";
|
||||
|
||||
export function LayoutUser({ 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>
|
||||
);
|
||||
}
|
||||
13
src/app/user/pages/index.page.tsx
Normal file
13
src/app/user/pages/index.page.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { usePageContext } from "@utils/hooks/usePageContext";
|
||||
|
||||
export function Page() {
|
||||
const pageContext = usePageContext();
|
||||
const searchParams: any = pageContext.urlParsed.search;
|
||||
const pubkey = searchParams.pubkey;
|
||||
|
||||
return (
|
||||
<div className="h-full w-full flex flex-nowrap overflow-x-auto overflow-y-hidden scrollbar-hide">
|
||||
<p>{pubkey}</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user