Explore: Move new Explore to explore route

This commit is contained in:
Bojan Mojsilovic 2024-09-27 20:39:30 +02:00
parent dfc9e3393a
commit 1e0218d89b
3 changed files with 4 additions and 4 deletions

View File

@ -122,11 +122,11 @@ const Router: Component = () => {
<Route path="/reads/:topic?" component={Reads} />
<Route path="/thread/:id" component={Thread} />
<Route path="/e/:id" component={Thread} />
<Route path="/explore_new">
<Route path="/explore">
<Route path="/" component={ExploreNew} />
<Route path="/feed/:id" component={ExploreFeeds} />
</Route>
<Route path="/explore/:scope?/:timeframe?" component={Explore} />
{/* <Route path="/explore/:scope?/:timeframe?" component={Explore} /> */}
<Route path="/messages/:sender?" component={Messages} />
<Route path="/notifications" component={Notifications} />
<Route path="/downloads" component={Downloads} />

View File

@ -157,7 +157,7 @@ const FeedMarketPlace: Component<{
store.users[dvm.pubkey],
store.dvmActions[dvm.id],
)
navigate(`/explore_new/feed/${dvm.identifier}_by_${dvm.pubkey}`)
navigate(`/explore/feed/${dvm.identifier}_by_${dvm.pubkey}`)
}}
/>
)}

View File

@ -219,7 +219,7 @@ const Layout: Component = () => {
<div id="search_section" class={location.pathname.startsWith('/messages') ? styles.messagesSearch : ''}>
</div>
</div>
<div class={`${styles.rightContent} ${location.pathname.startsWith('/explore_new') ? styles.exploreHeader : ''}`}>
<div class={`${styles.rightContent} ${location.pathname.startsWith('/explore') ? styles.exploreHeader : ''}`}>
<div id="right_sidebar">
</div>
</div>