Update src/app/blog/page.tsx

This commit is contained in:
2026-01-23 09:54:10 +00:00
parent 027782f34d
commit 7260577d95

View File

@@ -2,6 +2,7 @@
import { useEffect, useState } from "react";
import ReactLenis from "lenis/react";
import Link from "next/link";
import BlogCardTwo from '@/components/sections/blog/BlogCardTwo';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
@@ -54,7 +55,8 @@ export default function BlogPage() {
const url = `${apiUrl}/posts/${projectId}?status=published`;
const response = await fetch(url, {
method: "GET", headers: {
"Content-Type": "application/json"},
"Content-Type": "application/json"
},
});
if (response.ok) {
@@ -96,12 +98,21 @@ export default function BlogPage() {
>
<ReactLenis root>
<div className="min-h-screen bg-background">
<NavbarStyleMinimal
brandName="QWER"
button={{
text: "Get Started", href: "https://qwer.invest/contact"
}}
/>
<div id="nav" data-section="nav">
<NavbarStyleMinimal
brandName="QWER"
button={{
text: "Get Started", href: "https://qwer.invest/contact"
}}
/>
<div className="mt-4">
<Link href="/">Home</Link> |
<Link href="/about">About</Link> |
<Link href="/services">Services</Link> |
<Link href="/contact">Contact</Link> |
<Link href="/blog">Blog</Link>
</div>
</div>
{isLoading ? (
<div className="w-content-width mx-auto py-20 text-center">