Add Handlungsfelder SVGs

This commit is contained in:
Christian Cueni 2023-01-31 08:11:52 +01:00
parent f6ffb431c2
commit 0794a715b3
18 changed files with 15 additions and 11 deletions

View File

@ -85,7 +85,7 @@ function hasMoreItemsForType<T>(itemType: MediaBlockType, items: T[]) {
<div>
<img
class="float-left hidden md:mt-8 md:block lg:float-right lg:mt-0 lg:max-w-[505px]"
:src="`/static/icons/demo/${mediaCategory.detail_image}.png`"
:src="`/static/icons/handlungsfelder/${mediaCategory.detail_image}.svg`"
alt=""
/>
</div>

View File

@ -42,7 +42,7 @@ def create_default_media_library(course_id=COURSE_VERSICHERUNGSVERMITTLERIN_OLD_
]
for idx, cat in enumerate(course.coursecategory_set.all()):
overview_icon = icons[(idx + len(icons) - 1) % len(icons)]
detail_image = overview_icon.replace("icon", "image")
detail_image = f"{overview_icon}-detail"
if cat.title == "Fahrzeug":
media_category = MediaCategoryPageFactory(
@ -294,4 +294,5 @@ Diese können negative Folgen verschiedener Art nach sich ziehen, darunter recht
title=cat.title,
course_category=cat,
parent=media_lib_page,
detail_image=detail_image,
)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 70 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 116 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 67 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 123 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 256 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 100 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 103 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 130 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 65 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 130 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 94 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 285 KiB