diff --git a/src/app/api/sitemap/page.js b/src/app/api/sitemap/page.js
index 8430f13..1ae537c 100644
--- a/src/app/api/sitemap/page.js
+++ b/src/app/api/sitemap/page.js
@@ -5,10 +5,10 @@ export function generateRandomNumber(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
-export default async () => {
+ const Sitemap = async() => {
const response2 = await fetch(
- `https://dev.to/api/articles?per_page=10000`
+ `https://dev.to/api/articles?per_page=1`
);
const data22 = await response2.json();
@@ -54,3 +54,4 @@ function ArticleCard({ article }) {
);
}
+export default Sitemap;
diff --git a/src/app/components/Card2.js b/src/app/components/Card2.js
new file mode 100644
index 0000000..7c534d5
--- /dev/null
+++ b/src/app/components/Card2.js
@@ -0,0 +1,46 @@
+export default function () {
+ return (
+
+
+
+
+
+
+
+ - GitHub
+ {/* - Dev.to
*/}
+ - Dev.to
+ - DevArt
+
+
+ I'm a passionate developer
+
+ {(new Date()).toDateString()}
+
+ );
+}
diff --git a/src/app/components/Footer.js b/src/app/components/Footer.js
index 66aa66b..2d6b7d7 100644
--- a/src/app/components/Footer.js
+++ b/src/app/components/Footer.js
@@ -7,7 +7,7 @@ export default () => {
@BlogX{" "}
{" "}
- | Created with ❤️ by @sh20raj
+ | Created with ❤️ by @sh20raj | CXDIIN
)
}
\ No newline at end of file
diff --git a/src/app/globals.css b/src/app/globals.css
index 7380b60..160ef2c 100644
--- a/src/app/globals.css
+++ b/src/app/globals.css
@@ -288,7 +288,7 @@ footer {
.post {
width: 100%;
- background: var(--bbg);
+ /* background: var(--bbg); */
/* border: 2px solid var(--black); */
margin: 20px;
margin-top: 0;
@@ -298,6 +298,7 @@ footer {
display: block;
top: 0;
left: 0;
+ border-radius: 20px;
}
.postscontainer #load_more {
diff --git a/src/app/page.js b/src/app/page.js
index c4bfcba..5d83f95 100644
--- a/src/app/page.js
+++ b/src/app/page.js
@@ -3,6 +3,7 @@ import { useState, useEffect } from "react";
import Link from "next/link";
import Nav from "./components/Nav";
import Footer from "./components/Footer";
+import Card2 from "./components/Card2";
export function generateRandomNumber(min, max) {
// Math.random() generates a random number between 0 and 1
@@ -70,7 +71,6 @@ export default function ArticlesPage() {
<>
DevArt - Programming Related Articles
-
Latest Posts
@@ -90,6 +90,8 @@ export default function ArticlesPage() {
+
+