-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
33 lines (32 loc) · 879 Bytes
/
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
---
title: Reprose
authButtons: false
---
<div
class="p-10 flex flex-col gap-4 items-center bg-blue-500 text-white rounded-lg"
x-data="home"
>
<h1 class="text-2xl font-medium">
Reprose is a Markdown editor for GitHub
</h1>
<div>
<template x-if="!auth.check()">
<button
x-on:click="login()"
class="text-xl p-2 flex flex-row gap-2 items-center"
>
<span x-html="icons.login"></span>
Login via Github
</button>
</template>
<template x-if="auth.check()">
<button
x-on:click="logout()"
class="text-xl p-2 flex flex-row gap-2 items-center"
>
<span x-html="icons.logout"></span>
Logout
</button>
</template>
</div>
</div>