@@ -47,19 +47,19 @@ export default function LoginScreen() {
4747 eventSource . onmessage = ( e ) => {
4848 const data = JSON . parse ( e . data ) ;
4949 console . log ( 'Auth data received:' , data ) ;
50-
50+
5151 const { user, token } = data ;
52-
52+
5353 // Set authentication data
5454 setAuthId ( user . id ) ;
5555 setAuthToken ( token ) ;
56-
56+
5757 // Close the event source
5858 eventSource . close ( ) ;
59-
59+
6060 // Set authenticating state
6161 setIsAuthenticating ( true ) ;
62-
62+
6363 // Force a page refresh to trigger AuthProvider re-initialization
6464 window . location . reload ( ) ;
6565 } ;
@@ -90,8 +90,22 @@ export default function LoginScreen() {
9090 }
9191
9292 return (
93- < div className = "flex min-h-screen items-center justify-center bg-gray-50 p-4" >
94- < div className = "bg-white p-8 rounded-lg shadow-lg max-w-md w-full" >
93+ < div className = "flex flex-col gap-6 min-h-screen items-center justify-center p-4" >
94+ < div className = "flex flex-col gap-2 items-center justify-center" >
95+ < div className = "flex gap-4 justify-center items-center" >
96+ < Image
97+ src = "/logo.png"
98+ alt = "Group Charter Manager Logo"
99+ width = { 50 }
100+ height = { 50 }
101+ />
102+ < h1 className = "text-3xl font-bold" > Group Charter</ h1 >
103+ </ div >
104+ < p class = "text-gray-600" >
105+ Coordinate your group in the MetaState
106+ </ p >
107+ </ div >
108+ < div className = "bg-white/50 p-8 rounded-lg shadow-lg max-w-md w-full" >
95109 < div className = "text-center mb-8" >
96110 < h1 className = "text-2xl font-bold text-gray-900 mb-2" >
97111 Group Charter Manager
@@ -133,7 +147,7 @@ export default function LoginScreen() {
133147 Use your W3DS wallet to scan this QR code and authenticate
134148 </ p >
135149 </ div >
136-
150+
137151 < div className = "p-4 rounded-xl bg-gray-100 text-gray-700 mt-4" >
138152 You are entering Group Charter - a group charter management
139153 platform built on the Web 3.0 Data Space (W3DS)
@@ -142,7 +156,7 @@ export default function LoginScreen() {
142156 is stored in your own sovereign eVault, not on centralised
143157 servers.
144158 </ div >
145-
159+
146160 < Image
147161 src = "/W3DS.svg"
148162 alt = "W3DS Logo"
0 commit comments