From c2a82d67fc6d9165fa6d8e3acca7989e89d9589a Mon Sep 17 00:00:00 2001 From: petahade Date: Wed, 24 Jun 2026 16:36:28 +0000 Subject: [PATCH 1/4] feat(frontend): add PageTransition component for smooth route animations --- frontend/src/components/layout/AppLayout.tsx | 5 +++- .../src/components/layout/PageTransition.tsx | 30 +++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 frontend/src/components/layout/PageTransition.tsx diff --git a/frontend/src/components/layout/AppLayout.tsx b/frontend/src/components/layout/AppLayout.tsx index 37d04bb..6002b57 100644 --- a/frontend/src/components/layout/AppLayout.tsx +++ b/frontend/src/components/layout/AppLayout.tsx @@ -4,6 +4,7 @@ import { Logo } from "@/components/common/Logo"; import { ToastContainer } from "@/components/notifications/Toast"; import { SkipLink } from "@/components/ui/SkipLink"; import { BottomNav } from "@/components/ui/BottomNav"; +import { PageTransition } from "@/components/layout/PageTransition"; import Link from "next/link"; interface AppLayoutProps { @@ -21,7 +22,9 @@ export function AppLayout({ children }: AppLayoutProps) { -
{children}
+
+ {children} +