From 6a4e10819c028a0b6b9188d8af03f5458fb03834 Mon Sep 17 00:00:00 2001 From: OleSTEEP Date: Thu, 16 Oct 2025 19:06:20 +0300 Subject: [PATCH] frontend: add more values to page_data and bind them --- .../lib/components/containers/marks.svelte | 2 +- frontend/src/routes/+layout.svelte | 24 ++++++++++++------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/frontend/src/lib/components/containers/marks.svelte b/frontend/src/lib/components/containers/marks.svelte index 5375923..8701f61 100644 --- a/frontend/src/lib/components/containers/marks.svelte +++ b/frontend/src/lib/components/containers/marks.svelte @@ -2,7 +2,7 @@ import Mark from "../mark.svelte"; import AddButton from "../add_button.svelte"; - let { value = $bindable([]), label = "" } = $props(); + let { value = $bindable([]), label } = $props(); let items: string[] = $state([]); $effect(() => {value = items}); diff --git a/frontend/src/routes/+layout.svelte b/frontend/src/routes/+layout.svelte index 4a1092b..1aafa3b 100644 --- a/frontend/src/routes/+layout.svelte +++ b/frontend/src/routes/+layout.svelte @@ -1,4 +1,4 @@ - @@ -60,7 +66,7 @@

Скриншоты

- +

Дата публикации

@@ -69,7 +75,7 @@

Время публикации

- +