svrjs-nextjs-website/app/(root)/blog/page.tsx

56 lines
1.8 KiB
TypeScript
Raw Normal View History

2024-06-15 19:24:54 +02:00
import React from "react";
2024-06-22 10:30:51 +02:00
import { Metadata } from "next";
2024-08-03 11:06:50 +02:00
import BlogCards from "@/components/cards/BlogCards";
2024-06-15 19:24:54 +02:00
2024-06-22 10:30:51 +02:00
export const metadata: Metadata = {
2024-08-03 11:06:50 +02:00
title: "Blog - SVRJS",
2024-08-08 19:23:56 +02:00
description:
"Welcome to the SVR.JS Blog! Explore our latest blog posts featuring web development, web application security, and web server administration tips. Stay tuned for the latest SVR.JS updates.",
openGraph: {
title: "Blog - SVRJS",
description:
"Welcome to the SVR.JS Blog! Explore our latest blog posts featuring web development, web application security, and web server administration tips. Stay tuned for the latest SVR.JS updates.",
url: "https://svrjs.org/blog",
type: "website",
images: [
{
url: "https://svrjs.vercel.app/metadata/svrjs-cover.png",
width: 800,
height: 600,
alt: "Blog - SVRJS",
},
],
},
twitter: {
card: "summary_large_image",
site: "@SVR_JS",
title: "Blog - SVRJS",
description:
"Welcome to the SVR.JS Blog! Explore our latest blog posts featuring web development, web application security, and web server administration tips. Stay tuned for the latest SVR.JS updates.",
images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"],
creator: "@SVR_JS",
},
2024-06-22 10:30:51 +02:00
};
2024-08-08 11:21:56 +02:00
2024-08-08 19:23:56 +02:00
const BlogPage = async ({
searchParams,
}: {
searchParams: { page?: string };
}) => {
// Optionally, you can fetch some initial data here if needed.
2024-08-03 11:06:50 +02:00
return (
2024-08-08 11:21:56 +02:00
<section
id="blog"
className="wrapper container py-24 md:py-28 gap-2 flex-center flex-col"
>
<h1 className="text-3xl md:text-5xl mb-12 pb-1 md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400">
SVRJS Blog Post
</h1>
2024-08-08 19:23:56 +02:00
<BlogCards searchParams={searchParams} />
2024-08-03 11:06:50 +02:00
</section>
);
2024-06-15 19:24:54 +02:00
};
export default BlogPage;