blob: e3054925682f58b8d27e59f74a37b6ce584c16ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
---
import t from "../i18n/es.json";
---
<header>
<a href="/">{t.header.home}</a>
<a href="/trajectory">{t.header.trajectory}</a>
<a href="/portfolio">{t.header.portfolio}</a>
<a href="/blog">{t.header.blog}</a>
<a href="/contact">{t.header.contact}</a>
</header>
<style lang="scss">
@use "../../styles/variables" as *;
header {
color: $accent;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 2rem;
padding: 2rem;
a {
text-decoration: none;
font-weight: 700;
font-size: 1.2rem;
text-transform: uppercase;
transition:
color 0.2s ease-in-out,
border-bottom-color 0.2s ease-in-out;
color: $accent;
line-height: 1;
border-bottom: 2px solid transparent;
&:hover {
color: $accentDark;
border-bottom-color: currentColor;
}
&.active {
color: $accentDark;
}
}
}
@media (max-width: $breakpointTablet) {
}
@media (min-width: $breakpointTablet) {
}
@media (min-width: $breakpointDesktop) {
}
</style>
|