-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
91 lines (86 loc) · 2.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Kinde - JS Starter kit</title>
<style>
[hidden] {
display: none !important;
}
</style>
</head>
<body>
<header>
<nav class="nav container">
<h1 class="text-display-3">KindeAuth</h1>
<div class="js-logged-out-view">
<button id="login" class="btn btn-ghost sign-in-btn">Sign in</button>
<button id="register" class="btn btn-dark">Sign up</button>
</div>
<div class="js-logged-in-view" hidden>
<div class="profile-blob">
<div hidden class="js-user-avatar avatar"></div>
<img
class="js-user-avatar-picture avatar"
alt="user profile avatar"
hidden
/>
<div>
<p class="js-user-name text-heading-2"></p>
<button id="logout" class="text-subtle">Sign out</button>
</div>
</div>
</div>
</nav>
</header>
<main>
<div class="container">
<div class="js-logged-out-view">
<div class="card hero">
<p class="text-display-1 hero-title">
Let's start authenticating <br />
with KindeAuth
</p>
<p class="text-body-1 hero-tagline">Configure your app</p>
<a
href="https://kinde.com/docs/sdks/javascript-sdk"
target="_blank"
rel="noreferrer"
class="btn btn-light btn-big"
>
Go to docs
</a>
</div>
</div>
<div class="js-logged-in-view" hidden>
<div class="card start-hero">
<p class="text-body-2 start-hero-intro">Woohoo!</p>
<p class="text-display-2">
Your authentication is all sorted.
<br />
Build the important stuff.
</p>
</div>
<section class="next-steps-section">
<h2 class="text-heading-1">Next steps for you</h2>
</section>
</div>
</div>
</main>
<footer class="footer">
<div class="container">
<strong class="text-heading-2">KindeAuth</strong>
<p class="footer-tagline text-body-3">
Visit our
<a class="link" href="https://kinde.com/docs"> help center </a>
</p>
<small class="text-subtle">
© 2023 KindeAuth, Inc. All rights reserved
</small>
</div>
</footer>
<script type="module" src="/src/main.ts"></script>
</body>
</html>