File tree 9 files changed +25
-74
lines changed
9 files changed +25
-74
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ const Home = lazy(() => import('./pages/Home'));
14
14
const Projects = lazy ( ( ) => import ( './pages/Projects' ) ) ;
15
15
const ProjectSingle = lazy ( ( ) => import ( './pages/ProjectSingle.jsx' ) ) ;
16
16
const Poem = lazy ( ( ) => import ( './pages/Poem' ) ) ;
17
+ const Blog = lazy ( ( ) => import ( './pages/Blog' ) ) ;
18
+
17
19
18
20
function App ( ) {
19
21
return (
@@ -30,6 +32,8 @@ function App() {
30
32
< Route path = "about" element = { < About /> } />
31
33
< Route path = "contact" element = { < Contact /> } />
32
34
< Route path = "poem" element = { < Poem /> } />
35
+ < Route path = "blog" element = { < Blog /> } />
36
+
33
37
</ Routes >
34
38
</ Suspense >
35
39
< AppFooter />
Load Diff This file was deleted.
Load Diff This file was deleted.
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- import AboutMeBio from '../components/about/AboutMeBio' ;
2
- import AboutCounter from '../components/about/AboutCounter' ;
3
- import { AboutMeProvider } from '../context/AboutMeContext' ;
4
- import { motion } from 'framer-motion' ;
1
+ // Poem.jsx
2
+ import React from 'react' ;
5
3
6
4
const About = ( ) => {
7
- return (
8
- < AboutMeProvider >
9
- < motion . div
10
- initial = { { opacity : 0 } }
11
- animate = { { opacity : 1 , delay : 1 } }
12
- exit = { { opacity : 0 } }
13
- className = "container mx-auto"
14
- >
15
- < AboutMeBio />
16
- </ motion . div >
17
-
18
- { /** Counter without paddings */ }
19
- < motion . div
20
- initial = { { opacity : 0 } }
21
- animate = { { opacity : 1 , delay : 1 } }
22
- exit = { { opacity : 0 } }
23
- >
24
- < AboutCounter />
25
- </ motion . div >
26
-
27
- < motion . div
28
- initial = { { opacity : 0 } }
29
- animate = { { opacity : 1 , delay : 1 } }
30
- exit = { { opacity : 0 } }
31
- className = "container mx-auto"
32
- >
33
- </ motion . div >
34
- </ AboutMeProvider >
35
- ) ;
5
+ return (
6
+ < div >
7
+ < h2 > Blog Title</ h2 >
8
+ < p > This is where your blog goes.</ p >
9
+ </ div >
10
+ ) ;
36
11
} ;
37
12
38
13
export default About ;
Original file line number Diff line number Diff line change
1
+ // Poem.jsx
2
+ import React from 'react' ;
3
+
4
+ const Blog = ( ) => {
5
+ return (
6
+ < div >
7
+ < h2 > Blog Title</ h2 >
8
+ < p > This is where your blog goes.</ p >
9
+ </ div >
10
+ ) ;
11
+ } ;
12
+
13
+ export default Blog ;
You can’t perform that action at this time.
0 commit comments