diff --git a/src/routes/plants/[plant]/+page.svelte b/src/routes/plants/[plant]/+page.svelte index c725a1b..c0b25db 100644 --- a/src/routes/plants/[plant]/+page.svelte +++ b/src/routes/plants/[plant]/+page.svelte @@ -1,39 +1,24 @@

{data.name} ({data.bin_name})

- -
- {data.image.alt} - - {#if data.image.source != ""} - - Source - - {/if} -
+

Site

- {#if data.site.light} - - {/if} + {#if data.site.humidity}
-
- - +

{data.care.description}

+ + diff --git a/src/routes/plants/[plant]/+page.ts b/src/routes/plants/[plant]/+page.ts index 861b35e..ef951df 100644 --- a/src/routes/plants/[plant]/+page.ts +++ b/src/routes/plants/[plant]/+page.ts @@ -22,7 +22,9 @@ export type PlantData = { care: { description: string; water_schedule: string; + mist_schedule?: string; fertilize_schedule?: string; + clean_schedule?: string; }; site: { description: string; diff --git a/src/routes/plants/[plant]/Badge.svelte b/src/routes/plants/[plant]/Badge.svelte index dc135c6..5135d9f 100644 --- a/src/routes/plants/[plant]/Badge.svelte +++ b/src/routes/plants/[plant]/Badge.svelte @@ -4,7 +4,7 @@ export let text: string; -
+