Skip to content

Commit 5f5cbec

Browse files
committed
update
1 parent 5ef4111 commit 5f5cbec

File tree

9 files changed

+25
-74
lines changed

9 files changed

+25
-74
lines changed

src/App.js

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ const Home = lazy(() => import('./pages/Home'));
1414
const Projects = lazy(() => import('./pages/Projects'));
1515
const ProjectSingle = lazy(() => import('./pages/ProjectSingle.jsx'));
1616
const Poem = lazy(() => import('./pages/Poem'));
17+
const Blog = lazy(() => import('./pages/Blog'));
18+
1719

1820
function 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 />

src/components/about/AboutClientSingle.jsx

-13
This file was deleted.

src/components/about/AboutCounter.jsx

-18
This file was deleted.
File renamed without changes.

src/components/blog/bloggallery.jsx

Whitespace-only changes.

src/context/AboutMeContext.jsx

Whitespace-only changes.

src/data/aboutMeData.js

-10
This file was deleted.

src/pages/AboutMe.jsx

+8-33
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,13 @@
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

64
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+
);
3611
};
3712

3813
export default About;

src/pages/Blog.jsx

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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;

0 commit comments

Comments
 (0)