diff --git a/app/(home-pages)/discover/PubListing.tsx b/app/(home-pages)/discover/PubListing.tsx index e3bc5224..fae42889 100644 --- a/app/(home-pages)/discover/PubListing.tsx +++ b/app/(home-pages)/discover/PubListing.tsx @@ -37,22 +37,12 @@ export const PubListing = ( px-3 py-3 selected-outline hover:outline-accent-contrast hover:border-accent-contrast relative overflow-hidden`} + style={{ + backgroundImage: `url(${backgroundImage})`, + backgroundRepeat: backgroundImageRepeat ? "repeat" : "no-repeat", + backgroundSize: `${backgroundImageRepeat ? `${backgroundImageSize}px` : "cover"}`, + }} > - {backgroundImage && ( - - )}
diff --git a/app/(home-pages)/discover/SortedPublicationList.tsx b/app/(home-pages)/discover/SortedPublicationList.tsx index dee6e495..c980939f 100644 --- a/app/(home-pages)/discover/SortedPublicationList.tsx +++ b/app/(home-pages)/discover/SortedPublicationList.tsx @@ -81,7 +81,7 @@ const SortButton = (props: {
diff --git a/components/ActionBar/Publications.tsx b/components/ActionBar/Publications.tsx index fee908b7..f38cd4ce 100644 --- a/components/ActionBar/Publications.tsx +++ b/components/ActionBar/Publications.tsx @@ -102,7 +102,9 @@ export const PubIcon = (props: { let iconSizeClassName = `${props.small ? "w-4 h-4" : props.large ? "w-12 h-12" : "w-6 h-6"} rounded-full`; return props.record.icon ? ( -
+
{`${props.record.name} - {props.record?.name.slice(0, 1)} + {props.record?.name.slice(0, 1).toUpperCase()}
);