From 7beec13899a2c833102a2de8a6f5bf66436f806e Mon Sep 17 00:00:00 2001 From: kleap-admin Date: Thu, 15 Jan 2026 13:04:00 +0000 Subject: [PATCH] Update app/blog/page.tsx --- app/blog/page.tsx | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 app/blog/page.tsx diff --git a/app/blog/page.tsx b/app/blog/page.tsx new file mode 100644 index 0000000..432db8e --- /dev/null +++ b/app/blog/page.tsx @@ -0,0 +1,47 @@ +import { type Metadata } from "next"; +import { getAllBlogs } from "@/lib/blog"; +import { Background } from "@/components/background"; +import { Container } from "@/components/container"; +import { Heading } from "@/components/heading"; +import { Subheading } from "@/components/subheading"; +import { BlogCard } from "@/components/blog-card"; + +export const metadata: Metadata = { + title: "Blog - [App Name]", + description: + "[App Name] blog - Stay updated with the latest insights, tutorials, and updates about our platform and features.", + openGraph: { + images: ["https://ai-saas-template-aceternity.vercel.app/banner.png"], + }, +}; + +export default async function ArticlesIndex() { + let blogs = await getAllBlogs(); + + return ( +
+ + +
+ Blog + + Discover insightful resources and expert advice from our seasoned + team to elevate your knowledge. + +
+ +
+ {blogs.slice(0, 2).map((blog, index) => ( + + ))} +
+ +
+ {blogs.slice(2).map((blog, index) => ( + + ))} +
+
+
+ ); +}