Skip to content

Commit

Permalink
chore: under maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
amanjaiman1 committed Jul 26, 2023
1 parent e61b205 commit d4cea6c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
9 changes: 4 additions & 5 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,13 @@ function App() {
<AutoScroll />
<Routes>
<Route Component={Home} path="/" />
<Route Component={Faq} path="/faq" />
{/* <Route Component={Faq} path="/faq" />
<Route Component={ContributorPage} path="/contact" />
<Route Component={ErrorPage} path="/*" />
<Route Component={Login} path="/login" />
<Route Component={SignUp} path="/signup" />
<Route Component={BlogPage} path="/blog" />
<Route Component={Guide} path="/guidebook" /> */}
<Route Component={ErrorPage} path="/*" />
<Route Component={Guide} path="/guidebook" />
<Route Component={SignUp} path="/signup" />
<Route Component={Login} path="/login" />
<Route
element={
<PrivateRoute>
Expand Down
15 changes: 11 additions & 4 deletions src/layout/HomeLayout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,26 @@ import React from "react";
import Header from "../containers/Header/Navbar";
import Footer from "../containers/Footer/index.jsx";
import styles from "../style";
import Button from "../components/Button";
import { useNavigate } from "react-router-dom";

function HomeLayout({ children }) {
const navigate = useNavigate();
return (
<div className="bg-[#000000]">
<Header />
<main className="min-[400px]:px-10 mt-8">
<div className="flex flex-col justify-center items-center h-screen">
<h1 className={"text-3xl"}>The Site is under maintenance</h1>
<Button onClick={() => navigate("/login")} className={"mt-5"}>
Go to Design{" "}
</Button>
{/* <Header />
<main className="min-[400px]:px-10 mt-8">
<section className="container mx-auto">{children}</section>
</main>
<div className={`bg-[#F4F8FD] ${styles.paddingX} ${styles.flexStart}`}>
<div className={`${styles.boxWidth}`}>
<Footer />
</div>
</div>
</div> */}
</div>
);
}
Expand Down

0 comments on commit d4cea6c

Please sign in to comment.