Skip to content

Commit

Permalink
Remove dropdown, as it has only one option
Browse files Browse the repository at this point in the history
  • Loading branch information
cmichi committed Jan 27, 2025
1 parent 3eca4b0 commit 9487de6
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions src/components/pg-inkubator/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { InkubatorLogo } from '../icons'
import { Link } from 'react-router-dom'
import { useUI } from '../../hooks'
import { Config } from './config'
import {BigCTA} from "../BigCTA";

Check failure on line 7 in src/components/pg-inkubator/Nav.tsx

View workflow job for this annotation

GitHub Actions / gh-release

A space is required after '{'

Check failure on line 7 in src/components/pg-inkubator/Nav.tsx

View workflow job for this annotation

GitHub Actions / gh-release

A space is required before '}'

Check failure on line 7 in src/components/pg-inkubator/Nav.tsx

View workflow job for this annotation

GitHub Actions / gh-release

Strings must use singlequote

export const Nav: React.FC = () => {
const { setShowSidebar } = useUI()
Expand All @@ -27,19 +28,13 @@ export const Nav: React.FC = () => {
Documentation
</Link>

<DropdownMenu
className="hidden lg:block"
title="Apply"
items={[
{
href: Config.grantsApplicationURL,
emphasized: 'Apply',
title: 'for an Ecosystem Grant',
},
]}
/>
<a href={Config.grantsApplicationURL}
className="hidden lg:block font-montserrat text-black/70 hover:text-black/90 dark:text-white/90 dark:hover:text-white"
>
Apply for an Ecosystem Grant
</a>
</ul>
</div>
</nav>
)
}
}

0 comments on commit 9487de6

Please sign in to comment.