diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 6860354..6321040 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,9 +4,9 @@
-
+
-
+
@@ -334,15 +334,8 @@
-
-
-
-
- 1740460017596
-
-
-
- 1740460017596
+
+
@@ -728,7 +721,15 @@
1741543732607
-
+
+
+ 1741544086061
+
+
+
+ 1741544086061
+
+
@@ -775,7 +776,6 @@
-
@@ -800,7 +800,8 @@
-
+
+
diff --git a/src/pages/tools-by-category/index.tsx b/src/pages/tools-by-category/index.tsx
index 6dcb578..db38c82 100644
--- a/src/pages/tools-by-category/index.tsx
+++ b/src/pages/tools-by-category/index.tsx
@@ -4,14 +4,23 @@ import Typography from '@mui/material/Typography';
import { Link, useNavigate, useParams } from 'react-router-dom';
import { getToolsByCategory } from '../../tools';
import Hero from 'components/Hero';
-import { capitalizeFirstLetter } from '../../utils/string';
+import { capitalizeFirstLetter } from '@utils/string';
import { Icon } from '@iconify/react';
import { categoriesColors } from 'config/uiConfig';
+import React, { useEffect } from 'react';
export default function Home() {
const navigate = useNavigate();
const theme = useTheme();
+ const mainContentRef = React.useRef(null);
const { categoryName } = useParams();
+
+ useEffect(() => {
+ if (mainContentRef.current) {
+ mainContentRef.current.scrollIntoView({ behavior: 'smooth' });
+ }
+ }, []);
+
return (
-
+