From 7d854b0d2413b7dfe1bc261c80f3c765adb185dd Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:14:14 +0330 Subject: [PATCH] Import source: cshare-app/src/components/PageTransition Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- cshare-app/src/components/PageTransition.jsx | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cshare-app/src/components/PageTransition.jsx diff --git a/cshare-app/src/components/PageTransition.jsx b/cshare-app/src/components/PageTransition.jsx new file mode 100644 index 0000000..2b447e2 --- /dev/null +++ b/cshare-app/src/components/PageTransition.jsx @@ -0,0 +1,11 @@ +import { useLocation } from 'react-router-dom'; + +export default function PageTransition({ children }) { + const { pathname } = useLocation(); + + return ( +
+ {children} +
+ ); +}