From 9ee99d17fd2b834ee1ce1cac8b63da1212f49020 Mon Sep 17 00:00:00 2001 From: mini Date: Sun, 19 Apr 2026 21:25:01 +0800 Subject: [PATCH] refactor(auth): AuthLayout supports optional narrative slot New slot 'narrative' enables split-screen layout (50/50 desktop, collapses to single column on mobile <900px). Backward compatibility: - Pages that don't pass a narrative slot still render the original centered-card layout with siteName + logo + copyright - ForgotPassword, ResetPassword, EmailVerify unaffected To be used in Tasks 8 and 9 (LoginView, RegisterView). Co-Authored-By: Claude Opus 4.7 (1M context) --- frontend/src/components/layout/AuthLayout.vue | 132 +++++++++++------- 1 file changed, 82 insertions(+), 50 deletions(-) diff --git a/frontend/src/components/layout/AuthLayout.vue b/frontend/src/components/layout/AuthLayout.vue index 129e8301..3b02a926 100644 --- a/frontend/src/components/layout/AuthLayout.vue +++ b/frontend/src/components/layout/AuthLayout.vue @@ -1,69 +1,45 @@