From 42911e82b38f7943bac7483052f5c4d36e01514b Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:14:06 +0330 Subject: [PATCH] Import source: cshare-app/src/components/Footer Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- cshare-app/src/components/Footer.jsx | 66 ++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 cshare-app/src/components/Footer.jsx diff --git a/cshare-app/src/components/Footer.jsx b/cshare-app/src/components/Footer.jsx new file mode 100644 index 0000000..61458ea --- /dev/null +++ b/cshare-app/src/components/Footer.jsx @@ -0,0 +1,66 @@ +import { useNavigate } from 'react-router-dom'; + +export default function Footer() { + const navigate = useNavigate(); + + const go = (path) => { + navigate(path); + window.scrollTo({ top: 0, behavior: 'smooth' }); + }; + + return ( + + ); +}