Design Anpassungen
This commit is contained in:
parent
20a3de4d80
commit
edc0b3aeb2
|
|
@ -164,7 +164,7 @@ function render() {
|
||||||
const learningSequenceText = learningSequences
|
const learningSequenceText = learningSequences
|
||||||
.append('text')
|
.append('text')
|
||||||
.attr('fill', colors.blue[900])
|
.attr('fill', colors.blue[900])
|
||||||
.style('font-size', 15)
|
.style('font-size', '15px')
|
||||||
.text((d) => {
|
.text((d) => {
|
||||||
return d.title
|
return d.title
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -12,32 +12,36 @@ const props = defineProps<{
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ItFullScreenModal :show="show" @closemodal="$emit('closemodal')">
|
<ItFullScreenModal :show="show" @closemodal="$emit('closemodal')">
|
||||||
<h1 class="">Überblick: Circle "{{ circle.title }}"</h1>
|
<div class="container-medium">
|
||||||
|
<h1 class="">Überblick: Circle "{{ circle.title }}"</h1>
|
||||||
|
|
||||||
<p class="mt-8 text-xl">Hier zeigen wir dir, was du in diesem Circle lernen wirst.</p>
|
<p class="mt-8 text-xl">Hier zeigen wir dir, was du in diesem Circle lernen wirst.</p>
|
||||||
|
|
||||||
<div class="mt-8 p-4 border border-gray-500">
|
<div class="mt-8 p-4 border border-gray-500">
|
||||||
<h3>Du wirst in der Lage sein, ...</h3>
|
<h3>Du wirst in der Lage sein, ...</h3>
|
||||||
|
|
||||||
<ul class="mt-4">
|
<ul class="mt-4">
|
||||||
<li class="text-xl flex items-center" v-for="goal in circle.goals" :key="goal.id">
|
<li class="text-xl flex items-center" v-for="goal in circle.goals" :key="goal.id">
|
||||||
<it-icon-check class="mt-4 hidden lg:block w-12 h-12 text-sky-500 flex-none"></it-icon-check>
|
<it-icon-check class="mt-4 hidden lg:block w-12 h-12 text-sky-500 flex-none"></it-icon-check>
|
||||||
<div class="mt-4">{{ goal.value }}</div>
|
<div class="mt-4">{{ goal.value }}</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h3 class="mt-16">
|
||||||
|
Du wirst dein neu erworbenes Wissen auf folgenden berufstypischen Situation anwenden können:
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<ul class="grid grid-cols-1 lg:grid-cols-3 auto-rows-fr gap-6 mt-8">
|
||||||
|
<li
|
||||||
|
v-for="jobSituation in circle.job_situations"
|
||||||
|
:key="jobSituation.id"
|
||||||
|
class="job-situation border border-gray-500 p-4 text-xl flex items-center"
|
||||||
|
>
|
||||||
|
{{ jobSituation.value }}
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3 class="mt-16">Du wirst dein neu erworbenes Wissen auf folgenden berufstypischen Situation anwenden können:</h3>
|
|
||||||
|
|
||||||
<ul class="grid grid-cols-1 lg:grid-cols-3 auto-rows-fr gap-6 mt-8">
|
|
||||||
<li
|
|
||||||
v-for="jobSituation in circle.job_situations"
|
|
||||||
:key="jobSituation.id"
|
|
||||||
class="job-situation border border-gray-500 p-4 text-xl flex items-center"
|
|
||||||
>
|
|
||||||
{{ jobSituation.value }}
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</ItFullScreenModal>
|
</ItFullScreenModal>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ const block = computed(() => {
|
||||||
<iframe width="100%" height="100%" scrolling="no" :src="block.value.url" />
|
<iframe width="100%" height="100%" scrolling="no" :src="block.value.url" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-else class="mx-auto max-w-5xl px-4 lg:px-8 py-4">
|
<div v-else class="container-medium">
|
||||||
<p>{{ block.value.description }}</p>
|
<p>{{ block.value.description }}</p>
|
||||||
|
|
||||||
<div v-if="block.type === 'video'">
|
<div v-if="block.type === 'video'">
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@ export default {
|
||||||
log.debug('LearningPathDiagram mounted')
|
log.debug('LearningPathDiagram mounted')
|
||||||
|
|
||||||
if (this.vertical) {
|
if (this.vertical) {
|
||||||
this.width = Math.min(1080, window.innerWidth - 32)
|
this.width = Math.min(960, window.innerWidth - 32)
|
||||||
this.height = 860
|
this.height = 860
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -182,8 +182,8 @@ export default {
|
||||||
const circlesText = circle_groups
|
const circlesText = circle_groups
|
||||||
.append('text')
|
.append('text')
|
||||||
.attr('fill', colors.blue[900])
|
.attr('fill', colors.blue[900])
|
||||||
.style('font-size', 18)
|
.style('font-size', '18px')
|
||||||
.style('hyphens', 'auto')
|
.style('overflow-wrap', 'break-word')
|
||||||
.text((d) => {
|
.text((d) => {
|
||||||
if (!this.vertical) {
|
if (!this.vertical) {
|
||||||
return d.title.replace('Prüfungsvorbereitung', 'Prüfungs- vorbereitung')
|
return d.title.replace('Prüfungsvorbereitung', 'Prüfungs- vorbereitung')
|
||||||
|
|
@ -240,7 +240,7 @@ export default {
|
||||||
const topicTitles = topicGroups
|
const topicTitles = topicGroups
|
||||||
.append('text')
|
.append('text')
|
||||||
.attr('fill', colors.blue[900])
|
.attr('fill', colors.blue[900])
|
||||||
.style('font-size', 16)
|
.style('font-size', '16px')
|
||||||
.text((d) => d.title)
|
.text((d) => d.title)
|
||||||
|
|
||||||
// Calculate positions of objects
|
// Calculate positions of objects
|
||||||
|
|
@ -300,7 +300,7 @@ export default {
|
||||||
|
|
||||||
topicTitles
|
topicTitles
|
||||||
.attr('y', 20)
|
.attr('y', 20)
|
||||||
.style('font-size', 18)
|
.style('font-size', '18px')
|
||||||
.call(wrap, circleWidth * 0.8)
|
.call(wrap, circleWidth * 0.8)
|
||||||
.attr('class', 'topicTitles font-bold')
|
.attr('class', 'topicTitles font-bold')
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,7 @@ const learningSequenceBorderClass = computed(() => {
|
||||||
class="btn-blue -my-4"
|
class="btn-blue -my-4"
|
||||||
@click.stop="circleStore.openLearningContent(learningContent)"
|
@click.stop="circleStore.openLearningContent(learningContent)"
|
||||||
>
|
>
|
||||||
Weiter gehts
|
Weiter geht's
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -46,8 +46,8 @@ onMounted(async () => {
|
||||||
<LearningContent :key="circleStore.currentLearningContent.translation_key" />
|
<LearningContent :key="circleStore.currentLearningContent.translation_key" />
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<div class="circle-container">
|
<div class="circle-container bg-gray-200">
|
||||||
<div class="circle">
|
<div class="circle max-w-9xl">
|
||||||
<div class="flex flex-col lg:flex-row">
|
<div class="flex flex-col lg:flex-row">
|
||||||
<div class="flex-initial lg:w-128 px-4 py-4 lg:px-8 lg:pt-4 bg-white">
|
<div class="flex-initial lg:w-128 px-4 py-4 lg:px-8 lg:pt-4 bg-white">
|
||||||
<router-link
|
<router-link
|
||||||
|
|
@ -81,7 +81,7 @@ onMounted(async () => {
|
||||||
<div class="hidden lg:block">
|
<div class="hidden lg:block">
|
||||||
<div class="block border border-gray-500 mt-8 p-6">
|
<div class="block border border-gray-500 mt-8 p-6">
|
||||||
<h3 class="text-blue-dark">Das lernst du in diesem Circle.</h3>
|
<h3 class="text-blue-dark">Das lernst du in diesem Circle.</h3>
|
||||||
<div class="prose mt-4">
|
<div class="leading-relaxed mt-4">
|
||||||
{{ circleStore.circle?.description }}
|
{{ circleStore.circle?.description }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -92,7 +92,9 @@ onMounted(async () => {
|
||||||
|
|
||||||
<div class="expert border border-gray-500 mt-8 p-6">
|
<div class="expert border border-gray-500 mt-8 p-6">
|
||||||
<h3 class="text-blue-dark">Hast du Fragen?</h3>
|
<h3 class="text-blue-dark">Hast du Fragen?</h3>
|
||||||
<div class="prose mt-4">Tausche dich mit der Fachexpertin aus für den Circle Analyse aus.</div>
|
<div class="leading-relaxed mt-4">
|
||||||
|
Tausche dich mit der Fachexpertin aus für den Circle Analyse aus.
|
||||||
|
</div>
|
||||||
<button class="btn-secondary mt-4 text-xl">Fachexpertin kontaktieren</button>
|
<button class="btn-secondary mt-4 text-xl">Fachexpertin kontaktieren</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -116,12 +118,12 @@ onMounted(async () => {
|
||||||
|
|
||||||
<style lang="postcss" scoped>
|
<style lang="postcss" scoped>
|
||||||
.circle-container {
|
.circle-container {
|
||||||
background: linear-gradient(to right, white 0%, white 50%, theme(colors.gray.200) 50%, theme(colors.gray.200) 100%);
|
/*background: linear-gradient(to right, white 0%, white 50%, theme(colors.gray.200) 50%, theme(colors.gray.200) 100%);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.circle {
|
.circle {
|
||||||
max-width: 1440px;
|
/*max-width: 1440px;*/
|
||||||
margin: 0 auto;
|
/*margin: 0 auto;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.v-enter-active,
|
.v-enter-active,
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ const userStore = useUserStore()
|
||||||
<div class="mt-8 p-8 break-words bg-white max-w-xl">
|
<div class="mt-8 p-8 break-words bg-white max-w-xl">
|
||||||
<h3>Versicherungsvermittler/in</h3>
|
<h3>Versicherungsvermittler/in</h3>
|
||||||
<div class="mt-4">
|
<div class="mt-4">
|
||||||
<router-link class="btn-blue" to="/learn/versicherungsvermittlerin"> Weiter gehts </router-link>
|
<router-link class="btn-blue" to="/learn/versicherungsvermittlerin"> Weiter geht's </router-link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ onMounted(async () => {
|
||||||
<div class="flex justify-end p-3">
|
<div class="flex justify-end p-3">
|
||||||
<button class="flex items-center" @click="learningPathStore.page = 'OVERVIEW'" data-cy="show-list-view">
|
<button class="flex items-center" @click="learningPathStore.page = 'OVERVIEW'" data-cy="show-list-view">
|
||||||
<it-icon-list />
|
<it-icon-list />
|
||||||
Listen Ansicht anzeigen
|
Listenansicht anzeigen
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<LearningPathDiagram
|
<LearningPathDiagram
|
||||||
|
|
|
||||||
|
|
@ -20,17 +20,15 @@ const emits = defineEmits(['closemodal'])
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<ItFullScreenModal :show="show" @closemodal="$emit('closemodal')">
|
<ItFullScreenModal :show="show" @closemodal="$emit('closemodal')">
|
||||||
<div class="bg-white mx-auto max-w-[1440px] lg:p-6 p-4" v-if="learningPathStore.learningPath">
|
<div class="container-medium" v-if="learningPathStore.learningPath">
|
||||||
<h1>{{ learningPathStore.learningPath.title }}</h1>
|
<h1>{{ learningPathStore.learningPath.title }}</h1>
|
||||||
<div class="learningpath flex flex-col">
|
<div class="learningpath flex flex-col">
|
||||||
<div class="flex flex-col h-max">
|
<div class="flex flex-col h-max">
|
||||||
<div class="bg-red py-8">
|
<LearningPathDiagram
|
||||||
<LearningPathDiagram
|
class="w-full"
|
||||||
class="max-w-[1280px] w-full"
|
identifier="verticalVisualization"
|
||||||
identifier="verticalVisualization"
|
v-bind:vertical="true"
|
||||||
v-bind:vertical="true"
|
></LearningPathDiagram>
|
||||||
></LearningPathDiagram>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,10 @@ module.exports = {
|
||||||
spacing: {
|
spacing: {
|
||||||
'128': '32rem',
|
'128': '32rem',
|
||||||
},
|
},
|
||||||
|
maxWidth: {
|
||||||
|
'8xl': '88rem',
|
||||||
|
'9xl': '96rem',
|
||||||
|
},
|
||||||
backgroundImage: {
|
backgroundImage: {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -59,6 +59,14 @@ svg {
|
||||||
@apply text-base font-bold
|
@apply text-base font-bold
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.container-medium {
|
||||||
|
@apply mx-auto max-w-5xl px-4 lg:px-8 py-4
|
||||||
|
}
|
||||||
|
|
||||||
|
.container-large {
|
||||||
|
@apply mx-auto max-w-9xl px-4 lg:px-8 py-4
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@layer components {
|
@layer components {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue