File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ const { user } = await useAtproto()
77 <div class =" relative" >
88 <button
99 type =" button"
10- class =" relative flex items-center justify-center w-8 h-8 rounded-md transition-colors duration-200 hover:bg-bg-subtle focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50"
10+ class =" relative font-mono text-sm flex items-center justify-center w-fit rounded-md transition-colors duration-200 hover:bg-bg-subtle focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50"
1111 :aria-label =" ariaLabel"
1212 @click =" showModal = true"
1313 >
14- {{ user?.miniDoc?.handle || 'Login ' }}
14+ {{ user?.miniDoc?.handle || 'login ' }}
1515 </button >
1616
1717 <AuthModal v-model:open =" showModal" />
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ async function handleLogin() {
3737
3838 <!-- Modal -->
3939 <div
40- class =" relative w-full bg-bg border border-border rounded-lg shadow-xl max-h-[90vh] overflow-y-auto overscroll-contain"
40+ class =" relative w-full max-w-lg bg-bg border border-border rounded-lg shadow-xl max-h-[90vh] overflow-y-auto overscroll-contain"
4141 role =" dialog"
4242 aria-modal =" true"
4343 aria-labelledby =" auth-modal-title"
@@ -63,13 +63,13 @@ async function handleLogin() {
6363 Logged in as @{{ user.miniDoc.handle }}
6464 </p >
6565 </div >
66- <button
67- @click =" logout"
68- class =" w-full px-4 py-2 font-mono text-sm text-bg bg-fg rounded-md transition-all duration-200 hover:bg-fg/90 disabled:opacity-50 disabled:cursor-not-allowed focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50 focus-visible:ring-offset-2 focus-visible:ring-offset-bg"
69- >
70- Logout
71- </button >
7266 </div >
67+ <button
68+ @click =" logout"
69+ class =" w-full px-4 py-2 font-mono text-sm text-bg bg-fg rounded-md transition-all duration-200 hover:bg-fg/90 disabled:opacity-50 disabled:cursor-not-allowed focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50 focus-visible:ring-offset-2 focus-visible:ring-offset-bg"
70+ >
71+ Logout
72+ </button >
7373 </div >
7474
7575 <!-- Disconnected state -->
@@ -103,7 +103,17 @@ async function handleLogin() {
103103 What is an Atmosphere account?
104104 </summary >
105105 <div class =" mt-3" >
106- <p >TODO</p >
106+ <p >
107+ <span class =" font-bold" >npmx.dev</span > is an atmosphere application, meaning
108+ it's built on the
109+ <a
110+ href =" https://atproto.com"
111+ target =" _blank"
112+ class =" text-blue-400 hover:underline"
113+ >AT Protocol</a
114+ >. This means users can own their data and use one account for all atmosphere
115+ accounts.
116+ </p >
107117 </div >
108118 </details >
109119 </div >
You can’t perform that action at this time.
0 commit comments