Update src/app/blog/page.tsx
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import ReactLenis from "lenis/react";
|
import ReactLenis from "lenis/react";
|
||||||
import BlogCardTwo from '@/components/sections/blog/BlogCardTwo';
|
import BlogCardOne from '@/components/sections/blog/BlogCardOne';
|
||||||
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
|
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
|
||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||||
@@ -104,6 +104,7 @@ export default function BlogPage() {
|
|||||||
{ name: "Fleet", id: "products" },
|
{ name: "Fleet", id: "products" },
|
||||||
{ name: "Pricing", id: "pricing" },
|
{ name: "Pricing", id: "pricing" },
|
||||||
{ name: "Why Us", id: "features" },
|
{ name: "Why Us", id: "features" },
|
||||||
|
{ name: "Shop", id: "shop" },
|
||||||
{ name: "Contact", id: "contact" }
|
{ name: "Contact", id: "contact" }
|
||||||
]}
|
]}
|
||||||
bottomLeftText="Premium Vehicle Rentals"
|
bottomLeftText="Premium Vehicle Rentals"
|
||||||
@@ -115,7 +116,7 @@ export default function BlogPage() {
|
|||||||
<p className="text-foreground">Loading posts...</p>
|
<p className="text-foreground">Loading posts...</p>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<BlogCardTwo
|
<BlogCardOne
|
||||||
blogs={posts}
|
blogs={posts}
|
||||||
title="Latest Travel Insights"
|
title="Latest Travel Insights"
|
||||||
description="Discover expert tips, destination guides, and automotive excellence stories from our team"
|
description="Discover expert tips, destination guides, and automotive excellence stories from our team"
|
||||||
|
|||||||
Reference in New Issue
Block a user