design changes and project updates
This commit is contained in:
parent
6ad19a8bfa
commit
e375cbe23d
21 changed files with 174 additions and 217 deletions
|
@ -1,7 +1,6 @@
|
|||
import React from 'react';
|
||||
import { Routes, Route } from 'react-router-dom';
|
||||
import Home from './pages/Home';
|
||||
import Blog from "./pages/Blog";
|
||||
import SingleBlog from "./pages/SingleBlog";
|
||||
import Navbar from "./components/navbar/Navbar";
|
||||
import Hero from "./components/hero/Hero";
|
||||
|
@ -9,6 +8,7 @@ import AboutMe from "./components/about-me/AboutMe";
|
|||
import Contact from "./components/contact/Contact";
|
||||
import Hobbies from "./components/hobbies/Hobbies";
|
||||
import Projects from "./components/projects/Projects";
|
||||
import Blogs from "./components/blogs/Blogs";
|
||||
|
||||
|
||||
const NavBarView = (props: {children: any}) => {
|
||||
|
@ -35,8 +35,8 @@ const Main = () => {
|
|||
<Route element={<NavBarView><Contact/></NavBarView>} path='/contact'/>
|
||||
<Route element={<NavBarView><Hobbies/></NavBarView>} path='/hobbies'/>
|
||||
<Route element={<NavBarView><Projects/></NavBarView>} path='/projects'/>
|
||||
<Route element={<NavBarView><Blog/></NavBarView>} path='/blogs'/>
|
||||
<Route element={<SingleBlog/>} path='/blog'/>
|
||||
<Route element={<NavBarView><Blogs/></NavBarView>} path='/blogs'/>
|
||||
<Route element={<SingleBlog/>} path='/blog/*'/>
|
||||
</Routes>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue