From 325b27262ee1bd3c8e9ea62f622f19f4c383418d Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 2 Jul 2025 11:16:26 +0200 Subject: [PATCH] Add floating action button to App component Updated the `App` component in `app.tsx` to include a new floating action button (Fab) linking to Digital Data. The button now features a transparent background and no box shadow, along with an image for improved visual representation. The `useScrollToTop` function remains unchanged but has a more streamlined implementation. --- src/client/dd-hub-react/src/app.tsx | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/client/dd-hub-react/src/app.tsx b/src/client/dd-hub-react/src/app.tsx index 025f1d7..36e1ca8 100644 --- a/src/client/dd-hub-react/src/app.tsx +++ b/src/client/dd-hub-react/src/app.tsx @@ -22,8 +22,9 @@ export default function App({ children }: AppProps) { const ddButton = () => ( - + Digital Data ); @@ -56,4 +61,4 @@ function useScrollToTop() { }, [pathname]); return null; -} +} \ No newline at end of file