-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
122 lines (107 loc) · 5.26 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
<!DOCTYPE html>
<html>
<head>
<title>Stuck in Vim?</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width">
<meta property="description" content="Stuck in Vim? Let’s fix that!" />
<meta property="og:title" content="Stuck in Vim?" />
<meta property="og:locale" content="en_US" />
<meta property="og:description" content="Stuck in Vim? Let’s fix that!" />
<meta property="og:url" content="https://siddhantgoel.github.io/stuckinvim.com" />
<meta property="og:site_name" content="Stuck in Vim?" />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Stuck in Vim?">
<meta name="twitter:description" content="Stuck in Vim? Let’s fix that!">
<meta name="twitter:creator" content="@siddhantgoel">
<link rel="canonical" href="https://siddhantgoel.github.io/stuckinvim.com" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/cosmo/bootstrap.min.css" />
<link rel="stylesheet" href="stuck.css" />
</head>
<body>
<div id="app">
<div class="container">
<div class="row page-header">
<div class="col-lg-2">
</div>
<div class="col-lg-8">
<div class="text-center">
<h1><strong>Stuck in Vim and can’t get out?</strong> 🙄</h1>
<h2>Let’s fix that! 💪🏼
</h2>
</div>
</div>
</div>
<transition name="fade">
<div class="row" v-if="capsWarning">
<div class="col-lg-3">
</div>
<div class="col-lg-6 text-center">
<div class="alert alert-warning alert-dismissable" role="alert">
<button type="button" class="close" v-on:click="hideCapsWarning" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
Before you start, ensure you have <kbd>Caps Lock</kbd> <strong>disabled</strong>.
</div>
</div>
</div>
</transition>
<div class="row">
<div class="col-lg-12">
<div class="text-center">
<h3><strong>{{ question }}</strong></h3>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="text-center">
<button v-for="response in responses"
class="btn btn-success btn-primary-spacing"
v-on:click="setState(response.nextState);">
<h4>{{ response.text }}</h4>
</button>
</div>
</div>
</div>
<hr/>
<div class="row">
<div class="col-lg-12">
<p class="text-center">
<strong>Why?</strong> —
<a href="https://stackoverflow.blog/2017/05/23/stack-overflow-helping-one-million-developers-exit-vim/" target="_blank">Helping one million developers exit Vim</a>
</p>
<p class="text-center">
<strong>Who?</strong> —
<a href="https://sgoel.dev" target="_blank">Siddhant Goel</a>
</p>
<p class="text-center">
<strong>How?</strong> —
<a href="https://sgoel.dev/posts/stuck-in-vim/" target="_blank">The Story</a>
</p>
<p class="text-center">
<a href="https://twitter.com/share"
class="twitter-share-button"
data-via="siddhantgoel"
data-show-count="false"
data-text="Stuck in Vim? Help is available!">
Tweet
</a>
</p>
</div>
</div>
</div>
</div>
<div class="ribbon">
<a href="https://github.com/siddhantgoel/stuckinvim.com" target="_blank">
Edit me on GitHub
</a>
</div>
<script src="//cdnjs.cloudflare.com/ajax/libs/vue/2.6.10/vue.min.js"></script>
<script src="stuck.js"></script>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
<script defer data-domain="siddhantgoel.github.io/stuckinvim.com" src="https://plausible.io/js/script.js"></script>
</body>
</html>