Skip to content

Commit

Permalink
refactor: update FAQ component imports and clean up Home.css styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuj3553 committed Nov 4, 2024
1 parent f1cec76 commit b371164
Show file tree
Hide file tree
Showing 5 changed files with 176 additions and 190 deletions.
10 changes: 5 additions & 5 deletions client/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import Community from "./component/Community";
import MyProfile from "./component/MyProfile";
import ScrollTop from "./component/ScrollTop";
import EditProfile from "./component/EditProfile";
import Contributors from "./component/Contributor";
import Contributors from "./component/Contributors";
import Discussion from "./component/Discussion";
import ForgotPassword from "./component/ForgotPassword";
import ResetPassword from "./component/ResetPassword";
Expand All @@ -34,9 +34,9 @@ import ResetPassword from "./component/ResetPassword";
import NotFound from "./component/NotFound";
import Faq from "./component/Faq";
import ProgressBar from "./component/ProgressBar/ProgressBar";
import Cursor from './component/Cursor';
import Cursor from './component/Cursor';
import ReadMoreBlog from './component/ReadMoreBlog';


import AOS from "aos";
import "aos/dist/aos.css";
Expand Down Expand Up @@ -245,7 +245,7 @@ function App() {
}
/>
{/* <Route exact path='/myprofile' element={<ProtectedRoute loggedin={islogged}><MyProfile mode={mode} setProgress={setProgress} showAlert={showAlert} /></ProtectedRoute>} /> */}
<Route exact path='/myprofile' element={<MyProfile mode={mode} setProgress={setProgress} showAlert={showAlert} />} />
<Route exact path='/myprofile' element={<MyProfile mode={mode} setProgress={setProgress} showAlert={showAlert} />} />
<Route exact path='/editprofile' element={<EditProfile mode={mode} setProgress={setProgress} showAlert={showAlert} />} />
<Route exact path='/contributors' element={<Contributors mode={mode} setProgress={setProgress} showAlert={showAlert} />} />
<Route exact path="/login" element={<Login mode={mode} setProgress={setProgress} showAlert={showAlert} loggedin={islogged} setloggedin={setloggedin} />} />
Expand All @@ -261,7 +261,7 @@ function App() {
<Route exact path='/createBlogPost' element={<CreateBlog />} /> {/* Add this line */}
<Route exact path='/read-more-blog/:id' element={<ReadMoreBlog mode={mode} setProgress={setProgress} showAlert={showAlert} />} /> {/* Add this line */}
<Route exact path='/*' element={<NotFound />} />

</Routes>
</Layout>
</Router>
Expand Down
Loading

0 comments on commit b371164

Please sign in to comment.