Skip to content

Commit

Permalink
remove dummydropdown component
Browse files Browse the repository at this point in the history
  • Loading branch information
MaHaWo committed Aug 21, 2024
1 parent 57efed5 commit 9dc247e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 35 deletions.
33 changes: 0 additions & 33 deletions src/lib/components/DummyDropdown.svelte

This file was deleted.

32 changes: 30 additions & 2 deletions src/routes/dummydropdown/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,8 +1,36 @@
<script>
import AbstractContent from '$lib/components/AbstractContent.svelte';
import DummyDropdown from '$lib/components/DummyDropdown.svelte';
import AbstractDropdown from '$lib/components/AbstractDropdown.svelte';
import { DropdownDataElement } from '$lib/js/dropdowndata.js';
const defaultOptions = ['gar nicht', 'ansatzweise', 'weitgehend', 'zuverlässig'];
const dropdownData = [
new DropdownDataElement(
'standing up',
defaultOptions,
'How well can the child stand up from sitting or crawling around and how readily is it able to do so'
),
new DropdownDataElement(
'making a mess',
defaultOptions,
'This describes how efficiently the child can distribute toys in every single corner of every single room in the house'
),
new DropdownDataElement(
'gripping a pen the right way',
defaultOptions,
'How well can the child hold a pen or pencil and how coordinated can it use it'
),
new DropdownDataElement(
'talking in full sentences',
defaultOptions,
'How well articulated is the child in its speech and how well can it express itself'
)
];
const heading = 'some dummy dropdown page';
</script>

<AbstractContent showBottomNavbar={true} lastPage="/" nextPage="/" infoPage="/info">
<DummyDropdown />
<AbstractDropdown {dropdownData} {heading} />
</AbstractContent>

0 comments on commit 9dc247e

Please sign in to comment.