From bb8bf01e33013932cb7601f083aa7cb3dd173f46 Mon Sep 17 00:00:00 2001 From: Dex404 Date: Thu, 18 Apr 2024 09:46:16 +0000 Subject: [PATCH] feat: smoothscroll --- app/layout.tsx | 5 ++++ components/Navbar/Navbar.tsx | 8 +++--- package.json | 1 + utils/ScrollAnimations/SmoothScroll.tsx | 34 +++++++++++++++++++++++++ yarn.lock | 10 +++++++- 5 files changed, 53 insertions(+), 5 deletions(-) create mode 100644 utils/ScrollAnimations/SmoothScroll.tsx diff --git a/app/layout.tsx b/app/layout.tsx index b677d2d..c534b80 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,16 +1,21 @@ +"use client" import "styles/tailwind.css" import "styles/custom.css" import Navbar from "components/Navbar/Navbar" import Footer from "components/Footer/Footer" +// import SmoothScroll from "utils/ScrollAnimations/SmoothScroll" + export default function RootLayout({ children }: { children: React.ReactNode }) { return ( + {/* */} {children}