File tree Expand file tree Collapse file tree 4 files changed +46
-2
lines changed Expand file tree Collapse file tree 4 files changed +46
-2
lines changed Original file line number Diff line number Diff line change 10
10
color : $primary !important ;
11
11
}
12
12
13
+ .down-icon {
14
+ font-size : 0.75rem ;
15
+ }
16
+
13
17
// @media (min-width: 768px) {
14
18
// &:hover {
15
19
// .dropdown-menu {
61
65
}
62
66
}
63
67
}
68
+
64
69
.dropdown {
65
70
position : static ;
66
71
}
Original file line number Diff line number Diff line change 27
27
< li class ="nav-item ">
28
28
< a id ="kanvas " class ="nav-link " href ="/kanvas/ "> Kanvas</ a >
29
29
</ li >
30
- < li class ="nav-item ">
31
- < a id ="videos " class ="nav-link " href ="/videos "> Videos</ a >
30
+ < li class ="nav-item dropdown " data-bs-theme ="dark ">
31
+ < div
32
+ class ="nav-link "
33
+ id ="resourcesDropdown "
34
+ role ="button "
35
+ data-toggle ="dropdown "
36
+ >
37
+ Resources< span class ="down-icon "> ▼</ span >
38
+ </ div >
39
+ < div class ="dropdown-menu " aria-labelledby ="resourcesDropdown " style ="visibility:hidden; ">
40
+ < a
41
+ class ="dropdown-item "
42
+ href ="https://cloud.layer5.io/academy/overview "
43
+ target ="_blank "
44
+ >
45
+ < div class ="logo-container ">
46
+ < img
47
+ src ="/images/academy-icon.svg "
48
+ alt ="Meshery Logo "
49
+ />
50
+ </ div >
51
+ < span > Academy</ span >
52
+ </ a >
53
+ < div class ="dropdown-divider "> </ div >
54
+ < a
55
+ class ="dropdown-item "
56
+ href ="https://docs.layer5.io/videos "
57
+ target ="_blank "
58
+ >
59
+ < div class ="logo-container ">
60
+ < img
61
+ src ="/images/video-play.svg "
62
+ alt ="Meshery Logo "
63
+ />
64
+ </ div >
65
+ < span > Videos</ span >
66
+ </ a >
67
+ </ div >
32
68
</ li >
33
69
</ div >
34
70
< div class ="d-flex ms-auto ">
196
232
197
233
198
234
setupDropdown ( "productsDropdown" ) ;
235
+ setupDropdown ( "resourcesDropdown" ) ;
199
236
// console.log(window.location.pathname == "/cloud/");
200
237
// check if the current page ic cloud
201
238
let cur ;
You can’t perform that action at this time.
0 commit comments