Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
belikedeep committed Mar 31, 2024
1 parent 675f90a commit 58960eb
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 29 deletions.
53 changes: 27 additions & 26 deletions src/components/NavigationDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,33 +71,34 @@ export function NavigationDropdown() {
>
<Menu className="h-5 w-5" />
</button>
{isOpen && (
<div
className={cn(
'pointer-events-auto absolute left-0 top-full z-[999] mt-2 w-48 min-w-[320px] translate-y-2.5 rounded-lg bg-slate-800 py-2 opacity-100 shadow-xl transition-all duration-100',
)}
>
{links.map((link) => (
<a
href={link.link}
target={link.isExternal ? '_blank' : undefined}
rel={link.isExternal ? 'noopener noreferrer' : undefined}
key={link.link}
className="group flex items-center gap-3 px-4 py-2.5 text-gray-400 transition-colors hover:bg-slate-700"
>
<span className="flex h-[40px] w-[40px] items-center justify-center rounded-full bg-slate-600 transition-colors group-hover:bg-slate-500 group-hover:text-slate-100">
<link.Icon className="inline-block h-5 w-5" />
</span>
<span className="flex flex-col">
<span className="font-medium text-slate-300 transition-colors group-hover:text-slate-100">
{link.label}
</span>
<span className="text-sm">{link.description}</span>
<div
className={cn(
'absolute pointer-events-none left-0 top-full z-[999] mt-2 w-48 min-w-[320px] -translate-y-1 rounded-lg bg-slate-800 py-2 opacity-0 shadow-xl transition-all duration-100',
{
'pointer-events-auto translate-y-2.5 opacity-100': isOpen,
},
)}
>
{links.map((link) => (
<a
href={link.link}
target={link.isExternal ? '_blank' : undefined}
rel={link.isExternal ? 'noopener noreferrer' : undefined}
key={link.link}
className="group flex items-center gap-3 px-4 py-2.5 text-gray-400 transition-colors hover:bg-slate-700"
>
<span className="flex h-[40px] w-[40px] items-center justify-center rounded-full bg-slate-600 transition-colors group-hover:bg-slate-500 group-hover:text-slate-100">
<link.Icon className="inline-block h-5 w-5" />
</span>
<span className="flex flex-col">
<span className="font-medium text-slate-300 transition-colors group-hover:text-slate-100">
{link.label}
</span>
</a>
))}
</div>
)}
<span className="text-sm">{link.description}</span>
</span>
</a>
))}
</div>
</div>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Eager Loading

Eager Loading helps you to load all your needed entities at once; i.e., all your child entities will be loaded at single database call. This can be achieved, using the Include method, which returns the related entities as a part of the query and a large amount of data is loaded at once.
Eager Loading helps you to load all your needed entities at once; i.e., all your child entities will be loaded at single database call. This can be achieved, using the Include method, which returs the related entities as a part of the query and a large amount of data is loaded at once.

## Lazy Loading

Expand Down
4 changes: 2 additions & 2 deletions src/data/roadmaps/docker/docker.json
Original file line number Diff line number Diff line change
Expand Up @@ -4186,7 +4186,7 @@
"x": "23",
"y": "52",
"properties": {
"controlName": "ext_link:roadmap.sh/devops"
"controlName": "ext_link:roadmap.sh/best-practices"
},
"children": {
"controls": {
Expand Down Expand Up @@ -4468,4 +4468,4 @@
},
"dependencies": [],
"projectID": "file:///Users/kamrify/Desktop/New%20Roadmaps/New%20Project%201.bmpr"
}
}

0 comments on commit 58960eb

Please sign in to comment.