-9
src/routes.ts
-9
src/routes.ts
-9
src/shell.tsx
-9
src/shell.tsx
···
22
22
23
23
import BellOutlinedIcon from '~/components/icons-central/bell-outline';
24
24
import BellSolidIcon from '~/components/icons-central/bell-solid';
25
-
import HashtagOutlinedIcon from '~/components/icons-central/hashtag-outline';
26
25
import HomeOutlinedIcon from '~/components/icons-central/home-outline';
27
26
import HomeSolidIcon from '~/components/icons-central/home-solid';
28
27
import MagnifyingGlassOutlinedIcon from '~/components/icons-central/magnifying-glass-outline';
···
86
85
EXPLORE = 'Explore',
87
86
NOTIFICATIONS = 'Notifications',
88
87
MESSAGES = 'Messages',
89
-
FEEDS = 'Feeds',
90
88
}
91
89
92
90
const MainTabsRoutes = {
···
94
92
[MainTabs.EXPLORE]: '/explore',
95
93
[MainTabs.NOTIFICATIONS]: '/notifications',
96
94
[MainTabs.MESSAGES]: '/messages',
97
-
[MainTabs.FEEDS]: '/feeds',
98
95
};
99
96
100
97
const NavBar = ({
···
164
161
onClick={bindClick(MainTabs.MESSAGES)}
165
162
icon={MailOutlinedIcon}
166
163
iconActive={MailSolidIcon}
167
-
/>
168
-
<NavItem
169
-
label="Feeds"
170
-
active={active() === MainTabs.FEEDS}
171
-
onClick={bindClick(MainTabs.FEEDS)}
172
-
icon={HashtagOutlinedIcon}
173
164
/>
174
165
</div>
175
166
</>