Merge branch 'main' into newsletter-icon

This commit is contained in:
Travis Fischer
2022-06-02 11:49:48 -04:00
committed by GitHub
7 changed files with 40 additions and 3 deletions

View File

@@ -56,6 +56,7 @@ export const language: string = getSiteConfig('language', 'en')
// social accounts
export const twitter: string | null = getSiteConfig('twitter', null)
export const github: string | null = getSiteConfig('github', null)
export const youtube: string | null = getSiteConfig('youtube', null)
export const linkedin: string | null = getSiteConfig('linkedin', null)
export const newsletter: string | null = getSiteConfig('newsletter', null)
export const zhihu: string | null = getSiteConfig('zhihu', null)
@@ -146,8 +147,8 @@ export const site: Site = {
export const fathomId = isDev ? null : process.env.NEXT_PUBLIC_FATHOM_ID
export const fathomConfig = fathomId
? {
excludedDomains: ['localhost', 'localhost:3000']
}
excludedDomains: ['localhost', 'localhost:3000']
}
: undefined
export const posthogId = process.env.NEXT_PUBLIC_POSTHOG_ID

View File

@@ -14,6 +14,7 @@ export interface SiteConfig {
github?: string
linkedin?: string
newsletter?: string
youtube?: string
zhihu?: string
defaultPageIcon?: string | null