aboutsummaryrefslogtreecommitdiff
path: root/src/partials/Header.astro
blob: 35a39aef72b06ff44bd8bb620969091370637879 (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
<header>
	<a href="/">Inicio</a>
	<a href="/trajectory">Trayectoria</a>
	<a href="/portfolio">Portfolio</a>
	<a href="/blog">Blog</a>
	<a href="/contact">Contacto</a>
</header>

<style lang="scss">
	@use "../../styles/shared.scss" 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>