-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpreview.html
More file actions
140 lines (122 loc) · 3.27 KB
/
Copy pathpreview.html
File metadata and controls
140 lines (122 loc) · 3.27 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Authentication Successful | another-meet</title>
<link
href="https://fonts.googleapis.com/css2?family=Product+Sans:wght@400;500;700&family=Inter:wght@400;500&display=swap"
rel="stylesheet">
<style>
:root {
--bg-color: #0f172a;
--card-bg: #1e293b;
--border-color: #334155;
--text-main: #f8fafc;
--text-muted: #94a3b8;
--accent: #10b981;
--accent-hover: #059669;
}
body {
font-family: 'Inter', -apple-system, sans-serif;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
margin: 0;
background: var(--bg-color);
color: var(--text-main);
}
.container {
text-align: center;
padding: 48px 40px;
max-width: 480px;
background: var(--card-bg);
border: 1px solid var(--border-color);
border-radius: 16px;
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}
.brand {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
margin-bottom: 8px;
}
.logo-icon {
width: 32px;
height: 32px;
}
.logo-text {
font-family: 'Product Sans', 'Inter', sans-serif;
font-weight: 700;
font-size: 26px;
letter-spacing: -0.5px;
color: var(--text-main);
}
.tagline {
font-size: 15px;
color: var(--text-muted);
margin: 0 0 36px 0;
line-height: 1.5;
}
.divider {
height: 1px;
background: var(--border-color);
margin: 0 0 36px 0;
}
h1 {
font-size: 22px;
font-weight: 500;
margin: 0 0 32px 0;
color: var(--accent);
}
.close-btn {
background-color: var(--accent);
color: #ffffff;
border: none;
padding: 12px 28px;
font-size: 15px;
font-weight: 500;
border-radius: 6px;
cursor: pointer;
font-family: 'Inter', sans-serif;
transition: background-color 0.2s;
}
.close-btn:hover {
background-color: var(--accent-hover);
}
.fallback-text {
display: none;
font-size: 13px;
color: var(--text-muted);
margin-top: 16px;
}
</style>
</head>
<body>
<div class="container">
<div class="brand">
<svg class="logo-icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16 16L22 20V4L16 8V16Z" fill="#34A853" />
<path d="M14 6H4C2.9 6 2 6.9 2 8V16C2 17.1 2.9 18 4 18H14C15.1 18 16 17.1 16 16V8C16 6.9 15.1 6 14 6Z"
fill="#4285F4" />
</svg>
<div class="logo-text">another-meet</div>
</div>
<p class="tagline">Manage meetings from your terminal.</p>
<div class="divider"></div>
<h1>✓ Authentication Successful</h1>
<button class="close-btn" onclick="closeWindow()">Close this window</button>
<p class="fallback-text" id="fallback">You can now safely close this tab.</p>
</div>
<script>
function closeWindow() {
window.close();
setTimeout(() => {
document.getElementById('fallback').style.display = 'block';
}, 300);
}
</script>
</body>
</html>