-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.tsx
58 lines (53 loc) · 1.55 KB
/
settings.tsx
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
import type { Metadata } from "next"
import { emojiLookup } from "@/lib/emoji"
export const info = {
fullname: "Khinshan Khan",
startYear: 2017,
avatarUrl: "https://github.com/khinshankhan.png",
}
const faviconSrc =
process.env.NODE_ENV === "production" || process.env.NODE_ENV === "test"
? "/favicon.ico?v=1"
: emojiLookup.get(":dancer:")!.url
export const defaultMetadata = {
metadataBase: new URL("https://khinshankhan.com"),
title: {
default: "Khinshan Khan",
template: "%s | Khinshan Khan",
},
description:
"Hello! Welcome to my digital garden, where I share my thoughts and musings. You may or may not learn something, but at least it'll be fun!",
icons: {
shortcut: faviconSrc,
},
openGraph: {
title: "Khinshan Khan",
description:
"Hello! Welcome to my digital garden, where I share my thoughts and musings. You may or may not learn something, but at least it'll be fun!",
url: "https://www.khinshankhan.com",
siteName: "Khinshan Khan",
locale: "en-US",
type: "website",
images: [
{
url: "https://www.khinshankhan.com/og.png?v=5",
width: 1200,
height: 630,
},
],
},
twitter: {
title: "Khinshan Khan",
card: "summary_large_image",
},
} satisfies Metadata
export const headerLinks = [
{ label: "About", href: "/about/" },
{ label: "Writings", href: "/writings/" },
{ label: "Projects", href: "/projects/" },
{ label: "Connect", href: "/connect/" },
]
export const flags = {
showCeaseFireBanner: false,
showWritingImages: false,
}