diff --git a/app/layout.tsx b/app/layout.tsx
index d5ad0a6..44f8e7a 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -39,7 +39,7 @@ export default function RootLayout({
const isProd = process.env.NODE_ENV === 'production';
return (
-
+
diff --git a/app/page.tsx b/app/page.tsx
index f8c2c27..0621b60 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -3,13 +3,11 @@ import Hero from '@/components/Hero';
import Stats from '@/components/Stats';
import ToolsGrid from '@/components/ToolsGrid';
import Footer from '@/components/Footer';
-import BackToTop from '@/components/BackToTop';
export default function Home() {
return (
-
diff --git a/components/BackToTop.tsx b/components/BackToTop.tsx
deleted file mode 100644
index 3d26ea3..0000000
--- a/components/BackToTop.tsx
+++ /dev/null
@@ -1,45 +0,0 @@
-'use client';
-
-import { useState, useEffect, useRef } from 'react';
-import { ChevronUp } from 'lucide-react';
-
-export default function BackToTop() {
- const [isVisible, setIsVisible] = useState(false);
- const barRef = useRef(null);
-
- useEffect(() => {
- const onScroll = () => {
- setIsVisible(window.scrollY > 300);
- if (barRef.current) {
- const el = document.documentElement;
- const scrolled = el.scrollTop / (el.scrollHeight - el.clientHeight);
- barRef.current.style.transform = `scaleX(${scrolled})`;
- }
- };
- window.addEventListener('scroll', onScroll, { passive: true });
- return () => window.removeEventListener('scroll', onScroll);
- }, []);
-
- return (
- <>
- {/* Scroll progress bar */}
-
-
- {/* Back to top button */}
- {isVisible && (
-
- )}
- >
- );
-}