Skip to content

Commit

Permalink
feat(topics): basic topic landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
nsantacruz committed Nov 13, 2024
1 parent 6247033 commit fc2f11f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 2 additions & 6 deletions static/js/ReaderPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import {
ToggleSet, InterfaceText, EnglishText, HebrewText, SignUpModal,
} from './Misc';
import {ContentText} from "./ContentText";
import {TopicsLandingPage} from "./TopicLandingPage/TopicsLandingPage";


class ReaderPanel extends Component {
Expand Down Expand Up @@ -976,12 +977,7 @@ class ReaderPanel extends Component {
);
} else {
menu = (
<TopicsPage
key={"TopicsPage"}
setNavTopic={this.setNavigationTopic}
multiPanel={this.props.multiPanel}
initialWidth={this.state.width}
/>
<TopicsLandingPage />
);
}

Expand Down
5 changes: 5 additions & 0 deletions static/js/TopicLandingPage/TopicsLandingPage.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import React from 'react';

export const TopicsLandingPage = ({}) => {
return (<div>Hello, would you like a serving of topics salad?</div>);
};

0 comments on commit fc2f11f

Please sign in to comment.