From: Danilo M. Date: Mon, 20 Apr 2026 11:53:24 +0000 (+0200) Subject: feat: create desktop search modal partial X-Git-Tag: release_22042026-1342~72 X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=25cf50085ad1ce1e0820ec5ccb728ddeef5fb6fb;p=danix.xyz-2.git 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 --- 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 @@ + +
+ + + + + +