feat: layout switcher
This commit is contained in:
parent
982f0c7d21
commit
1dd3b7d301
2 changed files with 58 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ import AccountButton from './AccountButton'
|
|||
import BookmarkButton from './BookmarkButton'
|
||||
import RelaysButton from './ExploreButton'
|
||||
import HomeButton from './HomeButton'
|
||||
import LayoutSwitcher from './LayoutSwitcher'
|
||||
import NotificationsButton from './NotificationButton'
|
||||
import PostButton from './PostButton'
|
||||
import ProfileButton from './ProfileButton'
|
||||
|
|
@ -50,7 +51,10 @@ export default function PrimaryPageSidebar() {
|
|||
<SettingsButton collapse={sidebarCollapse} />
|
||||
<PostButton collapse={sidebarCollapse} />
|
||||
</div>
|
||||
<AccountButton collapse={sidebarCollapse} />
|
||||
<div className="space-y-4">
|
||||
<LayoutSwitcher collapse={sidebarCollapse} />
|
||||
<AccountButton collapse={sidebarCollapse} />
|
||||
</div>
|
||||
<button
|
||||
className={cn(
|
||||
'absolute flex flex-col justify-center items-center right-0 w-5 h-6 p-0 rounded-l-md hover:shadow-md text-muted-foreground hover:text-foreground hover:bg-background transition-colors [&_svg]:size-4',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue