Skip to content

Commit cac4eb8

Browse files
blogs pulled from main
1 parent 17bd771 commit cac4eb8

File tree

7 files changed

+109
-315
lines changed

7 files changed

+109
-315
lines changed

src/components/Blogs/BlogCard.css

Lines changed: 0 additions & 58 deletions
This file was deleted.

src/components/Blogs/BlogCard.tsx

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/components/Blogs/BlogPage.css

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/components/Blogs/BlogPage.tsx

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/database/blogs/index.tsx

Lines changed: 57 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,60 @@
11
interface Blog {
2-
id: number;
3-
title: string;
4-
image: string;
5-
description: string;
6-
link: string;
7-
}
2+
id: number;
3+
title: string;
4+
image: string;
5+
description: string;
6+
slug: string;
7+
}
88

9-
const blogs: Blog[] = [
10-
{
11-
id: 1,
12-
title: "Building RESTful CRUD API in springboot",
13-
image: "img/blogs/image01.png",
14-
description:
15-
" RESTful APIs have become a cornerstone for building scalable, efficient, and maintainable web applications.",
16-
link: "Building RESTful CRUD API in springboot",
17-
},
18-
{
19-
id: 2,
20-
title: "Getting started with Microservices",
21-
image: "/assets/images/image01-736d71e3db56657987594b3b11459b5d.png",
22-
description:
23-
"Microservices are an architectural style that structures an application as a collection of small, loosely coupled services.",
24-
link: "getting-started-with-microservices",
25-
},
26-
{
27-
id: 3,
28-
title: "Cryptography and Its Use in Cyber Security",
29-
image: "/img/blogs/introduction-to-cryptography-and-cyber-security.jpg",
30-
description:
31-
"In the realm of cyber security, cryptography stands as a critical tool for protecting information.",
32-
link: "introduction-to-cryptography-and-cyber-security",
33-
},
34-
{
35-
id: 4,
36-
title: "Getting started with Mern",
37-
image: "/img/blogs/mern.jpg",
38-
description:
39-
" Learn the basics of the MERN stack, from building an API with Express.js to creating a React app.",
40-
link: "getting-started-with-mern",
41-
},
42-
{
43-
id: 5,
44-
title: "Getting started with Vite",
45-
image: "/img/blogs/react-and-vite.jpg",
46-
description:
47-
"Learn how to get started with React by creating a new app using Vite. Follow the steps to set up your development environment",
48-
link: "getting-started-with-vite",
49-
},
50-
{
51-
id: 6,
52-
title: "VS Code: Fix Bug in Any Extension by Rebuilding It",
53-
image: "/img/blogs/build-done-vsce.png",
54-
description:
55-
"How to fix a bug in any VS Code extension (.vsix) by rebuilding that extension",
56-
link: "fix-bug-in-vscode-extension",
57-
},
58-
{
59-
id: 7,
60-
title: "Dockerizing a Rust application with Multi-Stage Builds",
61-
image: "/img/blogs/rust-docker.png",
62-
description:
63-
"Learn the basics of the MERN stack, from building an API with Express.js to creating a React app.",
64-
link: "dockerizing-a-rust-application-with-multi-stage-builds",
65-
},
66-
{
67-
id: 8,
68-
title: "Git Best Practices: Commit Often, Perfect Later, Publish Once",
69-
image: "/img/svg/coding.svg",
70-
description:
71-
"Git is a powerful tool for managing the development of software projects, but it can be challenging to use effectively. ",
72-
link: "git-best-practicies.md",
73-
},
74-
{
75-
id: 9,
76-
title: "Mastering Data Structures in Python",
77-
image: "/img/svg/programming.svg",
78-
description:
79-
"Data structures are essential components in computer science, enabling efficient data storage, manipulation, and retrieval.",
80-
link: "Mastering Data Structures in Python.md",
81-
},
82-
];
83-
9+
const blogs: Blog[] = [
10+
{
11+
id: 1,
12+
title: "Getting started with Microservices",
13+
image: "/assets/images/image01-736d71e3db56657987594b3b11459b5d.png",
14+
description:
15+
"Microservices are an architectural style that structures an application as a collection of small, loosely coupled services.",
16+
slug: "getting-started-with-microservices",
17+
},
18+
{
19+
id: 2,
20+
title: "Cryptography and Its Use in Cyber Security",
21+
image: "/img/blogs/introduction-to-cryptography-and-cyber-security.jpg",
22+
description:
23+
"In the realm of cyber security, cryptography stands as a critical tool for protecting information.",
24+
slug: "introduction-to-cryptography-and-cyber-security",
25+
},
26+
{
27+
id: 3,
28+
title: "Blog 3 Title",
29+
image: "/img/svg/blogging.svg",
30+
description:
31+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet nulla auctor, vestibulum magna sed, convallis ex.",
32+
slug: "#",
33+
},
34+
{
35+
id: 4,
36+
title: "Blog 4 Title",
37+
image: "/img/svg/blogging.svg",
38+
description:
39+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet nulla auctor, vestibulum magna sed, convallis ex.",
40+
slug: "#",
41+
},
42+
{
43+
id: 5,
44+
title: "Blog 5 Title",
45+
image: "/img/svg/blogging.svg",
46+
description:
47+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet nulla auctor, vestibulum magna sed, convallis ex.",
48+
slug: "#",
49+
},
50+
{
51+
id: 6,
52+
title: "Blog 6 Title",
53+
image: "/img/svg/blogging.svg",
54+
description:
55+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet nulla auctor, vestibulum magna sed, convallis ex.",
56+
slug: "#",
57+
},
58+
];
8459

85-
export default blogs;
60+
export default blogs;

0 commit comments

Comments
 (0)