-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcleared.html
More file actions
62 lines (61 loc) · 1.51 KB
/
Copy pathcleared.html
File metadata and controls
62 lines (61 loc) · 1.51 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Authentication Complete</title>
<style>
body {
margin: 0;
padding: 0;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background: #fafafa;
color: #222;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.container {
text-align: center;
padding: 2rem;
max-width: 420px;
}
h1 {
font-size: 1.8rem;
margin-bottom: 0.5rem;
font-weight: 600;
}
p {
font-size: 1rem;
line-height: 1.5;
opacity: 0.8;
}
.spinner {
margin: 2rem auto;
width: 32px;
height: 32px;
border: 3px solid #ddd;
border-top-color: #555;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
</style>
</head>
<body>
<div class="container">
<h1>Authentication Successful</h1>
<p>You may close this window or return to the application.</p>
<div class="spinner"></div>
</div>
<!-- Placeholder for future logic -->
<script>
// Example: capture query params, send message to opener, etc.
// const params = new URLSearchParams(window.location.search);
// window.opener?.postMessage({ type: "github-auth", data: Object.fromEntries(params) }, "*");
</script>
</body>
</html>