seo check

This commit is contained in:
hamed
2026-06-05 21:28:12 +03:30
parent 3c9013ff0c
commit 35408b059a
10 changed files with 368 additions and 115 deletions
+13
View File
@@ -1,5 +1,18 @@
import BlogsPage from "@/components/blogs";
import Layout from "@/components/layout/StLayout";
import { getStateInfo } from "@/lib/getStateInfo";
export async function generateMetadata() {
const { matchedCity } = await getStateInfo();
const siteName = matchedCity?.site_name || "نوبت 724";
const title = `مقالات و اخبار پزشکی | ${siteName}`;
const description = `جدیدترین مقالات، اخبار و راهنماهای پزشکی. اطلاعات تخصصی در حوزه سلامت و پزشکی از متخصصان ${siteName}.`;
return {
title,
description,
openGraph: { title, description },
};
}
export default function Blogs() {
return (