Skip to content

Commit 7a29808

Browse files
committed
Update index.js
1 parent cd665b3 commit 7a29808

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/pages/index.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { BigText, InlineCode, Paragraph, Widont } from '@/components/home/common'
22
import { Footer } from '@/components/home/Footer'
33
import { Hero } from '@/components/home/Hero'
4+
import MenuButton from '@/components/home/Menu'
45
import { Newsletter } from '@/components/home/Newsletter'
56
import { OpenSource } from '@/components/home/OpenSource'
67
import { Logo } from '@/components/Logo'
@@ -46,17 +47,17 @@ export default function Home() {
4647
</a>
4748
</NextLink>
4849
</div>
49-
<div className="flex items-center space-x-6 sm:space-x-10 ml-6 sm:ml-2">
50+
<div className="flex items-center space-x-4 sm:space-x-6 ml-6 sm:ml-2">
5051
<Search />
5152
<NextLink href="/docs">
52-
<a className="text-base leading-6 font-medium hover:text-gray-600 transition-colors duration-200 py-2">
53-
<span className="sm:hidden">Docs</span>
53+
<a className="hidden sm:inline text-base leading-4 font-medium hover:text-gray-600 px-4 py-3 rounded-md hover:bg-gray-100 transition-colors duration-200">
5454
<span className="hidden sm:inline">Documentation</span>
5555
</a>
5656
</NextLink>
57+
<MenuButton />
5758
<a
5859
href="https://github.com/javaistic/javaistic"
59-
className="text-gray-400 hover:text-gray-500 transition-colors duration-200"
60+
className="hidden sm:inline text-gray-400 hover:text-gray-500 transition-colors duration-200"
6061
>
6162
<span className="sr-only">Javaistic on GitHub</span>
6263
<svg width="24" height="24" viewBox="0 0 16 16" fill="currentColor">

0 commit comments

Comments
 (0)