@@ -19,25 +19,25 @@ export function Navbar() {
19
19
< Disclosure as = "nav" >
20
20
{ ( { open } ) => (
21
21
< >
22
- < div className = "mx-auto max-w-7xl px-2 sm:px-6 lg:px-8" >
23
- < div className = "relative flex h-16 items-center justify-between" >
22
+ < div className = "px-2 mx-auto max-w-7xl sm:px-6 lg:px-8" >
23
+ < div className = "relative flex items-center justify-between h-16 " >
24
24
< div className = "absolute inset-y-0 left-0 flex items-center sm:hidden" >
25
25
{ /* Mobile menu button*/ }
26
- < Disclosure . Button className = "relative inline-flex items-center justify-center rounded-full p-2 text-white/60 hover:text-white focus:outline-none focus:ring-1 focus:ring-inset focus:ring-white" >
26
+ < Disclosure . Button className = "relative inline-flex items-center justify-center p-2 rounded-full text-white/60 hover:text-white focus:outline-none focus:ring-1 focus:ring-inset focus:ring-white" >
27
27
< span className = "absolute -inset-0.5" />
28
28
< span className = "sr-only" > Open main menu</ span >
29
29
{ open ? (
30
- < XIcon className = "block h -6 w -6" aria-hidden = "true" />
30
+ < XIcon className = "block w -6 h -6" aria-hidden = "true" />
31
31
) : (
32
- < MenuIcon className = "block h -6 w -6" aria-hidden = "true" />
32
+ < MenuIcon className = "block w -6 h -6" aria-hidden = "true" />
33
33
) }
34
34
</ Disclosure . Button >
35
35
</ div >
36
- < div className = "flex flex-1 items-center justify-center sm:items-stretch sm:justify-start" >
37
- < div className = "flex flex-shrink-0 items-center " >
36
+ < div className = "flex items-center justify-center flex-1 sm:items-stretch sm:justify-start" >
37
+ < div className = "flex items-center flex-shrink-0" >
38
38
< a href = "/" >
39
39
< img
40
- className = "h-8 w-auto"
40
+ className = "w-auto h-8 "
41
41
src = "/assets/landing/stately-logo.svg"
42
42
height = "32"
43
43
width = "115"
@@ -59,7 +59,7 @@ export function Navbar() {
59
59
</ NavLink >
60
60
) ) }
61
61
</ div >
62
- < div className = "hidden lg:flex ml-8" >
62
+ < div className = "hidden ml-8 lg:flex " >
63
63
< a
64
64
href = "https://discord.gg/xstate"
65
65
className = { classNames (
@@ -139,8 +139,8 @@ export function Navbar() {
139
139
</ div >
140
140
</ div >
141
141
142
- < Disclosure . Panel className = "sm:hidden bg-blue-850 rounded-md shadow-lg " >
143
- < div className = "space-y-1 px-2 py-3" >
142
+ < Disclosure . Panel className = "rounded-md shadow-lg sm:hidden bg-blue-850" >
143
+ < div className = "px-2 py-3 space-y-1 " >
144
144
{ navigation . map ( ( item ) => (
145
145
< Disclosure . Button
146
146
key = { item . name }
@@ -228,7 +228,7 @@ function NavLink({
228
228
children,
229
229
isCurrent,
230
230
href,
231
- target = '_self' ,
231
+ target,
232
232
} : {
233
233
children : ReactNode ;
234
234
isCurrent ?: boolean ;
@@ -273,7 +273,7 @@ function NavMenuItem({ children, href }) {
273
273
// TODO: use Docusaurus links
274
274
{
275
275
/* <Link
276
- className="bg-white rounded-full text-gray-500 px-4 py-2 "
276
+ className="px-4 py-2 text-gray-500 bg-white rounded-full "
277
277
to="/docs"
278
278
> */
279
279
}
0 commit comments