11'use client' ;
22
33import Button from '@/@abstract-ui/components/Button' ;
4+ import AbstractBadge from '@/components/AbstractBadge' ;
45import {
56 Card ,
67 CardContent ,
@@ -13,21 +14,33 @@ import { useSessionWizardState } from '@/hooks/useSessionWizardState';
1314import styles from '../styles.module.scss' ;
1415
1516export default function NotLoggedIn ( ) {
16- const { login } = useSessionWizardState ( ) ;
17+ const { login, isLoginPending } = useSessionWizardState ( ) ;
1718
1819 return (
1920 < div className = { styles . wrapper } >
2021 < Card >
21- < CardHeader gradient />
22- < CardContent className = { styles . content } >
23- < CardTitle > Create AGW Session Key</ CardTitle >
22+ < CardHeader gradient >
23+ < div className = { styles . badge } >
24+ < AbstractBadge />
25+ </ div >
26+ </ CardHeader >
27+ < CardContent className = { styles . loginContent } >
28+ < CardTitle > AGW MCP Server Onboarding</ CardTitle >
2429 < CardDescription >
25- Connect with Abstract Global Wallet to configure and create a scoped session key.
30+ Connect your Abstract Global Wallet to finish AGW MCP Server setup for local tools.
31+ After login, you will choose a scoped session policy and create a session for secure
32+ automated actions. This flow only configures MCP access for this machine.
2633 </ CardDescription >
2734 </ CardContent >
2835 < CardFooter className = { styles . footer } >
29- < Button className = { styles . footerButton } height = "40" variant = "primary" onClick = { login } >
30- Connect with Abstract
36+ < Button
37+ className = { styles . footerButton }
38+ height = "40"
39+ variant = "primary"
40+ disabled = { isLoginPending }
41+ onClick = { login }
42+ >
43+ { isLoginPending ? 'Connecting wallet...' : 'Login with AGW' }
3144 </ Button >
3245 </ CardFooter >
3346 </ Card >
0 commit comments