@@ -27,6 +27,13 @@ export default function SectionNews({ className, showHeader = false }: SectionNe
27
27
}
28
28
} ;
29
29
30
+ newsList . forEach ( ( news ) => {
31
+ console . debug ( news . category ) ;
32
+ if ( news . title . includes ( 'Neuron Phenotype Ontology' ) ) {
33
+ console . debug ( news ) ;
34
+ }
35
+ } ) ;
36
+
30
37
return (
31
38
< >
32
39
< div className = { classNames ( className , styles . news , styleBlockMedium ) } >
@@ -77,10 +84,16 @@ export default function SectionNews({ className, showHeader = false }: SectionNe
77
84
}
78
85
79
86
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' } ,
84
97
] ;
85
98
86
99
const ALL_CATEGORY_IDS = CATEGORIES . map ( ( cat ) => cat . id ) ;
0 commit comments