diff --git a/client/src/components/mediacenter/OverviewCard.vue b/client/src/components/mediacenter/OverviewCard.vue index b9619ffb..67fb303d 100644 --- a/client/src/components/mediacenter/OverviewCard.vue +++ b/client/src/components/mediacenter/OverviewCard.vue @@ -6,11 +6,11 @@ export interface Props { description: string, call2Action: string, link: string, - iconUrl: string + icon: string } const props = withDefaults(defineProps(), { - iconUrl: '' + icon: '' }) @@ -19,7 +19,7 @@ const props = withDefaults(defineProps(), {

{{title}}

-

Finde alle Ressourcen der Handlungsfelder wie Lernmedien, Links und andere nützliche Informationen.

+

{{description}}

(), {
diff --git a/client/src/views/MediaMainView.vue b/client/src/views/MediaMainView.vue index 2734b9f2..705a158c 100644 --- a/client/src/views/MediaMainView.vue +++ b/client/src/views/MediaMainView.vue @@ -16,8 +16,17 @@ log.debug('MediaMainView created'); title="Handlungsfelder" call2-action="Anschauen" link="/mediacenter/some" - description="Finde blablalba" - icon-url="/static/icons/icon-handlungsfelder-overview.svg"> + description="Finde alle Ressourcen der Handlungsfelder wie Lernmedien, Links und andere nützliche Informationen." + icon="handlungsfelder-overview" + class="mb-6"> + + diff --git a/client/tailwind.config.js b/client/tailwind.config.js index be837b6e..75d9b72c 100644 --- a/client/tailwind.config.js +++ b/client/tailwind.config.js @@ -20,6 +20,8 @@ module.exports = { '9xl': '96rem', }, backgroundImage: { + 'handlungsfelder-overview': "url('/static/icons/icon-handlungsfelder-overview.svg')", + 'lernmedien-overview': "url('/static/icons/icon-lernmedien-overview.svg')", } }, colors: colors, @@ -27,6 +29,9 @@ module.exports = { safelist: [ { pattern: /bg-(blue|sky|green|red|orange|yellow|stone|gray|slate)-(200|300|400|500|600|700|800|900)/, }, 'it-icon', + 'bg-handlungsfelder-overview', + 'bg-lernmedien-overview', + ], plugins: [ require('@tailwindcss/typography'), diff --git a/server/vbv_lernwelt/static/icons/icon-handlungsfelder-overview.svg b/server/vbv_lernwelt/static/icons/icon-handlungsfelder-overview.svg new file mode 100644 index 00000000..71716afc --- /dev/null +++ b/server/vbv_lernwelt/static/icons/icon-handlungsfelder-overview.svg @@ -0,0 +1,3 @@ + + + diff --git a/server/vbv_lernwelt/static/icons/icon-lernmedien-overview.svg b/server/vbv_lernwelt/static/icons/icon-lernmedien-overview.svg new file mode 100644 index 00000000..cc99a824 --- /dev/null +++ b/server/vbv_lernwelt/static/icons/icon-lernmedien-overview.svg @@ -0,0 +1,3 @@ + + +