-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
130 lines (109 loc) · 5.56 KB
/
index.html
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!DOCTYPE html>
<html lang="en">
<head>
<title>Déjà Vu</title>
<!-- Basic Meta Tags -->
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="dejavu, cheatsheet, dejavu cheatsheet, deja vu, Déjà Vu, déjà vu">
<meta name="description" content="A Cheatsheet hobby Project." />
<link rel="apple-touch-icon" sizes="180x180" href="img/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon/favicon-16x16.png">
<link rel="manifest" href="img/favicon/site.webmanifest">
<!-- Twitter Card data -->
<meta name="twitter:title" content="Déjà Vu">
<meta name="twitter:card" value="A Cheatsheet hobby Project.">
<!-- Open Graph data -->
<meta property="og:title" content="Déjà Vu" />
<meta property="og:description" content="A Cheatsheet hobby Project." />
<meta property="og:type" content="website" />
<!-- Google verification -->
<meta name="google-site-verification" content="7Vic0bN92viv5L886vTqTqdncRfOMsVF3SXMH3fNLlg" />
<link href="https://unpkg.com/sanitize.css" rel="stylesheet" />
<link href="https://unpkg.com/sanitize.css/typography.css" rel="stylesheet" />
<link rel="stylesheet" href="css/index.css">
</head>
<body>
<div class="page-container">
<section id="folders" class="container" v-if="enabled">
<h1 class="header">
Déjà Vu
</h1>
<div class="grid" v-cloak>
<div class="grid-item mw-300 ovrflw-auto" v-for="folder in githubFolders" v-if="folder.type=='dir'">
<h2 class="header-text">
{{hf.toHeaderCase(folder.name)}}
<span class="badge">{{folder.files && folder.files.length}}</span>
</h2>
<ul class="md-list" v-if="folder.files">
<li v-for="file in folder.files" v-if="file.type=='file'">
<span v-on:click="openMd(file.url)">{{hf.toMdFileCase(file.name)}}</span>
</li>
</ul>
</div>
</div>
</section>
<section id="file" class="container" v-if="enabled && md" v-cloak>
<span class="fab-home" onclick="home()">◀</span>
<h1 class="header-norm">
{{hf.toMdFileCase(md.path.replace("/"," / "))}}
<!-- <span class="muted">cheatsheet</span> -->
</h1>
<div class="mdHtml" v-html="createCheatSheet(hf.base64ToUnicode(md.content))"></div>
</section>
<footer class="footer">
<div class="footer-wrapper">
<div class="f-row container">
<div class="head-container mw-300">
<h1 class="header">Déjà Vu</h1>
<h3>A Cheatsheet hobby Project.</h3>
<!-- <h3>Inspired from #Devhints</h3> -->
<br>
<a class="effect-underline" href="https://mohanen.github.io/dejavu/editor">Editor</a>
<br>
<a class="effect-underline" href="https://github.com/mohanen/dejavu">Source</a>
<a class="effect-underline" href="https://github.com/mohanen/cheatsheets">Cheatsheets</a>
</div>
<div class="head-container mw-400">
<h2>Can't done this without</h2>
<div class="f-row">
<div class="">
<ul>
<li><a class="effect-underline" href="https://devhints.io">Devhints</a></li>
<li><a class="effect-underline" href="https://github.com">Git Hub</a></li>
<li><a class="effect-underline" href="https://khan.github.io">Khan Academy</a></li>
<li><a class="effect-underline" href="https://github.com/mohanen">Mohanen</a></li>
</ul>
</div>
<div class="">
<ul>
<li><a class="effect-underline" href="https://vuejs.org">Vue</a></li>
<li><a class="effect-underline"
href="https://csstools.github.io/sanitize.css">Sanitize</a>
</li>
<li><a class="effect-underline" href="https://github.com/axios/axios">Axios</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</footer>
</div>
</body>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="modules/simepleMarkdown/simpleMarkdown.min.js"></script>
<script>
MathJax = {
loader: { load: ['input/asciimath', 'output/svg'] },
};
</script>
<!-- <script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/startup.js"></script> -->
<script src="modules/mathjax/startup.js"></script>
<script src="js/cheatSheet.js"></script>
<script src="js/index.js"></script>
</html>