Skip to content

Commit

Permalink
First run at feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
moysa committed Jul 4, 2024
1 parent 63e3e9a commit c0a129c
Show file tree
Hide file tree
Showing 8 changed files with 1,436 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ const Terms = lazy(() => import('./pages/Terms'));
const Privacy = lazy(() => import('./pages/Privacy'));
const Support = lazy(() => import('./pages/Support'));

const Feeds = lazy(() => import('./pages/FeedsTest'));
const Feed = lazy(() => import('./pages/FeedQueryTest'));
const AdvancedSearch = lazy(() => import('./pages/AdvancedSearch'));
const AdvancedSearchResults = lazy(() => import('./pages/AdvancedSearchResults'));

const primalWindow = window as PrimalWindow;

const isDev = localStorage.getItem('devMode') === 'true';
Expand Down Expand Up @@ -138,6 +143,14 @@ const Router: Component = () => {
<Route path="/rest" component={Explore} />
<Route path="/mutelist/:npub" component={Mutelist} />
<Route path="/new" component={CreateAccount} />
<Route path="/feeds">
<Route path="/" component={Feeds} />
<Route path="/:query" component={Feed} />
</Route>
<Route path="/asearch">
<Route path="/" component={AdvancedSearch} />
<Route path="/:query" component={AdvancedSearchResults} />
</Route>
<Route path="/404" component={NotFound} />
<Route path="/:vanityName">
<Route path="/" component={Profile} data={getKnownProfiles} />
Expand Down
Loading

0 comments on commit c0a129c

Please sign in to comment.