-
Notifications
You must be signed in to change notification settings - Fork 0
/
destination.html
86 lines (77 loc) · 4.02 KB
/
destination.html
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Travolgi">
<link rel="icon" href="https://travolgi.it/favicon.ico" />
<title>Destination - Space tourism Grid layout & Vanilla Js</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;700&family=Bellefair&family=Barlow:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./css/style.css">
</head>
<body class="destination">
<a href="#main" class="skip-to-content">Skip to content</a>
<header class="primary-header flex">
<div>
<img src="./img/logo.svg" class="logo" alt="Space tourism logo">
</div>
<button class="mobile-nav-toggle" aria-controls="primary-nav" aria-expanded="false"><span class="sr-only">Menu</span></button>
<nav>
<ul id="primary-nav" data-visible="false" class="flex primary-nav underline-indicators">
<li>
<a href="index" class="ff-sans-cond uppercase txt-white ls-2">
<span aria-hidden="true">00</span>Home
</a>
</li>
<li class="active">
<a href="destination" class="ff-sans-cond uppercase txt-white ls-2">
<span aria-hidden="true">01</span>Destination
</a>
</li>
<li>
<a href="crew" class="ff-sans-cond uppercase txt-white ls-2">
<span aria-hidden="true">02</span>Crew
</a>
</li>
<li>
<a href="technology" class="ff-sans-cond uppercase txt-white ls-2">
<span aria-hidden="true">03</span>Technology
</a>
</li>
</ul>
</nav>
</header>
<main class="grid-container grid-container--destination flow" id="main">
<h1 class="numb-title"><span aria-hidden="true">01</span> Pick your destination</h1>
<img src="./img/destination/moon.webp" id="image" alt="Moon - Destination">
<div class="flex underline-indicators tab-list" role="tablist" aria-label="destinations">
<button aria-selected="true" role="tab" tabindex="0" aria-controls="moon" class="uppercase txt-accent ff-sans-cond ls-2">Moon</button>
<button aria-selected="false" role="tab" tabindex="-1" aria-controls="mars" class="uppercase txt-accent ff-sans-cond ls-2">Mars</button>
<button aria-selected="false" role="tab" tabindex="-1" aria-controls="europa" class="uppercase txt-accent ff-sans-cond ls-2">Europa</button>
<button aria-selected="false" role="tab" tabindex="-1" aria-controls="titan" class="uppercase txt-accent ff-sans-cond ls-2">Titan</button>
</div>
<article class="destination-info flow" tabindex="0" role="tabpanel">
<h2 id="name" class="fs-800 ff-serif uppercase fadein">Moon</h2>
<p id="description" class="fadein">See our planet as you’ve never seen it before. A perfect relaxing trip away to help regain perspective and come back refreshed. While you’re there, take in some history by visiting the Luna 2 and Apollo 11 landing sites.</p>
<div class="destination-meta flex">
<div class="fadein">
<h3 class="fs-200 uppercase txt-accent">Avg. distance</h3>
<p id="distance" class="ff-serif uppercase">384,400 km</p>
</div>
<div class="fadein">
<h3 class="fs-200 uppercase txt-accent">Est. travel time</h3>
<p id="travel" class="ff-serif uppercase">3 days</p>
</div>
</div>
</article>
</main>
<div class="attribution">
<p>Developed by <a href="https://travolgi.it">Travolgi</a></p>
</div>
<script src="./js/navbar.js" defer></script>
<script src="./js/main.js" defer></script>
</body>
</html>