-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8e56fd7
commit bf4b190
Showing
44 changed files
with
24,945 additions
and
174 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,45 @@ | ||
import './App.css'; | ||
import Homepage from "./Components/Homepage/Homepage"; | ||
import {HashRouter as Router,Route,Link,Switch} from 'react-router-dom'; | ||
import Explore from "./Components/Explore/Explore" | ||
import Opensource from "./Components/Fields/Open-source/Opensource" | ||
<<<<<<< HEAD | ||
import Dsa from "./Components/Fields/DSA/Dsa" | ||
import React, { lazy, Suspense } from "react"; | ||
import { HashRouter as Router, Route, Link, Switch } from 'react-router-dom'; | ||
|
||
// import Dsa from "./Components/Fields/DSA/Dsa" | ||
import Preloader from "./Components/Preloader/Preloader" | ||
|
||
======= | ||
import WebDev from "./Components/Fields/web-dev/WebDev" | ||
import Ai from "./Components/Fields/AI/Ai" | ||
import Machinelearning from "./Components/Fields/ml/Machinelearning" | ||
>>>>>>> 9056931a7c4c98e6a90401cdcbf24397e3b17e32 | ||
|
||
const Homepage = lazy(() => import("./Components/Homepage/Homepage")); | ||
const Explore = lazy(() => import("./Components/Explore/Explore")); | ||
const Opensource = lazy(() => import("./Components/Fields/Open-source/Opensource")); | ||
const WebDev = lazy(() => import("./Components/Fields/web-dev/WebDev")); | ||
const Ai = lazy(() => import("./Components/Fields/AI/Ai")); | ||
const Machinelearning = lazy(() => import("./Components/Fields/ml/Machinelearning")); | ||
const Profile_Readme=lazy(()=>import("./Components/Tools/Github_Profile_Readme_Generator/Inputfield")) | ||
const Certificate_Generator=lazy(()=>import("./Components/Tools/Certificate Generator/Component/Homepage")) | ||
const smart_pdf=lazy(()=>import("./Components/Tools/Smart Pdf/component/Homepage")) | ||
const markdown_gen=lazy(()=>import("./Components/Tools/Github Markdown Generator/Homepage")) | ||
const resume_maker=lazy(()=>import("./Components/Tools/Resume Maker/Homepage")) | ||
function App() { | ||
return ( | ||
<> | ||
<Router> | ||
<Switch> | ||
<Route exact path='/' component={Homepage} /> | ||
<Route exact path='/#/' component={Homepage} /> | ||
<Route exact path='/Homepage' component={Homepage} /> | ||
<Route exact path='/Explore' component={Explore} /> | ||
<Route exact path='/Opensource' component={Opensource} /> | ||
<<<<<<< HEAD | ||
<Route exact path='/Dsa' component={Dsa} /> | ||
|
||
======= | ||
<Route exact path='/WebDev' component={WebDev} /> | ||
<Route exact path='/ai' component={Ai} /> | ||
<Route exact path='/ml' component={Machinelearning} /> | ||
>>>>>>> 9056931a7c4c98e6a90401cdcbf24397e3b17e32 | ||
</Switch> | ||
</Router> | ||
<Suspense fallback={<Preloader />}> | ||
<Router> | ||
<Switch> | ||
<Route exact path='/' component={Homepage} /> | ||
<Route exact path='/#/' component={Homepage} /> | ||
<Route exact path='/Homepage' component={Homepage} /> | ||
<Route exact path='/Explore' component={Explore} /> | ||
<Route exact path='/Opensource' component={Opensource} /> | ||
<Route exact path='/WebDev' component={WebDev} /> | ||
<Route exact path='/ai' component={Ai} /> | ||
<Route exact path='/ml' component={Machinelearning} /> | ||
<Route exact path='/github_profile_readme' component={Profile_Readme} /> | ||
<Route exact path='/certificate_generator' component={Certificate_Generator} /> | ||
<Route exact path='/Smart_pdf' component={smart_pdf} /> | ||
<Route exact path='/markdown_generator' component={markdown_gen} /> | ||
<Route exact path='/resume_maker' component={resume_maker} /> | ||
</Switch> | ||
</Router> | ||
</Suspense> | ||
</> | ||
); | ||
} | ||
|
||
export default App; | ||
export default App; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.