@@ -20,6 +20,7 @@ import {
2020 LuGraduationCap ,
2121 LuMessageCircle ,
2222 LuRocket ,
23+ LuUser ,
2324 LuUsers
2425} from 'react-icons/lu'
2526import slugify from 'slugify'
@@ -89,7 +90,7 @@ const HomePage = ({ hostname }: HomePageProps) => {
8990 < header className = "flex shrink-0 items-center justify-between px-4 py-3 sm:px-6 sm:py-4" >
9091 < div className = "flex items-center gap-2" >
9192 < DocsPlus size = { 28 } className = "sm:size-10" />
92- < span className = "text-base-content text-lg font-bold sm:text-2xl" > docs.plus</ span >
93+ < span className = "text-base-content mt-1 text-lg font-bold sm:text-2xl" > docs.plus</ span >
9394 </ div >
9495
9596 { isAuthServiceAvailable && (
@@ -111,13 +112,13 @@ const HomePage = ({ hostname }: HomePageProps) => {
111112 />
112113 </ button >
113114 ) : (
114- < Button
115- variant = "primary "
116- size = "sm "
117- className = "rounded-selector px-5 font-semibold"
118- onClick = { ( ) => setIsSignInOpen ( true ) } >
119- Sign in
120- </ Button >
115+ < button
116+ type = "button "
117+ className = "bg-primary/10 text-primary/50 hover:bg-primary/15 hover:text-primary/70 flex size-11 cursor-pointer items-center justify-center rounded-full transition-colors sm:size-12 "
118+ onClick = { ( ) => setIsSignInOpen ( true ) }
119+ aria-label = "Sign in" >
120+ < LuUser className = "size-5 sm:size-6" />
121+ </ button >
121122 ) }
122123 </ div >
123124 ) }
@@ -138,23 +139,23 @@ const HomePage = ({ hostname }: HomePageProps) => {
138139 < span className = "sm:hidden" > Open-source docs for</ span > { ' ' }
139140 < TypingText
140141 texts = { [
141- { text : 'teams' , icon : < LuUsers size = { 14 } /> , className : 'text-blue-600 ' } ,
142+ { text : 'teams' , icon : < LuUsers size = { 14 } /> , className : 'text-primary ' } ,
142143 {
143144 text : 'communities' ,
144145 icon : < LuGlobe size = { 14 } /> ,
145- className : 'text-violet-600 '
146+ className : 'text-accent '
146147 } ,
147148 {
148149 text : 'classrooms' ,
149150 icon : < LuGraduationCap size = { 14 } /> ,
150- className : 'text-emerald-600 '
151+ className : 'text-secondary '
151152 } ,
152- { text : 'projects' , icon : < LuRocket size = { 14 } /> , className : 'text-amber-600 ' } ,
153- { text : 'meetups' , icon : < LuCalendar size = { 14 } /> , className : 'text-rose-600 ' } ,
153+ { text : 'projects' , icon : < LuRocket size = { 14 } /> , className : 'text-warning ' } ,
154+ { text : 'meetups' , icon : < LuCalendar size = { 14 } /> , className : 'text-error ' } ,
154155 {
155156 text : 'organizations' ,
156157 icon : < LuBuilding2 size = { 14 } /> ,
157- className : 'text-teal-600 '
158+ className : 'text-info '
158159 }
159160 ] }
160161 className = "font-semibold"
@@ -173,7 +174,7 @@ const HomePage = ({ hostname }: HomePageProps) => {
173174 variant = "primary"
174175 shape = "block"
175176 size = "lg"
176- className = "mb-6 text-base font-bold shadow-sm sm:mb-8"
177+ className = "mb-6 text-base font-bold sm:mb-8"
177178 onClick = { ( ) => navigateToDocument ( ) }
178179 disabled = { isLoading }
179180 loading = { isLoading } >
@@ -188,9 +189,10 @@ const HomePage = ({ hostname }: HomePageProps) => {
188189 </ div >
189190
190191 { /* Document Name Input */ }
191- < div className = "flex flex-col gap-2 sm:flex-row sm:gap-3 " >
192+ < div className = "flex flex-col gap-3 sm:flex-row" >
192193 < TextInput
193194 wrapperClassName = "flex-1"
195+ size = "lg"
194196 label = { `${ hostname } /` }
195197 type = "text"
196198 required
@@ -208,7 +210,8 @@ const HomePage = ({ hostname }: HomePageProps) => {
208210 />
209211 < Button
210212 variant = "neutral"
211- className = "px-6"
213+ size = "lg"
214+ className = "w-full px-8 sm:h-auto sm:w-auto"
212215 onClick = { ( ) => navigateToDocument ( ) }
213216 disabled = { isLoading || ! documentName } >
214217 Open
0 commit comments