-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
246 lines (224 loc) · 8.59 KB
/
index.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
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- TITLE OF OUR BROWSER'S TAB -->
<title>Space Geeks</title>
<!-- GOOGLE FONT IMPORTS - HEADING -->
<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=Montserrat:wght@700&display=swap"
rel="stylesheet"
/>
<!-- GOOGLE FONT IMPORTS - BODY -->
<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=Roboto:wght@400;900&display=swap"
rel="stylesheet"
/>
<!-- IMPORT ICONS -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<!-- IMPORT OUR OWN STYLE SHEETS -->
<link rel="stylesheet" href="public/css/styles.css" />
<link rel="stylesheet" href="public/css/media_queries.css" />
<link rel="icon" type="image/x-icon" href="./public/assets/galaxy.ico" />
</head>
<body>
<nav class="txt-body txt-m">
<ul class="navigation-list">
<li><a href="#apod-container"> Home </a></li>
<li><a href="#planet-info-container"> Simulator </a></li>
<li><a href="#events"> Events </a></li>
<li><a href="#space-news"> News </a></li>
<li><a href="./image_gallery.html" target="_blank"> Images </a></li>
<li>
<a href="./solar_system_simulator" target="_blank">
Solar System Simulator
</a>
</li>
</ul>
</nav>
<!-- HEADER THAT THE USER SEES. A WELCOME MESSAGE WITH APOD -->
<header id="header-container" class="cover-screen img-overlay-container">
<!-- An empty rectangle for black shadow effect on bg image-->
<div class="cover-parent image-overlay"></div>
<!-- show main contents of the container -->
<div id="header-content" class="center-container center-flex">
<h1 class="txt-heading txt-xl">Welcome, Space Geek</h1>
</div>
</header>
<section id="apod-container" class="flex-container">
<div class="left img-card">
<img id="apod-img" src="" alt="APOD" />
</div>
<div id="apod-info" class="right card center-card">
<h1 class="txt-m" style="font-style: italic; color: rgb(19, 18, 18)">
Astronomical Picture of the Day (by NASA)
</h1>
<h1 id="apod-title" class="txt-heading txt-m">
Astronomical Picture of the Day
</h1>
<p id="apod-para" class="txt-body txt-m">
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Iste quas
illum, possimus sit mollitia accusantium in id reiciendis incidunt
consequatur laboriosam! Vero a error quos.
</p>
<a href="./image_gallery.html" class="txt-m btn secondary-bg"
>Open Image Gallery</a
>
</div>
</section>
<!-- A SECTION TO DISPLAY UPCOMING EVENTS -->
<section id="events" class="flex-container">
<div class="left card flex-container">
<h1 id="event-heading" class="txt-heading txt-l">
Select a Date from the Calendar
</h1>
<img id="event-img" src="" alt="" />
<p class="txt-body justify" id="event-para"></p>
<div id="events-btn-container" class="btn-flex-container">
<button
id="event-save-btn"
class="btn secondary-bg txt-body-bold txt-m hidden"
onclick="showBackendProgressAlertMessage()"
>
Save
</button>
<a
id="event-yt-btn"
class="txt-m txt-body-bold btn YTbtn hidden"
target="_blank"
onclick="showBackendProgressAlertMessage()"
>
<i class="fa-brands fa-youtube"></i>
</a>
</div>
</div>
<div id="events-calender" class="right light-bg txt-body txt-m">
<div id="date-variables" class="flex-container">
<label for="year">Year: </label>
<input type="number" id="year" min="2022" max="2030" value="2022" />
<label for="month">Month: </label>
<select id="month">
<option value="1">January</option>
<option value="2">February</option>
<option value="3">March</option>
<option value="4">April</option>
<option value="5">May</option>
<option value="6">June</option>
<option value="7">July</option>
<option value="8">August</option>
<option value="9">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
</select>
<button onclick="updateCalendar()" class="btn secondary-bg">
Update Calendar
</button>
</div>
<div id="calendar"></div>
</div>
</section>
<section id="space-news">
<div id="latest-news" class="card">
<h1 id="news-heading" class="txt-heading txt-l">
Stay Updated with Latest NEWS
</h1>
<div id="news-img-n-para">
<div class="credit-container">
<h1 id="news-credit" class="credit txt-heading"></h1>
<img id="news-image" alt="Space News Image" />
</div>
<div
id="news-description-container"
class="txt-body txt-m flex-container"
>
<p id="news-description"></p>
<a
id="open-latest-news-article"
href=""
class="btn secondary-bg"
onclick="showBackendProgressAlertMessage()"
>Open</a
>
</div>
</div>
</div>
<div id="space-news-container">
<div class="news card">
<h2 id="news-isro-heading" class="txt-heading txt-m">Title</h2>
<div class="credit-container">
<h4 id="news-isro-img-credit" class="credit txt-heading"></h4>
<img id="news-isro-img" alt="Space News Image" />
</div>
<p id="news-isro-para" class="txt-body">
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quibusdam
corporis cupiditate delectus tempora sed qui rem voluptatem deleniti
expedita iusto?
</p>
<a
href=""
target="_blank"
id="news-isro-btn"
class="btn secondary-bg txt-body"
onclick="showBackendProgressAlertMessage()"
>Open</a
>
</div>
<div class="news card">
<h2 id="news-nasa-heading" class="txt-heading txt-m">Title</h2>
<div class="credit-container">
<h4 id="news-nasa-img-credit" class="credit txt-heading"></h4>
<img id="news-nasa-img" alt="Space News Image" />
</div>
<p id="news-nasa-para" class="txt-body">
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quibusdam
corporis cupiditate delectus tempora sed qui rem voluptatem deleniti
expedita iusto?
</p>
<a
href=""
target="_blank"
id="news-nasa-btn"
class="btn secondary-bg txt-body"
onclick="showBackendProgressAlertMessage()"
>Open</a
>
</div>
<div class="news card">
<h2 id="news-spacex-heading" class="txt-heading txt-m">Title</h2>
<div class="credit-container">
<h4 id="news-spacex-img-credit" class="credit txt-heading"></h4>
<img id="news-spacex-img" alt="Space News Image" />
</div>
<p id="news-spacex-para" class="txt-body">
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quibusdam
corporis cupiditate delectus tempora sed qui rem voluptatem deleniti
expedita iusto?
</p>
<a
href=""
target="_blank"
id="news-spacex-btn"
class="btn secondary-bg txt-body"
onclick="showBackendProgressAlertMessage()"
>Open</a
>
</div>
</div>
</section>
<!-- CONNECT TO JAVASCRIPT FILES -->
<!-- import main script -->
<script src="public/js/script.js"></script>
</body>
</html>