-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
366 lines (361 loc) · 11.5 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
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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8" />
<title>GitEvents</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="/assets/css/main.css" rel="stylesheet" />
<script src="//unpkg.com/alpinejs" defer></script>
<script>
document.addEventListener('alpine:init', () => {
Alpine.store('gitevents', {
organization: 'cyprusjs',
manifest: {
name: 'GitEvents',
url: 'https://www.example.com',
description:
'GitEvents App will comment on issues, manage labels etc.',
redirect_url: 'https://github.com/marketplace/actions/gitevents',
hook_attributes: {
active: false,
url: ''
},
public: false,
default_permissions: {
issues: 'write',
members: 'write',
metadata: 'read',
pull_requests: 'write'
}
}
})
})
</script>
</head>
<body class="font-sans">
<header class="bg-yellow-300">
<div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8">
<div class="text-center">
<img src="assets/images/logo_black.svg" class="mx-auto w-32 h-32" />
<h1
class="
mt-1
text-4xl
font-extrabold
text-gray-900
sm:text-5xl sm:tracking-tight
lg:text-6xl
"
>
GitEvents
</h1>
<h2 class="max-w-xl mt-5 mx-auto text-xl text-gray-700">
Event Management meets Issue Ops
</h2>
</div>
</div>
</header>
<main class="container mx-auto">
<div class="bg-white">
<div
class="
max-w-7xl
mx-auto
py-16
px-4
sm:px-6
lg:py-24 lg:px-8 lg:grid lg:grid-cols-3 lg:gap-x-8
"
>
<div>
<h2 class="mt-2 text-3xl font-extrabold text-gray-900">
What is GitEvents?
</h2>
<p class="mt-4 text-lg text-gray-500">
GitHub Issues + Your Event = GitEvents. Successful event
management with the tools you know.
</p>
</div>
<div class="mt-12 lg:mt-0 lg:col-span-2">
<dl
class="
space-y-10
sm:space-y-0
sm:grid
sm:grid-cols-2
sm:grid-rows-2
sm:grid-flow-col
sm:gap-x-6
sm:gap-y-10
lg:gap-x-8
"
>
<div class="relative">
<dt>
<svg
class="absolute h-6 w-6 text-green-500"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
aria-hidden="true"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M5 13l4 4L19 7"
/>
</svg>
<p class="ml-9 text-lg leading-6 font-medium text-gray-900">
GitHub Issues
</p>
</dt>
<dd class="mt-2 ml-9 text-base text-gray-500">
GitEvents uses a GitHub Issues to create, track and manage
your Events.
</dd>
</div>
<div class="relative">
<dt>
<svg
class="absolute h-6 w-6 text-green-500"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
aria-hidden="true"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M5 13l4 4L19 7"
/>
</svg>
<p class="ml-9 text-lg leading-6 font-medium text-gray-900">
GitHub Actions
</p>
</dt>
<dd class="mt-2 ml-9 text-base text-gray-500">
GitEvents uses a single GitHub Action with various event
triggers.
</dd>
</div>
<div class="relative">
<dt>
<svg
class="absolute h-6 w-6 text-green-500"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
aria-hidden="true"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M5 13l4 4L19 7"
/>
</svg>
<p class="ml-9 text-lg leading-6 font-medium text-gray-900">
Automation
</p>
</dt>
<dd class="mt-2 ml-9 text-base text-gray-500">
Automatically propogate events out to Social Networks
(Facebook, Twitter, ...) and Event Management sites and keep
people informed (Tweets, Status Updates, Email).
</dd>
</div>
</dl>
</div>
</div>
</div>
<div class="bg-white">
<div
class="
max-w-7xl
mx-auto
text-center
py-12
px-4
sm:px-6
lg:py-16 lg:px-8
"
>
<h2
class="
text-3xl
font-extrabold
tracking-tight
text-gray-900
sm:text-4xl
"
>
<span class="block">Ready to get started?</span>
</h2>
<div class="mt-8 flex justify-center">
<div class="inline-flex rounded-md shadow">
<a
href="https://github.com/marketplace/actions/gitevents"
class="
inline-flex
items-center
justify-center
no-underline
px-5
py-3
border border-transparent
text-base
font-medium
rounded-md
text-white
bg-purple-600
hover:bg-purple-700
"
>
GitEvents Action on the GitHub Actions Marketplace
</a>
</div>
<div class="hidden ml-3 inline-flex">
<a
href="#github-app"
class="
inline-flex
items-center
justify-center
px-5
py-3
no-underline
border border-transparent
text-base
font-medium
rounded-md
text-purple-700
bg-purple-100
hover:bg-purple-200
"
>
Install the GitHub App
</a>
</div>
</div>
</div>
</div>
<section
class="hidden max-w-lg mx-auto bg-white github-app mt-8"
id="github-app"
>
<form
x-data
x-bind:action="'https://github.com/organizations/' + $store.gitevents.organization + '/settings/apps/new?state=' + Math.random().toString(36).replace(/[^a-z]+/g, '').substr(0, 6);"
method="post"
class="space-y-8 divide-y divide-gray-200"
>
<div class="space-y-8 divide-y divide-gray-200 sm:space-y-5">
<div>
<div>
<h3 class="text-lg leading-6 font-medium text-gray-900">
GitHub App Installation Helper
</h3>
<p class="mt-1 max-w-2xl text-sm text-gray-500">
Enter the Organization name (ie "<strong
x-data
x-text="$store.gitevents.organization"
></strong
>") where you want to install GitEvents. You will be
redirected to GitHub.com to create the App.
</p>
</div>
<div class="mt-6 sm:mt-5 space-y-6 sm:space-y-5">
<div
class="
sm:grid
sm:grid-cols-3
sm:gap-4
sm:items-start
sm:border-t
sm:border-gray-200
sm:pt-5
"
>
<label
for="username"
class="
block
text-sm
font-medium
text-gray-700
sm:mt-px sm:pt-2
"
>
Organization Name
</label>
<div class="mt-1 sm:mt-0 sm:col-span-2">
<div class="max-w-lg rounded-md shadow-sm">
<input
x-data
type="text"
name="organization"
id="organization"
x-bind:placeholder="$store.gitevents.organization"
class="
block
w-full
focus:ring-purple-500 focus:border-purple-500
min-w-0
shadow-0
outline-0
rounded-none
sm:text-sm
border-gray-300
"
/>
<input
x-data
:value="JSON.stringify($store.gitevents.manifest)"
type="hidden"
name="manifest"
id="manifest"
/>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="pt-5">
<div class="flex justify-end">
<button
type="submit"
class="
ml-3
inline-flex
justify-center
py-2
px-4
border border-transparent
shadow-sm
text-lg
font-medium
rounded-md
text-white
bg-purple-600
hover:bg-purple-700
focus:outline-none
focus:ring-2
focus:ring-offset-2
focus:ring-purple-500
"
>
Go to GitHub.com
</button>
</div>
</div>
</form>
</section>
</main>
</body>
</html>