Skip to content

Commit

Permalink
correct formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MaHaWo committed Aug 23, 2024
1 parent 970febb commit 566cff7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/lib/components/Childrenpage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
return data;
}
// dynamically create the styles for individual gallery tiles based on the data.
// The 'Neu' element needs to be styled differently in particular
export function createStyle(data) {
return data.map((item) => ({
card:
Expand All @@ -37,7 +39,7 @@
summary:
item.header == 'Neu'
? {
class: 'mb-3 flex font-normal leading-tight text-white dark:text-gray-400'
class: 'mb-3 flex font-normal leading-tight text-white dark:text-white'
}
: null,
button: null
Expand All @@ -55,6 +57,7 @@
{
name: 'Anna',
info: 'A child that is making a mess and is doing good. Click to view more.',
image: 'child_avatar.png',
href: '/surveyfeedback'
},
{
Expand All @@ -66,7 +69,8 @@
{
name: 'C',
info: 'A child that is making a mess and is doing good. Click to view more.',
href: '/surveyfeedback'
href: '/surveyfeedback',
image: 'child_avatar.png'
},
{
name: 'Dora',
Expand Down

0 comments on commit 566cff7

Please sign in to comment.