image refactor
This commit is contained in:
		| @@ -6,7 +6,7 @@ const PageHeader = (entry) => { | ||||
| 			className: "page-title-section overlay", | ||||
| 			style: { | ||||
| 				backgroundImage: | ||||
| 					'url("/media/backgrounds/page-title.webp"),url("/media/backgrounds/page-title.webp")', | ||||
| 					'url("/media/titelbild.webp"),url("/media/titelbild.webp")', | ||||
| 			}, | ||||
| 		}, | ||||
| 		h( | ||||
|   | ||||
| @@ -16,9 +16,7 @@ const ContestPreview = ({ widgetFor, entry, fields, collection }) => { | ||||
| 		Section( | ||||
| 			Container([ | ||||
| 				entry.data.image && | ||||
| 				!["/media/contests/image.webp", "/media/begabte/image.webp"].includes( | ||||
| 					entry.data.image | ||||
| 				) | ||||
| 				entry.data.image != "/media/image.webp" | ||||
| 					? Row( | ||||
| 							h( | ||||
| 								"div", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user