This repository has been archived by the owner on Jul 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdemo.html
58 lines (53 loc) · 2.12 KB
/
demo.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>micro-panel demo</title>
<style>
body { margin: 0; padding: 0; font: 1em sans-serif; }
main { margin: 1rem auto; max-width: 96%; }
</style>
<!-- The actual micro-panel code -- DO NOT include this one, this is for development.
Include the bundled minified module dist/micro-panel-all.js
Or bundle yourself if you also use Lit elsewhere in your site.
You can't just use these modules directly because they refer to package paths in their imports :( -->
<script type="module" src="src/micro-panel-all.js"></script>
<!-- Icons and manifest -- you should include them, unless you have your own -->
<link rel="manifest" href="manifest.json">
<link rel="apple-touch-icon" sizes="180x180" href="icons/apple-touch-icon.png">
<link rel="mask-icon" href="icons/mask-icon.svg" color="#5bbad5">
<link rel="icon" type="image/x-icon" href="icons/favicon.ico">
<link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png">
<meta name="theme-color" content="#00897b">
</head>
<body>
<micro-panel-editor hidden defaultctype="markdown" micropub="/fake-micropub" media="/fake-media"></micro-panel-editor>
<micro-panel-toolbar></micro-panel-toolbar>
<main>
<article class="h-entry">
<h1 class="p-name">Welcome to micro-panel</h1>
<div class="e-content">
<p>This is a set of Web Components for editing IndieWeb sites. You can try it out on this page!</p>
</div>
</article>
<footer>
<micro-panel-action with="/fake/url/for/demo">
<button>Try editing!</button>
</micro-panel-action>
<indie-action do="reply" with="/fake/url/for/demo">
Or <button>replying</button>.
</indie-action>
<indie-action do="like" with="/fake/url/for/demo">
<a href="#">Or liking</a>.
</indie-action>
</footer>
</main>
<footer>
Will be suggested as categories:
<a href="#" data-mf-category="demo">demo</a>
<a href="#" data-mf-category="test">test</a>
<a href="#" data-mf-category="hello">hello</a>
</footer>
</body>
</html>