forked from ironforge-cloud/soldev-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
next-seo.config.ts
37 lines (34 loc) · 869 Bytes
/
next-seo.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { DefaultSeoProps } from "next-seo";
import {
SITE_ADDR,
SITE_NAME,
SITE_NAME_LONG,
CREATOR_TWITTER_HANDLE,
SITE_TWITTER_HANDLE,
} from "./src/lib/constants/general";
const config: DefaultSeoProps = {
// configure the title settings
title: undefined,
titleTemplate: `${SITE_NAME} - %s`,
defaultTitle: SITE_NAME,
description:
"Learn to develop using Solana. Tutorials, SDK's, Frameworks, Developer Tools, Security, Scaffolds, and Projects implementations.",
// social media card data
openGraph: {
siteName: SITE_NAME_LONG,
locale: "en_US",
type: "website",
url: SITE_ADDR,
images: [
{
url: `${SITE_ADDR}/banner.png`,
},
],
},
twitter: {
handle: `@${CREATOR_TWITTER_HANDLE}`,
site: `@${SITE_TWITTER_HANDLE}`,
cardType: "summary_large_image",
},
};
export default config;