-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdestination.html
More file actions
154 lines (149 loc) · 4.81 KB
/
destination.html
File metadata and controls
154 lines (149 loc) · 4.81 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./assets/favicon-32x32.png"
/>
<link rel="stylesheet" href="./index.css" />
<!-- Google fonts -->
<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"
/>
<!-- Custom CSS -->
<link rel="stylesheet" href="../starter-code/index.css" />
<script src="./index.js" defer></script>
<title>Frontend Mentor | Space tourism website</title>
</head>
<body class="destination">
<a class="skip-to-content" href="#main">Skip to content</a>
<header class="primary-header flex">
<div>
<img
src="./assets/shared/logo.svg"
alt="space-tourism-logo"
class="logo"
/>
</div>
<button class="mobile-nav-toggle" aria-controls="primary-navigation">
<span class="sr-only" aria-expanded="false">Menu</span>
</button>
<nav>
<ul
id="primary-navigation"
class="primary-navigation underline-indicators numbered-title flex"
>
<li data-id="home">
<a class="text-white letter-spacing-3 fs-300" href="index.html"
><span style="color: var(--text-white)" aria-hidden="true"
>00</span
>
Home</a
>
</li>
<li class="active" data-id="destination">
<a
class="text-white letter-spacing-3 fs-300"
href="destination.html"
><span style="color: var(--text-white)" aria-hidden="true"
>01</span
>
Destination</a
>
</li>
<li data-id="crew">
<a class="text-white letter-spacing-3 fs-300" href="crew.html"
><span style="color: var(--text-white)" aria-hidden="true"
>02</span
>
Crew</a
>
</li>
<li data-id="technology">
<a class="text-white letter-spacing-3 fs-300" href="technology.html"
><span style="color: var(--text-white)" aria-hidden="true"
>03</span
>
Technology</a
>
</li>
</ul>
</nav>
</header>
<main id="main" class="grid-container grid-container--destination flow">
<h1 class="numbered-title">
<span aria-hidden="true">01</span> Pick your destination
</h1>
<picture class="destination-picture">
<source
srcset="./assets/destination/image-moon.webp"
type="image/webp"
/>
<img src="./assets/destination/image-moon.png" alt="the moon" />
</picture>
<div class="tab-list underline-indicators flex">
<button
aria-selected="false"
data-id="moon"
class="active tab ff-sans-cond letter-spacing-3 text-light uppercase"
>
moon
</button>
<button
aria-selected="false"
data-id="mars"
class="tab ff-sans-cond letter-spacing-3 text-light uppercase"
>
Mars
</button>
<button
aria-selected="false"
data-id="europa"
class="tab ff-sans-cond letter-spacing-3 text-light uppercase"
>
Europa</button
><button
aria-selected="false"
data-id="titan"
class="tab ff-sans-cond letter-spacing-3 text-light uppercase"
>
titan
</button>
</div>
<article class="destination-info">
<h2 class="fs-800 ff-serif uppercase">Moon</h2>
<p class="text-light">
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>
<h3
class="fs-200 ff-sans-cond uppercase letter-spacing-2 text-light"
>
Avg. distance
</h3>
<p class="ff-serif uppercase">384,400 km</p>
</div>
<div>
<h3
class="fs-200 ff-sans-cond uppercase letter-spacing-2 text-light"
>
Est. travel time
</h3>
<p class="ff-serif uppercase">3 days</p>
</div>
</div>
</article>
</main>
</body>
</html>