Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Help Wanted uitklappertje #234

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions frontend/src/components/HelpWanted.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<template>
<div>
<details class="rvo-expandable-text">
<summary class="rvo-expandable-text__summary">
<span
class="utrecht-icon rvo-icon rvo-icon-info rvo-icon--md rvo-icon--hemelblauw"
role="img"
aria-label="Info"
></span>
Hulp nodig?
</summary>
<div class="rvo-expandable-text__details"
style="width: 55%">Je hebt aangegeven dat je hulp nodig hebt.
Voor advies kun je een e-mail sturen naar
<a class="rvo-link" href="mailto:[email protected]">
[email protected]
</a> of op de pleio-omgeving <a class="rvo-link" target="_blank" href="https://algoritmes.pleio.nl">
https://algoritmes.pleio.nl</a></div>
</details>
</div>
</template>
<script setup lang="ts">
</script>
2 changes: 2 additions & 0 deletions frontend/src/components/Question.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import BetaversionLabel from '@/components/betaversion-label.vue'
import Sources from '@/components/Sources.vue'
import { Answer } from '@/models/DecisionTree'
import SubResult from '@/components/SubResult.vue'
import HelpWanted from '@/components/HelpWanted.vue'

interface Props {
id: string
Expand Down Expand Up @@ -34,6 +35,7 @@ defineEmits(['answered', 'back'])
<span v-html="question"></span>
<slot />
</p>
<HelpWanted style="margin-top: -2%; margin-bottom: 5%"/>
</div>

<!-- Answers section -->
Expand Down