forked from Hexlet/hexletguides.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
kodsurfer
committed
Aug 19, 2024
1 parent
c9a5579
commit 0946ffb
Showing
1 changed file
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
interface SocialLinks { | ||
links: string[]; | ||
} | ||
|
||
interface DisqusConfig { | ||
ru: string; | ||
en: string; | ||
} | ||
|
||
interface AmpAnalytics { | ||
metrikaCounterId: string; | ||
googleTrackingId: string; | ||
} | ||
|
||
interface AmpConfig { | ||
analytics: AmpAnalytics; | ||
} | ||
|
||
interface Config { | ||
siteURL: string; | ||
title: string; | ||
email: string; | ||
timezone: string; | ||
repositoryUrl: string; | ||
siteUrl: string; | ||
tagline: string; | ||
description: string; | ||
social: SocialLinks; | ||
logo: string; | ||
favicon: string; | ||
author: string; | ||
disqus: DisqusConfig; | ||
amp: AmpConfig; | ||
} | ||
|
||
const config: Config = { | ||
siteURL: 'https://guides.hexlet.io', | ||
title: 'Hexlet Guides', | ||
email: '[email protected]', | ||
timezone: 'UTC', | ||
repositoryUrl: 'https://github.com/Hexlet/hexletguides.github.io', | ||
siteUrl: 'https://guides.hexlet.io', | ||
tagline: 'Гайды', | ||
description: 'Полезные статьи и гайды для разработчиков', | ||
social: { | ||
links: ['https://www.instagram.com/hexlethq/', 'https://www.facebook.com/Hexlet/', 'https://twitter.com/HexletHQ'], | ||
}, | ||
logo: '/images/hexlet_logo.png', | ||
favicon: '/assets/images/favicons/favicon-128.png', | ||
author: 'Kirill Mokevnin', | ||
disqus: { | ||
ru: 'hexlet-guides', | ||
en: 'hexlet-guides-en', | ||
}, | ||
amp: { | ||
analytics: { | ||
metrikaCounterId: '65474386', | ||
googleTrackingId: 'UA-1360700-62', | ||
}, | ||
}, | ||
}; | ||
|
||
export default config; |