diff --git a/src/components/About/Toolstack.tsx b/src/components/About/Toolstack.tsx index c3a7cc19..8ff465f7 100644 --- a/src/components/About/Toolstack.tsx +++ b/src/components/About/Toolstack.tsx @@ -30,88 +30,45 @@ const SiWindows11 = lazy(() => import("react-icons/si").then((module) => ({ default: module.SiWindows11 })), ); +import React, { lazy, useState, useEffect } from "react"; +import { Col, Container, Row, Spinner } from "react-bootstrap"; + +const SiAndroidstudio = lazy(() => + import("react-icons/si").then((module) => ({ + default: module.SiAndroidstudio, + })), +); +// ... (rest of the imports) + function Toolstack() { + const [loading, setLoading] = useState(true); + + useEffect(() => { + const timer = setTimeout(() => { + setLoading(false); + }, 2000); // 2 seconds delay + + return () => clearTimeout(timer); // cleanup on unmount + }, []); + return ( - - - - -
VSCode
-
- - - - -
Jetbrains's IDEs and Tools
-
- - - - -
Android Studio
-
- - - - -
Figma
-
- - - - -
Windows
-
- - - - -
Linux
-
- - - - -
MacOS
-
- - - - -
Vercel
-
- - - - + ) : ( + + + - - -
Axiom
-
- -
+ +
VSCode
+ + + {/* ... (rest of the component content) */} + + )}
); }