@@ -3,7 +3,6 @@ import { SimpleDemo } from '@/components/demo/simple-demo';
33import { GetUserDataDemo } from '@/components/demo/get-user-data-demo' ;
44import { GetLoggingInStateDemo } from '@/components/demo/get-logging-in-state-demo' ;
55import { GetLoginInfoDemo } from '@/components/demo/get-login-info-demo' ;
6- import { Authenticated } from '@/components/elven-ui/authenticated' ;
76import { CardContent , Card } from '@/components/ui/card' ;
87
98const Home : NextPage = ( ) => {
@@ -56,79 +55,68 @@ const Home: NextPage = () => {
5655 </ div >
5756 </ CardContent >
5857 </ Card >
59- < Authenticated
60- spinnerCentered
61- fallback = {
62- < div className = "font-bold text-2xl text-center mt-8 " >
63- Connect your wallet!
58+ < SimpleDemo />
59+ < Card className = "mb-4" >
60+ < CardContent className = "mt-6" >
61+ < div className = "mb-4 " >
62+ Now let us see what other valuable tools are included.
6463 </ div >
65- }
66- >
67- < SimpleDemo />
68- < Card className = "mb-4" >
69- < CardContent className = "mt-6" >
70- < div className = "mb-4" >
71- Now let us see what other valuable tools are included.
72- </ div >
73- < div className = "mb-4" >
74- You can get the data of currently logged-in users and network
75- state. These are:
76- </ div >
77- < ul >
78- < li > - User data such as: address, nonce, balance.</ li >
79- < li > - User logging in state: pending, error, loggedIn.</ li >
80- < li >
81- - Login info state: loginMethod, expires, loginToken, signature.
82- </ li >
83- </ ul >
84- </ CardContent >
85- </ Card >
86- < div className = "flex mb-4 gap-4 flex-wrap justify-center flex-col lg:flex-row" >
87- < GetUserDataDemo />
88- < GetLoginInfoDemo />
89- < GetLoggingInStateDemo />
90- </ div >
91- < Card className = "mb-4" >
92- < CardContent className = "mt-6" >
93- < span > You will also get a couple of other tools, like:</ span >
94- < ul >
95- < li >
96- - Authenticated component - wrapper to check the auth state
97- </ li >
98- < li > - LoginComponent - component with 3 auth options</ li >
99- < li >
100- - LoginModalButton component - ready to use modal with
101- LoginComponent
102- </ li >
103- < li >
104- - You will get all tools from{ ' ' }
105- < a href = "https://www.useElven.com" target = "_blank" >
106- useElven
107- </ a >
108- </ li >
109- < li > - Preserved app state after hard refresh of the page</ li >
110- < li >
111- - And of course Shadcn UI, Tailwind CSS and NextJS framework
112- </ li >
113- </ ul >
114- </ CardContent >
115- </ Card >
116- < Card >
117- < CardContent className = "mt-6" >
118- < div > Better docs, and more improvements soon!</ div >
119- < div >
120- Check the{ ' ' }
121- < a
122- target = "_blank"
123- href = "https://github.com/xdevguild"
124- className = "underline"
125- >
126- xDevGuild
64+ < div className = "mb-4" >
65+ You can get the data of currently logged-in users and network state.
66+ These are:
67+ </ div >
68+ < ul >
69+ < li > - User data such as: address, nonce, balance.</ li >
70+ < li > - User logging in state: pending, error, loggedIn.</ li >
71+ < li >
72+ - Login info state: loginMethod, expires, loginToken, signature.
73+ </ li >
74+ </ ul >
75+ </ CardContent >
76+ </ Card >
77+ < div className = "flex mb-4 gap-4 flex-wrap justify-center flex-col lg:flex-row" >
78+ < GetUserDataDemo />
79+ < GetLoginInfoDemo />
80+ < GetLoggingInStateDemo />
81+ </ div >
82+ < Card className = "mb-4" >
83+ < CardContent className = "mt-6" >
84+ < span > You will also get a couple of other tools, like:</ span >
85+ < ul >
86+ < li > - Authenticated component - wrapper to check the auth state</ li >
87+ < li > - LoginComponent - component with 3 auth options</ li >
88+ < li >
89+ - LoginModalButton component - ready to use modal with
90+ LoginComponent
91+ </ li >
92+ < li >
93+ - You will get all tools from{ ' ' }
94+ < a href = "https://www.useElven.com" target = "_blank" >
95+ useElven
12796 </ a >
128- </ div >
129- </ CardContent >
130- </ Card >
131- </ Authenticated >
97+ </ li >
98+ < li > - Preserved app state after hard refresh of the page</ li >
99+ < li >
100+ - And of course Shadcn UI, Tailwind CSS and NextJS framework
101+ </ li >
102+ </ ul >
103+ </ CardContent >
104+ </ Card >
105+ < Card >
106+ < CardContent className = "mt-6" >
107+ < div > Better docs, and more improvements soon!</ div >
108+ < div >
109+ Check the{ ' ' }
110+ < a
111+ target = "_blank"
112+ href = "https://github.com/xdevguild"
113+ className = "underline"
114+ >
115+ xDevGuild
116+ </ a >
117+ </ div >
118+ </ CardContent >
119+ </ Card >
132120 </ >
133121 ) ;
134122} ;
0 commit comments