1
- import location from ' ../../Assets/Img/location.svg' ;
2
- import category from ' ../../Assets/Img/category.svg' ;
3
- import apartment from ' ../../Assets/Img/apartment.svg' ;
4
- import globe_img from ' ../../Assets/Img/globe_img.svg' ;
1
+ import location from " ../../Assets/Img/location.svg" ;
2
+ import category_icon from " ../../Assets/Img/category.svg" ;
3
+ import apartment from " ../../Assets/Img/apartment.svg" ;
4
+ import globe_img from " ../../Assets/Img/globe_img.svg" ;
5
5
import { Card , Typography , useMediaQuery , useTheme } from "@mui/material" ;
6
6
import React from "react" ;
7
7
import LocalStyle from "./DatasetCard.module.css" ;
@@ -26,7 +26,7 @@ const DatasetCart = (props) => {
26
26
className = { mobile ? LocalStyle . cardContainerSm : LocalStyle . cardContainer }
27
27
>
28
28
< div className = "published" >
29
- < img src = { globe_img } />
29
+ < img src = { globe_img } />
30
30
< span className = "published_text" >
31
31
Published on:{ " " }
32
32
{ publishDate ?. split ( "T" ) [ 0 ]
@@ -36,16 +36,14 @@ const DatasetCart = (props) => {
36
36
</ div >
37
37
< div className = "d_content_title" > { title } </ div >
38
38
< div className = { "organisation" } >
39
- { orgnisationName && (
40
- < img src = { apartment } />
41
- ) }
39
+ { orgnisationName && < img src = { apartment } /> }
42
40
{ orgnisationName && (
43
41
< span className = "organisation_text" > { orgnisationName } </ span >
44
42
) }
45
43
</ div >
46
44
< div className = "d_content_text" >
47
45
< div className = "category" >
48
- < img src = { category } alt = "category" />
46
+ < img src = { category_icon } alt = "category" />
49
47
< span className = "category_text" >
50
48
{ Object . keys ( category ) . length
51
49
? category ?. length > 1
@@ -55,7 +53,7 @@ const DatasetCart = (props) => {
55
53
</ span >
56
54
</ div >
57
55
< div className = "location" >
58
- < img src = { location } alt = "location" />
56
+ < img src = { location } alt = "location" />
59
57
< span className = "location_text" >
60
58
{ geography ?. country ?. name
61
59
? geography ?. country ?. name
0 commit comments