This commit is contained in:
@@ -473,7 +473,7 @@ main.page-jumbotron {
|
||||
|
||||
justify-content: center;
|
||||
|
||||
zoom: 1.5;
|
||||
zoom: 2.5;
|
||||
|
||||
.row {
|
||||
display: grid;
|
||||
|
||||
@@ -153,7 +153,8 @@ export const getJumbotronProblem = (db: DatabaseInternal): Promise<Problem | nul
|
||||
const mostRecentProblems = Object.values(state.problems)
|
||||
.filter(p => !p.deleted)
|
||||
.sort((p1, p2) => new Date(p2.createdAt).getTime() - new Date(p1.createdAt).getTime())
|
||||
.slice(0, 3)
|
||||
// NOTE: Previously, we only showed only one of the 3 most recent problems
|
||||
// .slice(0, 3)
|
||||
|
||||
if (mostRecentProblems.length === 0) return null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user