- {typeof item.price === 'number' ? `${item.price},-` : item.price}
- {typeof item.duration === 'number' ? `/${convertMinutesToHours(item.duration)}` : ''}
+ {typeof service.price === 'number' ? `${service.price},-` : service.price}
+ {typeof service.duration === 'number' ? `/${convertMinutesToHours(service.duration)}` : ''}
Rezervace
diff --git a/src/lib/components/services/ServicesLayout.svelte b/src/lib/components/services/ServicesLayout.svelte
index 12fc421..1859885 100644
--- a/src/lib/components/services/ServicesLayout.svelte
+++ b/src/lib/components/services/ServicesLayout.svelte
@@ -1,43 +1,30 @@
-
-
+
- {#each services as service}
+ {#each category as c}
-
+
+ {c.title}
- {service.category}
+ {c.description}
- {#each service.items as item}
-
+ {#each c.services as service}
+
{/each}
{/each}
-
-
-
-
+
diff --git a/src/routes/o-mne/+page.svelte b/src/routes/o-mne/+page.svelte
index e69de29..220a4ef 100644
--- a/src/routes/o-mne/+page.svelte
+++ b/src/routes/o-mne/+page.svelte
@@ -0,0 +1,3 @@
+
diff --git a/src/routes/sluzby/+page.svelte b/src/routes/sluzby/+page.svelte
index a693eba..9afa9d9 100644
--- a/src/routes/sluzby/+page.svelte
+++ b/src/routes/sluzby/+page.svelte
@@ -1,73 +1,17 @@
+{#if props.services.length === 0}
+
+
Loading services...
+{:else}
Ceník služeb
Koukněte se jak vás mohu zkrášlit a rezervujte si termín
-
\ No newline at end of file
+
+{/if}
diff --git a/src/routes/sluzby/[categoryId]/+page.svelte b/src/routes/sluzby/[categoryId]/+page.svelte
new file mode 100644
index 0000000..e69de29
diff --git a/src/routes/sluzby/[categoryId]/[serviceId]/+page.svelte b/src/routes/sluzby/[categoryId]/[serviceId]/+page.svelte
new file mode 100644
index 0000000..ab9e9eb
--- /dev/null
+++ b/src/routes/sluzby/[categoryId]/[serviceId]/+page.svelte
@@ -0,0 +1,12 @@
+
+
+
+