From 592122a7da3d1692865ec6f7970d76f4d7ec6607 Mon Sep 17 00:00:00 2001 From: Arkadiusz Wieczorek Date: Wed, 6 Jul 2022 20:01:14 +0200 Subject: [PATCH] Add intro to survey --- components/report-window/email-content.scss | 3 --- components/report-window/generate-survey-questions.ts | 10 ++++++++++ components/report-window/report-window.scss | 1 + 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/components/report-window/email-content.scss b/components/report-window/email-content.scss index 63b23c4..3cb0a2c 100644 --- a/components/report-window/email-content.scss +++ b/components/report-window/email-content.scss @@ -23,9 +23,6 @@ h1 { &__header { display: flex; justify-content: flex-end; - - &--control { - } } &__content { diff --git a/components/report-window/generate-survey-questions.ts b/components/report-window/generate-survey-questions.ts index bbc0937..3de8d15 100644 --- a/components/report-window/generate-survey-questions.ts +++ b/components/report-window/generate-survey-questions.ts @@ -164,6 +164,16 @@ export default function generateSurveyQuestions(hosts: string[]) { locale: 'pl', clearInvisibleValues: 'onHidden', pages: [ + { + title: 'Tytuł - co to za ankieta?', + elements: [ + { + type: 'html', + name: 'intro', + html: '

Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab, odit dicta at aut esse culpa eveniet iure odio voluptates veniam sit. Libero explicabo, perspiciatis ad expedita officiis inventore impedit ducimus!

', + }, + ], + }, { title: 'Zaimki', elements: [ diff --git a/components/report-window/report-window.scss b/components/report-window/report-window.scss index 2bb28d8..a9f9e61 100644 --- a/components/report-window/report-window.scss +++ b/components/report-window/report-window.scss @@ -269,6 +269,7 @@ h1 { border: 1px solid #000; } +.sv_q_title, .sv_main .sv_container .sv_body .sv_p_root .sv_q_title { font-weight: 600; font-size: calc(14 / 16 * 1rem);