-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
434 lines (427 loc) · 13.9 KB
/
app.vue
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
<script lang="ts" setup>
import Highlight from "./src/Highlight.vue";
import Examples from "./src/Examples.vue";
const latestBinaryVersion = ref("0.2.2");
onMounted(async () => {
const res = await fetch(
"https://storage.googleapis.com/markwhen_binaries/Meridiem/darwin/arm64/RELEASES.json"
);
const json = await res.json();
latestBinaryVersion.value = json.currentRelease;
});
</script>
<template>
<div
class="pt-24 lg:pt-24 flex flex-col px-4 gap-16 lg:grid lg:grid-cols-2 lg:w-[100ch] lg:mx-auto relative"
>
<div
class="hidden lg:block absolute top-36 w-3/4 border-animated -left-24 h-1/2 rounded pointer-events-none"
></div>
<div class="flex flex-col lg:pt-8 gap-2 lg:px-0 px-4">
<div class="flex flex-col gap-1">
<div class="gap-1 flex flex-row playfair text-2xl">
<h1 class="font-bold z-10 bg-zinc-100 px-2">Markwhen</h1>
</div>
<div class="flex flex-row gap-2 playfair px-2">
<span class="text-stone-500 italic">noun</span>
<span class="text-stone-500">/mɑrk·wɛn/</span>
</div>
</div>
<ol class="list-decimal px-2">
<li class="text-2xl leading-9 playfair">
<!-- <span class="merriweather">Markwhen</span> -->
<!-- <span class="sourceSerif">Markwhen</span> -->
A markdown-like <em>journal language</em> for plainly writing
<highlight class="bg-cyan-200">logs</highlight>,
<highlight class="bg-slate-200">gantt charts</highlight>,
<highlight class="bg-orange-200">blogs</highlight>,
<highlight class="bg-red-200">feeds</highlight>,
<highlight class="bg-lime-200">notes</highlight>,
<highlight class="bg-indigo-200">journals</highlight>,
<highlight class="bg-fuchsia-200">diaries</highlight>,
<highlight class="bg-sky-200">todos</highlight>,
<highlight class="bg-yellow-200">timelines</highlight>,
<highlight class="bg-pink-200">calendars</highlight> or
<span class="bg-stone-700 text-stone-100 rounded shadow"
> anything that happens over time </span
>.
</li>
</ol>
</div>
<Examples class="lg:mx-auto lg:w-[30rem]"> </Examples>
</div>
<div
class="pt-16 pb-8 flex flex-col px-2 gap-16 lg:grid lg:grid-cols-2 lg:w-[100ch] lg:mx-auto relative"
>
<div
class="hidden lg:block absolute top-0 border-animated-2 -left-full right-[14rem] h-[7.25rem] rounded pointer-events-none"
></div>
<div class="flex flex-col lg:pt-8 gap-2 lg:px-0 px-4 z-0">
<div class="flex flex-col gap-1 px-2">
<div class="gap-1 flex flex-row playfair text-2xl">
<h1 class="font-bold">
<a
href="https://meridiem.markwhen.com"
class="decoration-dotted px-2 bg-zinc-100"
>Meridiem</a
>
</h1>
</div>
<div class="flex flex-row gap-2 playfair px-2">
<span class="text-stone-500 italic">noun</span>
<span class="text-stone-500">/mə·ˈri·dē·əm/</span>
</div>
</div>
<ol class="list-decimal text-2xl leading-9 playfair px-4">
<li class="">
<!-- <span class="merriweather">Markwhen</span> -->
<!-- <span class="sourceSerif">Markwhen</span> -->
A markwhen editor that supports
<highlight class="bg-cyan-200">collaborative editing</highlight>,
<highlight class="bg-red-200">custom commands</highlight>,
<highlight class="bg-lime-200">snippets</highlight>,
<highlight class="bg-indigo-200">custom visualizations</highlight>,
<highlight class="bg-fuchsia-200">autocomplete</highlight>,
<highlight class="bg-sky-200">event highlighting</highlight>,
<!-- <highlight class="bg-yellow-200">timelines</highlight>, -->
<!-- <highlight class="bg-pink-200">calendars</highlight> and -->
and
<span class="bg-stone-700 text-stone-100 rounded shadow"
> more </span
>.
</li>
</ol>
</div>
<div class="flex flex-row items-end gap-2 px-8">
<a
class="flex flex-row gap-4 items-center group no-underline"
:href="`https://storage.googleapis.com/markwhen_binaries/Meridiem/darwin/arm64/Meridiem-darwin-arm64-${latestBinaryVersion}.zip`"
>
<img
src="https://meridiem.markwhen.com/logo-electron.svg"
alt=""
class="h-12 w-12 rounded-xl shadow group-hover:shadow-lg transition"
/>
<div class="flex flex-col">
<span class=""> Download (macOS arm64 beta) </span>
<span class="text-sm text-zinc-400">v{{ latestBinaryVersion }}</span>
</div>
</a>
</div>
</div>
<div class="px-4 pb-24 pt-2 w-full">
<fieldset
class="flex flex-col w-full lg:w-[100ch] xl:w-2/3 mx-auto rounded-sm group border border-stone-400 bg-zinc-200 shadow-lg"
>
<legend class="mx-3 px-1 playfair">Meridiem Editor</legend>
<a
href="https://meridiem.markwhen.com"
target="_blank"
class="flex flex-col px-4 py-px mb-1 mx-auto rounded-sm decoration-dotted"
>Open in new tab ->
</a>
<iframe
src="https://meridiem.markwhen.com"
height="650"
width="100%"
></iframe>
</fieldset>
</div>
<div
class="flex flex-col items-start gap-2 pb-48 px-4 lg:w-[100ch] lg:mx-auto playfair overflow-scroll"
>
<div class="flex flex-col">
<a href="https://docs.markwhen.com/" class="underline mb-2"
>Documentation</a
>
<a href="https://meridiem.markwhen.com/example">Example</a>
<a href="https://meridiem.markwhen.com">Meridiem</a>
<a
href="https://marketplace.visualstudio.com/items?itemName=Markwhen.markwhen"
>VS Code extension</a
>
<a href="https://obsidian.md/plugins?id=markwhen">Obsidian plugin</a>
<a href="https://discord.com/invite/3rTpUD94ac">Discord</a>
</div>
<div class="flex flex-col">
<a href="https://github.com/mark-when">Github</a>
<table>
<tr>
<td>
<a href="https://github.com/mark-when/landing2">This website</a>
</td>
<td>
<a href="https://github.com/mark-when/landing2"
>mark-when/landing2</a
>
</td>
<td>
<iframe
src="https://ghbtns.com/github-btn.html?user=mark-when&repo=landing2&type=star&count=true"
frameborder="0"
scrolling="0"
width="170"
height="20"
title="GitHub"
>
</iframe>
</td>
</tr>
<tr>
<td>
<a href="https://github.com/mark-when/markwhen"
>General issue tracking</a
>
</td>
<td>
<a href="https://github.com/mark-when/markwhen"
>mark-when/markwhen</a
>
</td>
<td>
<iframe
src="https://ghbtns.com/github-btn.html?user=mark-when&repo=markwhen&type=star&count=true"
frameborder="0"
scrolling="0"
width="170"
height="20"
title="GitHub"
>
</iframe>
</td>
</tr>
<tr>
<td>
<a href="https://github.com/mark-when/obsidian-plugin"
>Obsidian Plugin</a
>
</td>
<td>
<a href="https://github.com/mark-when/obsidian-plugin"
>mark-when/obsidian-plugin</a
>
</td>
<td>
<iframe
src="https://ghbtns.com/github-btn.html?user=mark-when&repo=obsidian-plugin&type=star&count=true"
frameborder="0"
scrolling="0"
width="170"
height="20"
title="GitHub"
>
</iframe>
</td>
</tr>
<tr>
<td>
<a href="https://github.com/mark-when/mw">Markwhen CLI</a>
</td>
<td>
<a href="https://github.com/mark-when/mw">mark-when/mw</a>
</td>
<td>
<iframe
src="https://ghbtns.com/github-btn.html?user=mark-when&repo=mw&type=star&count=true"
frameborder="0"
scrolling="0"
width="170"
height="20"
title="GitHub"
>
</iframe>
</td>
</tr>
<tr>
<td>
<a href="https://github.com/mark-when/timeline">Timeline</a>
</td>
<td>
<a href="https://github.com/mark-when/timeline"
>mark-when/timeline</a
>
</td>
<td>
<iframe
src="https://ghbtns.com/github-btn.html?user=mark-when&repo=timeline&type=star&count=true"
frameborder="0"
scrolling="0"
width="170"
height="20"
title="GitHub"
>
</iframe>
</td>
</tr>
<tr>
<td><a href="https://github.com/mark-when/parser">Parser</a></td>
<td>
<a href="https://github.com/mark-when/parser">mark-when/parser</a>
</td>
<td>
<iframe
src="https://ghbtns.com/github-btn.html?user=mark-when&repo=parser&type=star&count=true"
frameborder="0"
scrolling="0"
width="170"
height="20"
title="GitHub"
>
</iframe>
</td>
</tr>
<tr>
<td>
<a href="https://github.com/mark-when/vscode">VS Code Extension</a>
</td>
<td>
<a href="https://github.com/mark-when/vscode">mark-when/vscode</a>
</td>
<td>
<iframe
src="https://ghbtns.com/github-btn.html?user=mark-when&repo=vscode&type=star&count=true"
frameborder="0"
scrolling="0"
width="170"
height="20"
title="GitHub"
>
</iframe>
</td>
</tr>
<tr>
<td>
<a href="https://github.com/mark-when/view-client"
>View client library</a
>
</td>
<td>
<a href="https://github.com/mark-when/view-client"
>mark-when/view-client</a
>
</td>
<td>
<iframe
src="https://ghbtns.com/github-btn.html?user=mark-when&repo=view-client&type=star&count=true"
frameborder="0"
scrolling="0"
width="170"
height="20"
title="GitHub"
>
</iframe>
</td>
</tr>
<tr>
<td>
<a href="https://github.com/mark-when/calendar">Calendar</a>
</td>
<td>
<a href="https://github.com/mark-when/calendar"
>mark-when/calendar</a
>
</td>
<td>
<iframe
src="https://ghbtns.com/github-btn.html?user=mark-when&repo=calendar&type=star&count=true"
frameborder="0"
scrolling="0"
width="170"
height="20"
title="GitHub"
>
</iframe>
</td>
</tr>
<tr>
<td>
<a href="https://github.com/mark-when/c2">C2</a>
</td>
<td>
<a href="https://github.com/mark-when/c2">mark-when/c2</a>
</td>
<td>
<iframe
src="https://ghbtns.com/github-btn.html?user=mark-when&repo=c2&type=star&count=true"
frameborder="0"
scrolling="0"
width="170"
height="20"
title="GitHub"
>
</iframe>
</td>
</tr>
<tr>
<td>
<a href="https://github.com/mark-when/resume">Resume</a>
</td>
<td>
<a href="https://github.com/mark-when/resume">mark-when/resume</a>
</td>
<td>
<iframe
src="https://ghbtns.com/github-btn.html?user=mark-when&repo=resume&type=star&count=true"
frameborder="0"
scrolling="0"
width="170"
height="20"
title="GitHub"
>
</iframe>
</td>
</tr>
</table>
</div>
</div>
</template>
<style>
td {
@apply pr-8;
}
body {
@apply bg-zinc-100;
}
a {
@apply underline;
}
.worksans {
font-family: Work Sans, sans-serif;
}
.playfair {
font-family: Playfair Display, serif;
}
.border-animated {
background: linear-gradient(90deg, #c1c1c8 50%, transparent 50%),
linear-gradient(90deg, #c1c1c8 50%, transparent 50%),
linear-gradient(0deg, #c1c1c8 50%, transparent 50%),
linear-gradient(0deg, #c1c1c8 50%, transparent 50%);
background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
background-size: 24px 1px, 24px 1px, 1px 24px, 0px 24px;
background-position: 0% 0%, 100% 100%, 0% 100%, 100% 0px;
animation: dash 30s linear infinite;
}
@keyframes dash {
from {
background-position: 100% 0%, 0% 100%, 0% 0%, 100% 100%;
}
to {
background-position: 0% 0%, 100% 100%, 0% 100%, 100% 0%;
}
}
.border-animated-2 {
background: linear-gradient(90deg, #c1c1c8 50%, transparent 50%),
linear-gradient(90deg, #c1c1c8 50%, transparent 50%),
linear-gradient(0deg, #c1c1c8 50%, transparent 50%),
linear-gradient(0deg, #c1c1c8 50%, transparent 50%);
background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
background-size: 24px 0px, 24px 1px, 0px 24px, 1px 24px;
background-position: 0% 0%, 100% 100%, 0% 100%, 100% 0px;
animation: dash-reverse 60s linear infinite;
}
@keyframes dash-reverse {
to {
background-position: 100% 0%, 0% 100%, 0% 0%, 100% 100%;
}
}
</style>