diff --git a/frontend/src/app/dashboard/component/user/dataset-card-item/dataset-card-item.component.ts b/frontend/src/app/dashboard/component/user/dataset-card-item/dataset-card-item.component.ts index 5e9fd3e27f1..81eb80e3834 100644 --- a/frontend/src/app/dashboard/component/user/dataset-card-item/dataset-card-item.component.ts +++ b/frontend/src/app/dashboard/component/user/dataset-card-item/dataset-card-item.component.ts @@ -45,7 +45,7 @@ export class DatasetCardItemComponent implements OnChanges { entryLink: string[] = []; coverImageSrc: string = ""; - readonly defaultCover = "assets/card_background.jpg"; + readonly defaultCover = "assets/card_background.svg"; likeCount = 0; viewCount = 0; isLiked = false; diff --git a/frontend/src/app/hub/component/browse-section/browse-section.component.ts b/frontend/src/app/hub/component/browse-section/browse-section.component.ts index 659e018e1e1..40239e3d51f 100644 --- a/frontend/src/app/hub/component/browse-section/browse-section.component.ts +++ b/frontend/src/app/hub/component/browse-section/browse-section.component.ts @@ -58,7 +58,7 @@ export class BrowseSectionComponent implements OnInit, OnChanges { @Input() sectionTitle: string = ""; @Input() currentUid: number | undefined; - defaultBackground: string = "../../../../../assets/card_background.jpg"; + defaultBackground: string = "../../../../../assets/card_background.svg"; protected readonly HUB_WORKFLOW_RESULT_DETAIL = HUB_WORKFLOW_RESULT_DETAIL; protected readonly USER_WORKSPACE = USER_WORKSPACE; protected readonly HUB_DATASET_RESULT_DETAIL = HUB_DATASET_RESULT_DETAIL; diff --git a/frontend/src/assets/card_background.jpg b/frontend/src/assets/card_background.jpg deleted file mode 100644 index d3da0bf7666..00000000000 Binary files a/frontend/src/assets/card_background.jpg and /dev/null differ diff --git a/frontend/src/assets/card_background.svg b/frontend/src/assets/card_background.svg new file mode 100644 index 00000000000..a08355a4e30 --- /dev/null +++ b/frontend/src/assets/card_background.svg @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +