refactor: 💨

This commit is contained in:
codytseng
2025-04-08 18:09:09 +08:00
parent c5645f78e0
commit 3c78f94a7e
12 changed files with 14 additions and 60 deletions

View File

@@ -1,10 +1,10 @@
import Icon from '@/assets/Icon'
import Logo from '@/assets/Logo'
import LogoUrl from '../../../resources/logo.svg'
import SmallLogoUrl from '../../../resources/small-logo.svg'
import AccountButton from './AccountButton'
import RelaysButton from './ExploreButton'
import HomeButton from './HomeButton'
import NotificationsButton from './NotificationButton'
import PostButton from './PostButton'
import RelaysButton from './ExploreButton'
import SearchButton from './SearchButton'
import SettingsButton from './SettingsButton'
@@ -13,8 +13,8 @@ export default function PrimaryPageSidebar() {
<div className="w-16 xl:w-52 hidden sm:flex flex-col pb-2 pt-4 px-2 justify-between h-full shrink-0">
<div className="space-y-2">
<div className="px-3 xl:px-4 mb-6 w-full">
<Icon className="xl:hidden" />
<Logo className="max-xl:hidden" />
<img src={LogoUrl} className="max-xl:hidden" />
<img src={SmallLogoUrl} className="xl:hidden" />
</div>
<HomeButton />
<RelaysButton />