-
Notifications
You must be signed in to change notification settings - Fork 0
/
site-configs.ts
56 lines (52 loc) · 1.81 KB
/
site-configs.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// Inspired by Chakra - https://github.com/chakra-ui/chakra-ui/blob/main/website/configs/site-config.ts
import { NextSeoProps } from 'next-seo';
import { getBasePath } from 'utils/utils';
interface SiteConfig {
general: {
siteUrl: string;
editUrl: string;
authorEmail: string;
twitter: string;
linkedIn: string;
github: string;
};
seo: NextSeoProps;
}
const hostedURL = 'https://www.bharathikannan.com';
const githubURL = 'https://github.com/payapula/blog';
const siteConfig: SiteConfig = {
general: {
siteUrl: hostedURL,
editUrl: `${githubURL}/edit/develop/_posts/`,
authorEmail: 'bharathikannanv05@gmail.com',
twitter: 'https://twitter.com/bharathispeaks',
linkedIn: 'https://linkedin.com/in/bharathikannanv',
github: githubURL
},
seo: {
title: 'Bharathi Kannan Website',
defaultTitle: 'Bharathi Kannan Website',
titleTemplate: '%s | Bharathi Kannan Website',
description:
"Bharathi Kannan's Portfolio and Blog. A web developer working on developing Full Stack Applications with React Js, Typescript, Apollo GraphQL, Amazon aws amplify and firebase.",
openGraph: {
type: 'website',
title: 'Bharathi Kannan Blog',
description: "Bharathi Kannan's Portfolio and Blog.",
site_name: 'Bharathi Kannan',
url: hostedURL,
images: [
{
url: getBasePath('/assets/resume/bharathikannanavatar.jpg'),
alt: 'Bharathi Kannan Avatar'
}
]
},
twitter: {
site: '@bharathispeaks',
handle: '@bharathispeaks',
cardType: 'summary_large_image'
}
}
};
export default siteConfig;