@@ -441,23 +441,25 @@ const CollaborativeDetailClient = () => {
441441
442442 const MetadataContent = [
443443 {
444- icon : Icons . calendar as any ,
444+ icon : Icons . calendarEvent as any ,
445445 label : 'Date' ,
446- value : formatDate ( useCase . modified ) ,
446+ value : formatDate ( useCase . modified ) || '' ,
447447 tooltip : 'Date' ,
448+ stroke : 1.2 ,
448449 } ,
449450 ] ;
450451
451452 if ( Geography ) {
452453 MetadataContent . push ( {
453- icon : Icons . globe as any ,
454+ icon : Icons . worldPin as any ,
454455 label : 'Geography' ,
455456 value : Geography ,
456457 tooltip : 'Geography' ,
458+ stroke : 1.2 ,
457459 } ) ;
458460 }
459461
460- const FooterContent = [
462+ const LeftFooterChips = [
461463 {
462464 icon :
463465 useCase . sectors && useCase . sectors [ 0 ] ?. name
@@ -466,6 +468,8 @@ const CollaborativeDetailClient = () => {
466468 label : 'Sectors' ,
467469 tooltip : useCase . sectors ?. [ 0 ] ?. name || 'Sector' ,
468470 } ,
471+ ] ;
472+ const RightFooterChips = [
469473 {
470474 icon : image ,
471475 label : 'Published by' ,
@@ -478,9 +482,10 @@ const CollaborativeDetailClient = () => {
478482 const commonProps = {
479483 title : useCase . title || '' ,
480484 description : stripMarkdown ( useCase . summary || '' ) ,
481- metadataContent : MetadataContent ,
485+ metadataContent : MetadataContent as any ,
482486 tag : useCase . tags ?. map ( ( t : any ) => t . value ) || [ ] ,
483- footerContent : FooterContent ,
487+ leftFooterChips : LeftFooterChips ,
488+ rightFooterChips : RightFooterChips ,
484489 imageUrl : '' ,
485490 } ;
486491
@@ -511,7 +516,7 @@ const CollaborativeDetailClient = () => {
511516 Explore datasets related to this collaborative{ ' ' }
512517 </ Text >
513518 </ div >
514- < div className = "grid grid-cols-1 gap-6 pt-10 md :grid-cols-2 lg :grid-cols-3 " >
519+ < div className = "grid grid-cols-1 gap-6 pt-10 sm :grid-cols-2 md :grid-cols-3 lg:grid-cols-4 " >
515520 { datasets . length > 0 &&
516521 datasets . map ( ( dataset : TypeDataset ) => (
517522 < Card
@@ -521,17 +526,19 @@ const CollaborativeDetailClient = () => {
521526 iconColor = { 'warning' }
522527 metadataContent = { [
523528 {
524- icon : Icons . calendar as any ,
529+ icon : Icons . calendarEvent as any ,
525530 label : 'Date' ,
526- value : formatDate ( dataset . modified ) ,
531+ value : formatDate ( dataset . modified ) || '' ,
532+ stroke : 1.2 ,
527533 } ,
528534 {
529- icon : Icons . download as any ,
535+ icon : Icons . fileDownload as any ,
530536 label : 'Download' ,
531537 value : dataset . downloadCount . toString ( ) ,
538+ stroke : 1.2 ,
532539 } ,
533540 {
534- icon : Icons . globe as any ,
541+ icon : Icons . worldPin as any ,
535542 label : 'Geography' ,
536543 value :
537544 dataset . geographies &&
@@ -540,14 +547,17 @@ const CollaborativeDetailClient = () => {
540547 . map ( ( geo : any ) => geo . name )
541548 . join ( ', ' )
542549 : '' ,
550+ stroke : 1.2 ,
543551 } ,
544552 ] }
545553 href = { `/datasets/${ dataset . id } ` }
546- footerContent = { [
554+ leftFooterChips = { [
547555 {
548556 icon : `/Sectors/${ dataset . sectors [ 0 ] ?. name } .svg` ,
549557 label : 'Sectors' ,
550558 } ,
559+ ] }
560+ rightFooterChips = { [
551561 {
552562 icon : dataset . isIndividualDataset
553563 ? dataset ?. user ?. profilePicture
@@ -560,6 +570,7 @@ const CollaborativeDetailClient = () => {
560570 } ,
561571 ] }
562572 description = { stripMarkdown ( dataset . description || '' ) }
573+ withViewButton = { false }
563574 />
564575 ) ) }
565576 </ div >
0 commit comments