Skip to content

Commit 7048d09

Browse files
committed
Added new news categories
1 parent b5f934b commit 7048d09

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

src/components/LandingPage/sections/SectionNews/SectionNews.tsx

+17-4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ export default function SectionNews({ className, showHeader = false }: SectionNe
2727
}
2828
};
2929

30+
newsList.forEach((news) => {
31+
console.debug(news.category);
32+
if (news.title.includes('Neuron Phenotype Ontology')) {
33+
console.debug(news);
34+
}
35+
});
36+
3037
return (
3138
<>
3239
<div className={classNames(className, styles.news, styleBlockMedium)}>
@@ -77,10 +84,16 @@ export default function SectionNews({ className, showHeader = false }: SectionNe
7784
}
7885

7986
const CATEGORIES: Array<{ id: string; label: string }> = [
80-
{ label: 'New feature', id: 'new-feature' },
81-
{ label: 'Paper release', id: 'paper-release' },
82-
{ label: 'Platform update', id: 'platform-update' },
83-
{ label: 'New model', id: 'new-model' },
87+
{ label: 'BBP news', id: 'BBP news' },
88+
{ label: 'Talk', id: 'Talk' },
89+
{ label: 'New feature', id: 'New feature' },
90+
{ label: 'Paper release', id: 'Paper release' },
91+
{ label: 'Platform update', id: 'Platform update' },
92+
{ label: 'New model', id: 'New model' },
93+
{ label: 'Event', id: 'Event' },
94+
{ label: 'Workshop', id: 'Workshop' },
95+
{ label: 'Knowledge', id: 'Knowledge' },
96+
{ label: 'Milestone', id: 'Milestone' },
8497
];
8598

8699
const ALL_CATEGORY_IDS = CATEGORIES.map((cat) => cat.id);

0 commit comments

Comments
 (0)