Skip to content

Commit

Permalink
feat(Front.tsx): add LatestPapers component to replace Papers compone…
Browse files Browse the repository at this point in the history
…nt in the Frontpage

The Papers component in the Frontpage has been replaced with the LatestPapers component to display the latest papers. This change improves the functionality and relevance of the Frontpage by showing the most recent papers to the users.
  • Loading branch information
ktun95 committed Jan 28, 2024
1 parent 02c15eb commit 04e5fa7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/dicty-frontpage/src/features/Frontpage/Front.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { makeStyles, Theme } from "@material-ui/core/styles"
// import { RecentNewsContainer } from "news-component"
import { Slideshow } from "./Slideshow"
import { Papers } from "./Papers"
import { LatestPapers } from "./LatestPapers"
import { Popular } from "./Popular"
import { Annotations } from "./Annotations"
import { StockCenter } from "./StockCenter"
Expand Down Expand Up @@ -44,7 +45,7 @@ const Front = () => {
{/* <RecentNewsContainer /> */}
</Grid>
<Grid item className={classes.topItem} xs={12} lg={6} xl={4}>
<Papers />
<LatestPapers />
</Grid>
<Grid item className={classes.topItem} xs={12} sm={6} lg={3}>
<Popular />
Expand Down

0 comments on commit 04e5fa7

Please sign in to comment.