-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.config.ts
74 lines (71 loc) · 1.63 KB
/
site.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import * as baseConfig from './base-config';
export const tags = [
'finance',
'hiring',
'career',
'software',
'design',
'interview',
'speaking',
'design-system',
'accessibility',
'state-machine',
'react',
'jest',
'testing',
'component',
'open-source',
'tips',
'github-actions',
'ci',
];
const shared = {
...baseConfig,
repo: 'https://github.com/vanenshi/vanenshi.com',
editUrl: 'https://github.com/vanenshi/vanenshi.com/edit/main/data/',
title: `${baseConfig.name} (aka ${baseConfig.nickname}) - Software Developer`,
description:
'UI Engineer passionate about design systems, state machines, accessibility, DX and Rust.',
image: `/static/images/banner.png`,
} as const;
export const siteConfig = {
name: shared.name,
nickname: shared.nickname,
image: shared.image,
type: 'website',
title: shared.title,
titleTemplate: `%s - ${shared.name}`,
description: shared.description,
siteUrl: shared.siteUrl,
profiles: {
github: 'https://github.com/vanenshi',
twitter: 'https://twitter.com/vanenshi',
linkedin: 'https://linkedin.com/in/vanenshi',
email: 'mailto:[email protected]',
},
repo: {
url: shared.repo,
editUrl: shared.editUrl,
},
twitter: {
handle: '@vanenshi',
site: '@vanenshi',
cardType: 'summary_large_image',
},
openGraph: {
type: 'website',
locale: 'en_US',
url: shared.siteUrl,
title: shared.title,
site_name: shared.name,
description: shared.description,
images: [
{
url: `/static/images/banner.png`,
width: 1200,
height: 630,
alt: shared.title,
},
],
},
} as const;