mirror of
https://github.com/PrimalHQ/primal-web-app.git
synced 2024-09-29 00:10:50 +00:00
Explore: Move new Explore to explore route
This commit is contained in:
parent
dfc9e3393a
commit
1e0218d89b
@ -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} />
|
||||
|
@ -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}`)
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user