diff --git a/src/examples/Navbars/DashboardNavbar/index.js b/src/examples/Navbars/DashboardNavbar/index.js index 06488fd..d06adf9 100644 --- a/src/examples/Navbars/DashboardNavbar/index.js +++ b/src/examples/Navbars/DashboardNavbar/index.js @@ -125,6 +125,15 @@ function DashboardNavbar({ absolute, light, isMini }) { return colorValue; }, }); + const [isVisible, setIsVisible] = useState(true); + + useEffect(() => { + const timeout = setTimeout(() => { + setIsVisible(false); + }, 10000); + + return () => clearTimeout(timeout); + }, []); return ( navbarContainer(theme)}> navbarRow(theme, { isMini })}> - - Welcome {user?.name} - + {isVisible && ( + + Welcome {user?.name} + + )} {isMini ? null : ( navbarRow(theme, { isMini })}> diff --git a/src/layouts/authentication/sign-in/index.js b/src/layouts/authentication/sign-in/index.js index fb3fb9a..646be08 100644 --- a/src/layouts/authentication/sign-in/index.js +++ b/src/layouts/authentication/sign-in/index.js @@ -199,23 +199,13 @@ function Basic() { textAlign="center" > - Join us today + Welcome Back - Enter your email and password to register + Enter your email and password to log in - - Hi Welcome Back! - + {showSuccessAlert && ( Registration Successful! @@ -115,7 +115,7 @@ function Cover() { Join us today - Enter your email and password to register + Enter your credentials to register @@ -210,7 +210,7 @@ function Cover() { }} /> )} - + ); } diff --git a/src/layouts/landing/App.js b/src/layouts/landing/App.js index e528d12..b948a8b 100644 --- a/src/layouts/landing/App.js +++ b/src/layouts/landing/App.js @@ -2,9 +2,9 @@ import React from "react"; import Hero from "./Page/Hero"; import Snippets from "./Page/Snippets"; import Access from "./Page/Access"; -import Supercharge from "./Page/Supercharge"; -import Agents from "./Page/Agents"; -import Action from "./Page/Action"; +// import Supercharge from "./Page/Supercharge"; +// import Agents from "./Page/Agents"; +// import Action from "./Page/Action"; // import Footer from "./Page/Footer"; import "./index.css"; // import DashboardLayout from "examples/LayoutContainers/DashboardLayout"; @@ -17,9 +17,9 @@ function App() { - + {/* - + */} {/*