This repository was archived by the owner on Dec 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
142 lines (109 loc) · 6.38 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
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE html>
<html>
<head namespace>
<meta name="theme-color" content="gainsboro" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="chtml" content="script-errors=0" />
<base href="/" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-162031816-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-162031816-2');
</script>
<title scoped:id="title">...</title>
<!--
<link type="text/css" rel="stylesheet" href="http://localhost:8080/play-ui/css/lib/resets.css" />
<link type="text/css" rel="stylesheet" href="http://localhost:8080/play-ui/css/lib/canvas.css" />
<script src="http://localhost:8080/play-ui/ext/web-animations.min.js"></script>
<script src="http://localhost:8080/play-ui/ext/hammer.min.js"></script>
<script src="http://localhost:8080/play-ui/dist/main.js"></script>
-->
<link type="text/css" rel="stylesheet" href="//unpkg.com/@onephrase/play-ui/css/lib/resets.css" />
<link type="text/css" rel="stylesheet" href="//unpkg.com/@onephrase/play-ui/css/lib/canvas.css" />
<script src="//unpkg.com/@onephrase/play-ui/ext/web-animations.min.js"></script>
<script src="//unpkg.com/@onephrase/play-ui/ext/hammer.min.js"></script>
<script src="//unpkg.com/@onephrase/play-ui/dist/main.js"></script>
<link type="text/css" rel="stylesheet" href="/app.css" />
<link href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@700&family=Spartan:wght@900&display=swap" rel="stylesheet">
<template name="app" src="/app.html"></template>
<template name="components" src="/components.html"></template>
<script src="/app.js"></script>
<script type="scoped">if (route) { $(this.namespace.title).html(route.title) }</script>
</head>
<body namespace template style="font-family: sans-serif;">
<div namespace class="h2" style="display: block; padding: 15px; text-align: center; color: black; border-bottom: 5px solid yellow; background-image:url(assets/images/bg-light.jpg);">
<span>Support the Web-Native project:</span>
<button scoped:id="monetizationStart" class="support-button" title="Send micropayment from your browser (from your Web Monetization wallet)">from your browser</button>
<span scoped:id="monetizationActive" class="d-none">
<div style="display: inline-block; padding: 5px; font-size: smaller;">
<span scoped:id="monetizationTotal"></span>
<span scoped:id="monetizationCurrency"></span>
</div>
<button scoped:id="monetizationStop" class="support-button" title="Stop sending micropayment">stop</button>
</span>
<a href="https://patreon.com/ox_harris" target="blank" class="support-button">on Patreon ⟶</a>
<script type="scoped">
// Display
$(this.namespace.monetizationStart).class('d-none', monetization.state === 'started');
$(this.namespace.monetizationActive).class('d-none', monetization.state !== 'started');
// Total
$(this.namespace.monetizationTotal).html(monetization.sessionTotal.value);
$(this.namespace.monetizationCurrency).html(monetization.currency);
// Controls
$(this.namespace.monetizationStart).on('click', () => monetization.start());
$(this.namespace.monetizationStop).on('click', () => monetization.stop());
</script>
</div>
<header namespace scoped:id="header" class="section" style="border-bottom: 1px solid silver;">
<div scoped:id="primary" class="flex-y-center" style="display: none;">
<a href="" class="flex-y-center">
<img src="/assets/images/logo2.fw.png" alt="W" class="h2" style="max-width: 2em;" />
<div class="h2" style="padding-left: 15px; font-size: 1.35em;">Web-Native</div>
</a>
</div>
<div scoped:id="secondary">
<a href="/"><img src="/assets/images/logo2.fw.png" alt="W" class="h2" style="max-width: 1.25em; font-size: 3.6em;" /></a>
<div class="h2" style="margin-top: 15px; font-size: 2em;">Web-Native</div>
<div class="h2" style="display: inline-block; margin-top: 10px; padding-bottom: 15px; border-bottom: 3px solid lavender;">
(.dev)
</div>
<div class="flex-y-stretch lg--d-block">
<div>
<div style="max-width: 500px; margin-top: 25px; line-height: 1.6em; font-size: larger;">
<p>
An open community for advancing native web technologies, platform features and APIs
through <a class="a2" href="#tools">engineering</a> and <a class="a2" href="#evangelism">evangelism</a>
</p>
</div>
<ul class="flex-y-stretch" style="list-style: none; margin-top: 25px;">
<li>
<partials-slot template="components/link" name="cta" href="/about/" class="round-tile">
<span>About Web-Native</span>
</partials-slot>
</li>
</ul>
</div>
<div class="col-grows">
</div>
</div>
</div>
</header>
<partials-slot namespace name="main" scoped:id="main" class="pos-rel">
Default content...
</partials-slot>
<footer scoped:id="footer" class="section" style="border-top: 1px solid silver;">
© 2020 Oxford Harrison
</footer>
<script type="scoped">
if (this.namespace.main && route) {
this.namespace.main.bind(route.main);
}
</script>
</div>
</section>
</body>
</html>