File tree 3 files changed +22
-6
lines changed
3 files changed +22
-6
lines changed Original file line number Diff line number Diff line change 43
43
width : 100% ;
44
44
height : auto;
45
45
}
46
+
47
+ /*
48
+ * Navigation styles
49
+ */
50
+ .nav-item {
51
+ cursor : pointer;
52
+ }
53
+
54
+ .nav-item : after {
55
+ content : '' ;
56
+ @apply block border border-orange-600 transition-transform ease-in-out duration-200 scale-x-0;
57
+ }
58
+
59
+ .nav-item : hover : after {
60
+ @apply scale-x-100;
61
+ }
Original file line number Diff line number Diff line change @@ -30,22 +30,22 @@ pub fn Header() -> impl IntoView {
30
30
)
31
31
} >
32
32
<ul class="flex items-center gap-6 flex-col lg:flex-row lg:items-center" >
33
- <li>
33
+ <li class= "nav-item" >
34
34
<a href="https://rustlang-es.org/rust-book-es" target="_blank" >
35
35
"El Libro"
36
36
</a>
37
37
</li>
38
- <li>
38
+ <li class= "nav-item" >
39
39
<a href="/aprende" >"Aprende" </a>
40
40
</li>
41
- <li>
41
+ <li class= "nav-item" >
42
42
<a href="/comunidad" >"Comunidad" </a>
43
43
</li>
44
44
45
- <li>
45
+ <li class= "nav-item" >
46
46
<a href="/colaboradores" >"Colaboradores" </a>
47
47
</li>
48
- <li>
48
+ <li class= "nav-item" >
49
49
<a href="https://rustlang-es.org/blog/" target="_self" >
50
50
"Blog"
51
51
</a>
You can’t perform that action at this time.
0 commit comments