diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx index 2670890..f0bacb3 100644 --- a/src/components/Footer.jsx +++ b/src/components/Footer.jsx @@ -10,7 +10,13 @@ const Footer = ()=> { return ( <> - + {/* */} +
+
+

Learn how to execute low code tests across 3000+ device / browser environments.

+ Schedule a free demo +
+
{ + + const [isHomepage, setIsHomepage] = useState(false); + + useEffect(() => { + setIsHomepage(window.location.pathname === '/tutorials/'); + }, []); + return ( +
+
+ + + + + + + + + +
+ + ); +}; + +export default Header; \ No newline at end of file diff --git a/src/components/navcards.jsx b/src/components/navcards.jsx index 0809028..e5dcdc4 100644 --- a/src/components/navcards.jsx +++ b/src/components/navcards.jsx @@ -50,7 +50,7 @@ const data = [ const Card = ({ title, description, path }) => { return ( - +
{title}
{description} @@ -68,7 +68,7 @@ const Card = ({ title, description, path }) => { const CardList = () => { return ( -
+
{data.map((item) => ( ))} diff --git a/src/pages/tutorials/index.jsx b/src/pages/tutorials/index.jsx index 0c5d3e4..edacc24 100644 --- a/src/pages/tutorials/index.jsx +++ b/src/pages/tutorials/index.jsx @@ -10,6 +10,7 @@ import SearchInputBox from "../../components/SearchInputBox"; import MobileView from "../../components/MobileView"; import CardList from "../../components/navcards"; +import Header from '../../components/header'; const IndexContent = () => { return ( @@ -25,6 +26,12 @@ const IndexContent = () => {
+