From 9e472613e615ef8ddacd71bd948a44bbe70c3ddd Mon Sep 17 00:00:00 2001 From: FlorianEisenmenger Date: Thu, 26 Mar 2026 11:25:31 +0100 Subject: [PATCH] fixes --- .../eventoverview-stage/EventOverviewStageComponent.js | 6 ++++-- gfi-ihk-2024/stories/sections/feature/FeatureComponent.js | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gfi-ihk-2024/stories/sections/eventoverview-stage/EventOverviewStageComponent.js b/gfi-ihk-2024/stories/sections/eventoverview-stage/EventOverviewStageComponent.js index 12b04db..099b87a 100644 --- a/gfi-ihk-2024/stories/sections/eventoverview-stage/EventOverviewStageComponent.js +++ b/gfi-ihk-2024/stories/sections/eventoverview-stage/EventOverviewStageComponent.js @@ -35,8 +35,10 @@ export const createEventOverviewStage = ({ const tb = createElement('div', ['stagetext-box'], null, col); if (backgroundImage && backgroundImage.length > 0) { - //section.content('style=background: red;'); - sectiondiv.style = 'background-image: url(' + backgroundImage + ');'; + section.style = '--bg-mobile: url(' + backgroundImage + ');\n' + + ' --bg-tablet: url(' + backgroundImage + ');\n' + + ' --bg-desktop: url(' + backgroundImage + ');\n' + + ' background-image: var(--bg-mobile);'; sectiondiv.classList.add('background-image'); const copy = createElement('span', ['copyright'], copyright, sectiondiv); copy.setAttribute("aria-hidden", "true"); diff --git a/gfi-ihk-2024/stories/sections/feature/FeatureComponent.js b/gfi-ihk-2024/stories/sections/feature/FeatureComponent.js index 852a0d8..986b813 100644 --- a/gfi-ihk-2024/stories/sections/feature/FeatureComponent.js +++ b/gfi-ihk-2024/stories/sections/feature/FeatureComponent.js @@ -28,7 +28,7 @@ export const createFeature = ({ link: '#', }, ], - icon = 'Eule Doktorhut', + icon = 'Eule', }) => { const section = createElement('section', ['feature'], null); const container = createElement('div', ['container'], null, section);