57 lines
1.5 KiB
TypeScript
57 lines
1.5 KiB
TypeScript
import type { Metadata } from "next";
|
|
import Home from "@/views/Home";
|
|
import { siteUrl } from "@/lib/site";
|
|
|
|
const title = "انجمن علمی کامپیوتر دانشگاه گیلان";
|
|
const description =
|
|
"با ما همراه شوید و در دنیای مهندسی و علوم کامپیوتر پیشرفت کنید. رویدادها، محتوای آموزشی و جامعهای پویا برای رشد شما فراهم است.";
|
|
|
|
export const metadata: Metadata = {
|
|
title,
|
|
description,
|
|
alternates: { canonical: "/" },
|
|
openGraph: {
|
|
title,
|
|
description,
|
|
url: siteUrl,
|
|
siteName: "انجمن علمی کامپیوتر شرق گیلان",
|
|
type: "website",
|
|
images: [`${siteUrl}/favicon.ico`],
|
|
locale: "fa_IR",
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title,
|
|
description,
|
|
images: [`${siteUrl}/favicon.ico`],
|
|
},
|
|
};
|
|
|
|
const structuredData = {
|
|
"@context": "https://schema.org",
|
|
"@type": "Organization",
|
|
name: title,
|
|
url: siteUrl,
|
|
sameAs: [`${siteUrl}/blog`, `${siteUrl}/events`],
|
|
description,
|
|
logo: `${siteUrl}/favicon.ico`,
|
|
contactPoint: {
|
|
"@type": "ContactPoint",
|
|
email: "admin@east-guilan-ce.ir",
|
|
contactType: "customer support",
|
|
availableLanguage: ["fa", "en"],
|
|
},
|
|
};
|
|
|
|
export default function HomePage() {
|
|
return (
|
|
<>
|
|
<script
|
|
type="application/ld+json"
|
|
dangerouslySetInnerHTML={{ __html: JSON.stringify(structuredData) }}
|
|
/>
|
|
<Home />
|
|
</>
|
|
);
|
|
}
|