diff --git a/pkgs/webview-ui/app/src/components/Sidebar/SidebarFlyout/index.tsx b/pkgs/webview-ui/app/src/components/Sidebar/SidebarFlyout/index.tsx index 0ee49eb8d..bf047e246 100644 --- a/pkgs/webview-ui/app/src/components/Sidebar/SidebarFlyout/index.tsx +++ b/pkgs/webview-ui/app/src/components/Sidebar/SidebarFlyout/index.tsx @@ -5,7 +5,7 @@ export const SidebarFlyout= () =>{ return diff --git a/pkgs/webview-ui/app/src/components/Sidebar/SidebarHeader.tsx b/pkgs/webview-ui/app/src/components/Sidebar/SidebarHeader.tsx index 8bc0a7be2..9631865db 100644 --- a/pkgs/webview-ui/app/src/components/Sidebar/SidebarHeader.tsx +++ b/pkgs/webview-ui/app/src/components/Sidebar/SidebarHeader.tsx @@ -1,10 +1,10 @@ -import {createSignal} from 'solid-js' +import {createSignal, Show} from 'solid-js' import {Typography} from '@/src/components/Typography' import {SidebarFlyout} from './SidebarFlyout' interface SidebarHeader { - clanName?: string + clanName: string } export const SidebarHeader = (props:SidebarHeader)=>{ @@ -15,15 +15,21 @@ export const SidebarHeader = (props:SidebarHeader)=>{ function handleClick(){ toggleFlyout(!showFlyout()) } + + const renderClanProfile = () =>
+ + {clanName.slice(0,1)} + +
+ + + const renderClanTitle = () => + {clanName} return