-
Notifications
You must be signed in to change notification settings - Fork 20
/
constants.js
26 lines (25 loc) · 1.31 KB
/
constants.js
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
const TITLE = 'Grid Cheatsheet';
const DESC = 'Demos for W3C CSS Grid Specification https://www.w3.org/TR/css-grid-1';
const URL = 'https://yoksel.github.io/grid-cheatsheet/';
const IMAGE = '//yoksel.github.io/grid-cheatsheet/screenshot.png';
const GITHUB = 'https://github.com/yoksel/grid-cheatsheet/';
const COUNTER = `<!-- Yandex.Metrika counter -->
<script
type="text/javascript"> (function (m, e, t, r, i, k, a) { m[i] = m[i] || function () { (m[i].a = m[i].a || []).push(arguments) }; m[i].l = 1 * new Date(); k = e.createElement(t), a = e.getElementsByTagName(t)[0], k.async = 1, k.src = r, a.parentNode.insertBefore(k, a) })(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); ym(65001319, "init", { clickmap: true, trackLinks: true, accurateTrackBounce: true, trackHash: true }); </script>
<noscript>
<div><img src="https://mc.yandex.ru/watch/65001319" style="position:absolute; left:-9999px;" alt="" /></div>
</noscript> <!-- /Yandex.Metrika counter -->`;
const HIGHLIGHT_GRID = 1;
const STORAGE_KEY = '"gdchTheme"';
const CLARIFICATION = 'All text content belongs to <a href="https://www.w3.org/TR/css-grid-1">W3C CSS Grid Specification</a>,<br>I only added interactive demos';
module.exports = {
TITLE,
DESC,
URL,
IMAGE,
GITHUB,
COUNTER,
HIGHLIGHT_GRID,
STORAGE_KEY,
CLARIFICATION
};