-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
118 lines (101 loc) · 5.23 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
<!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." />
<!-- 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="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">
<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">
<li v-if="folder.files" v-for="file in folder.files">
<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">
<span class="fab-home" onclick="home()">
<</span> <h1 class="header">
{{hf.toMdFileCase(md.path.replace("/"," / "))}}
<span class="muted">cheatsheet</span>
</h1>
<div class="mdHtml" v-html="cheatSheetParser(mdit.render(atob(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://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://www.mathjax.org">Mathjax</a>
<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>
<li><a class="effect-underline" href="https://markdown-it.github.io">Markdown-it</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="https://cdnjs.cloudflare.com/ajax/libs/markdown-it/10.0.0/markdown-it.min.js"></script>
<script src="index.js"></script>
<script src="cheatSheetParser.js"></script>
<script async src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
</html>