File tree Expand file tree Collapse file tree 9 files changed +25
-74
lines changed
Expand file tree Collapse file tree 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'));
1414const Projects = lazy ( ( ) => import ( './pages/Projects' ) ) ;
1515const ProjectSingle = lazy ( ( ) => import ( './pages/ProjectSingle.jsx' ) ) ;
1616const Poem = lazy ( ( ) => import ( './pages/Poem' ) ) ;
17+ const Blog = lazy ( ( ) => import ( './pages/Blog' ) ) ;
18+
1719
1820function App ( ) {
1921 return (
@@ -30,6 +32,8 @@ function App() {
3032 < Route path = "about" element = { < About /> } />
3133 < Route path = "contact" element = { < Contact /> } />
3234 < Route path = "poem" element = { < Poem /> } />
35+ < Route path = "blog" element = { < Blog /> } />
36+
3337 </ Routes >
3438 </ Suspense >
3539 < 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' ;
53
64const 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+ ) ;
3611} ;
3712
3813export 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