Skip to content

Commit 58960eb

Browse files
update
1 parent 675f90a commit 58960eb

File tree

3 files changed

+30
-29
lines changed

3 files changed

+30
-29
lines changed

src/components/NavigationDropdown.tsx

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -71,33 +71,34 @@ export function NavigationDropdown() {
7171
>
7272
<Menu className="h-5 w-5" />
7373
</button>
74-
{isOpen && (
75-
<div
76-
className={cn(
77-
'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',
78-
)}
79-
>
80-
{links.map((link) => (
81-
<a
82-
href={link.link}
83-
target={link.isExternal ? '_blank' : undefined}
84-
rel={link.isExternal ? 'noopener noreferrer' : undefined}
85-
key={link.link}
86-
className="group flex items-center gap-3 px-4 py-2.5 text-gray-400 transition-colors hover:bg-slate-700"
87-
>
88-
<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">
89-
<link.Icon className="inline-block h-5 w-5" />
90-
</span>
91-
<span className="flex flex-col">
92-
<span className="font-medium text-slate-300 transition-colors group-hover:text-slate-100">
93-
{link.label}
94-
</span>
95-
<span className="text-sm">{link.description}</span>
74+
<div
75+
className={cn(
76+
'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',
77+
{
78+
'pointer-events-auto translate-y-2.5 opacity-100': isOpen,
79+
},
80+
)}
81+
>
82+
{links.map((link) => (
83+
<a
84+
href={link.link}
85+
target={link.isExternal ? '_blank' : undefined}
86+
rel={link.isExternal ? 'noopener noreferrer' : undefined}
87+
key={link.link}
88+
className="group flex items-center gap-3 px-4 py-2.5 text-gray-400 transition-colors hover:bg-slate-700"
89+
>
90+
<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">
91+
<link.Icon className="inline-block h-5 w-5" />
92+
</span>
93+
<span className="flex flex-col">
94+
<span className="font-medium text-slate-300 transition-colors group-hover:text-slate-100">
95+
{link.label}
9696
</span>
97-
</a>
98-
))}
99-
</div>
100-
)}
97+
<span className="text-sm">{link.description}</span>
98+
</span>
99+
</a>
100+
))}
101+
</div>
101102
</div>
102103
);
103104
}

src/data/roadmaps/aspnet-core/content/104-orm/100-entity-framework-core/103-lazy-eager-explicit-loading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Eager Loading
44

5-
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.
5+
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.
66

77
## Lazy Loading
88

src/data/roadmaps/docker/docker.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4186,7 +4186,7 @@
41864186
"x": "23",
41874187
"y": "52",
41884188
"properties": {
4189-
"controlName": "ext_link:roadmap.sh/devops"
4189+
"controlName": "ext_link:roadmap.sh/best-practices"
41904190
},
41914191
"children": {
41924192
"controls": {
@@ -4468,4 +4468,4 @@
44684468
},
44694469
"dependencies": [],
44704470
"projectID": "file:///Users/kamrify/Desktop/New%20Roadmaps/New%20Project%201.bmpr"
4471-
}
4471+
}

0 commit comments

Comments
 (0)