Skip to content

Commit

Permalink
[ FIX ] Remoção de código duplicado
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorpsogarcia committed Dec 17, 2024
1 parent 77eb294 commit 46703ff
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,30 +72,15 @@ export function Header() {
<h1 className="text-xl h-full md:text-2xl">Práticas de Extensão</h1>
</div>
<div className="hidden flex-row items-center font-medium pb-1 text-sm md:flex">
{menuItems.map((item, index) => (
<a
className="p-2 px-4 rounded-sm hover:bg-white hover:text-black transition-colors"
href="#sobre"
key={index}
className="p-2 px-4 rounded-sm hover:bg-white hover:text-black transition-colors"
href={item.href}
>
O que são?
</a>
<a
className="p-2 px-4 rounded-sm hover:bg-white hover:text-black transition-colors"
href="#projetos"
>
Projeto
</a>
<a
className="p-2 px-4 rounded-sm hover:bg-white hover:text-black transition-colors"
href="#sobre-campus"
>
Sobre o Campus
</a>
<a
className="p-2 px-4 rounded-sm hover:bg-white hover:text-black transition-colors"
href="#contato"
>
Contato
{item.title}
</a>
))}
</div>
</div>
</header>
Expand Down

0 comments on commit 46703ff

Please sign in to comment.