Skip to content

Commit 989e0de

Browse files
committed
test removing _self
1 parent f70f17f commit 989e0de

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/components/landing/Navbar.tsx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,25 @@ export function Navbar() {
1919
<Disclosure as="nav">
2020
{({ open }) => (
2121
<>
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">
2424
<div className="absolute inset-y-0 left-0 flex items-center sm:hidden">
2525
{/* 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">
2727
<span className="absolute -inset-0.5" />
2828
<span className="sr-only">Open main menu</span>
2929
{open ? (
30-
<XIcon className="block h-6 w-6" aria-hidden="true" />
30+
<XIcon className="block w-6 h-6" aria-hidden="true" />
3131
) : (
32-
<MenuIcon className="block h-6 w-6" aria-hidden="true" />
32+
<MenuIcon className="block w-6 h-6" aria-hidden="true" />
3333
)}
3434
</Disclosure.Button>
3535
</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">
3838
<a href="/">
3939
<img
40-
className="h-8 w-auto"
40+
className="w-auto h-8"
4141
src="/assets/landing/stately-logo.svg"
4242
height="32"
4343
width="115"
@@ -59,7 +59,7 @@ export function Navbar() {
5959
</NavLink>
6060
))}
6161
</div>
62-
<div className="hidden lg:flex ml-8">
62+
<div className="hidden ml-8 lg:flex">
6363
<a
6464
href="https://discord.gg/xstate"
6565
className={classNames(
@@ -139,8 +139,8 @@ export function Navbar() {
139139
</div>
140140
</div>
141141

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">
144144
{navigation.map((item) => (
145145
<Disclosure.Button
146146
key={item.name}
@@ -228,7 +228,7 @@ function NavLink({
228228
children,
229229
isCurrent,
230230
href,
231-
target = '_self',
231+
target,
232232
}: {
233233
children: ReactNode;
234234
isCurrent?: boolean;
@@ -273,7 +273,7 @@ function NavMenuItem({ children, href }) {
273273
// TODO: use Docusaurus links
274274
{
275275
/* <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"
277277
to="/docs"
278278
> */
279279
}

0 commit comments

Comments
 (0)