import FollowingFavoriteRelayList from '@/components/FollowingFavoriteRelayList' import RelayList from '@/components/RelayList' import PrimaryPageLayout from '@/layouts/PrimaryPageLayout' import { cn } from '@/lib/utils' import { useDeepBrowsing } from '@/providers/DeepBrowsingProvider' import { Compass } from 'lucide-react' import { forwardRef, useState } from 'react' import { useTranslation } from 'react-i18next' type TExploreTabs = 'following' | 'all' const ExplorePage = forwardRef((_, ref) => { const [tab, setTab] = useState('following') return ( } displayScrollToTopButton > {tab === 'following' ? : } ) }) ExplorePage.displayName = 'ExplorePage' export default ExplorePage function ExplorePageTitlebar() { const { t } = useTranslation() return (
{t('Explore')}
) } function Tabs({ value, setValue }: { value: TExploreTabs setValue: (value: TExploreTabs) => void }) { const { t } = useTranslation() const { deepBrowsing, lastScrollTop } = useDeepBrowsing() return (
800 ? '-translate-y-[calc(100%+12rem)]' : '' )} >
setValue('following')} > {t("Following's Favorites")}
setValue('all')} > {t('All')}
) }