From 57e942f3deb12c85d891fd8423ae2c98520515e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Boduro=C4=9Flu?= <80620802+burakboduroglu@users.noreply.github.com> Date: Sun, 12 Jul 2026 22:49:30 +0300 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=92=84=20polish=20notes=20and=20?= =?UTF-8?q?events=20usability?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - refresh event cards with cleaner content and schedule layout - refresh note cards with stronger structure and spacing - align note and event form controls and action buttons - add pagination to the events list - reuse shared pagination controls on events --- src/components/events/event-card.tsx | 32 +++++++++++++------------ src/components/events/event-form.tsx | 12 +++++----- src/components/notes/note-card.tsx | 9 +++---- src/components/notes/note-form.tsx | 8 +++---- src/pages/events-page.tsx | 36 ++++++++++++++++++++-------- 5 files changed, 58 insertions(+), 39 deletions(-) diff --git a/src/components/events/event-card.tsx b/src/components/events/event-card.tsx index 0ebdf41..eb9f4dc 100644 --- a/src/components/events/event-card.tsx +++ b/src/components/events/event-card.tsx @@ -8,25 +8,27 @@ export function EventCard(props: { event: Event }) { const { locale } = usePreferences(); return ( -
-
-
-

+
+
+
+

{props.event.title}

-

+

{props.event.description || "—"}

-
-

- {t("events.starts")}:{" "} - {formatDateTime(props.event.starts_at, locale())} -

-

- {t("events.ends")}:{" "} - {formatDateTime(props.event.ends_at, locale())} -

-
+
+
+
+
+
{t("events.starts")}
+
{formatDateTime(props.event.starts_at, locale())}
+
+
+
{t("events.ends")}
+
{formatDateTime(props.event.ends_at, locale())}
+
+
diff --git a/src/components/events/event-form.tsx b/src/components/events/event-form.tsx index e1222cd..ffb2d87 100644 --- a/src/components/events/event-form.tsx +++ b/src/components/events/event-form.tsx @@ -105,7 +105,7 @@ export function EventForm(props: { {t("form.description")}