From 25cf50085ad1ce1e0820ec5ccb728ddeef5fb6fb Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 20 Apr 2026 13:53:24 +0200 Subject: feat: create desktop search modal partial Implement full-screen overlay modal with: - Search input with auto-focus on open - Results display (max 5 results) with title/date - Three display states: results, no results, no query - WCAG 2.1 AA accessibility: role="dialog", aria-modal, aria-live="polite" - Keyboard support: ESC to close, handled via handleEscape() - Click backdrop to close, click close button - All text localized via i18n keys - Alpine.js 3.x integration with searchOverlay() component Co-Authored-By: Claude Haiku 4.5 --- .../layouts/partials/search-modal.html | 86 ++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 themes/danix-xyz-hacker/layouts/partials/search-modal.html (limited to 'themes') diff --git a/themes/danix-xyz-hacker/layouts/partials/search-modal.html b/themes/danix-xyz-hacker/layouts/partials/search-modal.html new file mode 100644 index 0000000..22f68af --- /dev/null +++ b/themes/danix-xyz-hacker/layouts/partials/search-modal.html @@ -0,0 +1,86 @@ + +
+ + + + + +
-- cgit v1.2.3