Skip to content

Commit

Permalink
Update navigation bar
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanalemunioz committed Nov 21, 2024
1 parent cb19a56 commit 1a22510
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions public/images/icons/discord-outline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 11 additions & 9 deletions src/components/main-navigation-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,25 @@ export function MainNavigationMenu() {
<NavigationMenuItem>
<NavigationMenuTrigger>Recursos</NavigationMenuTrigger>
<NavigationMenuContent>
<ul className="grid w-[200px] gap-3 p-4 md:grid-cols-1">
<ListItem key="Blog" {...{
title: "Blog",
href: "/blog",
icon: "/images/icons/graduation-cap.svg",
// description: 'dsadas',
}} />
<ul className="grid w-[400px] gap-3 p-4 md:grid-cols-1">
<ListItem key="Documentacion" {...{
title: "Documentacion",
href: siteConfig.links.docs,
icon: "/images/icons/newspaper.svg",
icon: "/images/icons/graduation-cap.svg",
description: "Paso a paso para conectarte a los web services",
external: true
}} />
<ListItem key="Blog" {...{
title: "Blog",
href: "/blog",
icon: "/images/icons/newspaper.svg",
description: "Tutoriales para integrar tu plataforma",
}} />
<ListItem key="Comunidad" {...{
title: "Comunidad",
href: siteConfig.links.discord,
icon: "/images/icons/discord-outline.svg",
description: "Un lugar para despejar tus dudas",
external: true
}} />
</ul>
Expand Down Expand Up @@ -155,7 +157,7 @@ const ListItem: React.FC<MenuItem> = ({
)}
>
<div className="flex items-center text-sm font-medium leading-none">
{icon && <img className="max-w-[20px] mr-3 align-middle" src={icon} alt={title} />}
{icon && <img className="max-w-[20px] mr-2 align-middle" src={icon} alt={title} />}

<span className="mr-2 align-middle">{title}</span>
{disabled ? (
Expand Down

0 comments on commit 1a22510

Please sign in to comment.