-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
100 lines (100 loc) · 5.32 KB
/
index.html
File metadata and controls
100 lines (100 loc) · 5.32 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
<!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="description" content="NASA's Astronomy Picture of the Day - Daily space images and explanations from NASA" />
<meta name="keywords" content="NASA, APOD, astronomy, space, science, daily space image, astronomy picture of the day" />
<meta name="author" content="Bobby Asakawa" />
<meta name="theme-color" content="#000000" />
<meta name="robots" content="index, follow" />
<meta property="og:title" content="NASA's Astronomy Picture of the Day" />
<meta property="og:description" content="Daily space images and explanations from NASA" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://boobeh123.github.io/APOD-NASA/" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:creator" content="@boobeh123" />
<meta name="twitter:title" content="NASA's Astronomy Picture of the Day" />
<meta name="twitter:description" content="Daily space images and explanations from NASA" />
<link rel="canonical" href="https://boobeh123.github.io/APOD-NASA/" />
<title>NASA's Astronomy Picture of the Day</title>
<!-- Preload critical assets -->
<link rel="preload" href="./public/style.css" as="style">
<link rel="preload" href="./public/main.js" as="script">
<!-- Favicon -->
<link rel="icon" type="image/svg+xml" href="./public/favicon/favicon.svg">
<link rel="alternate icon" type="image/png" href="./public/favicon/favicon-32x32.png">
<!-- Font awesome icons -->
<script src="https://kit.fontawesome.com/9f91d488b5.js" crossorigin="anonymous"></script>
<!-- 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=Lato:wght@100&family=Roboto:wght@100;400;700&display=swap" rel="stylesheet">
<!-- External CSS -->
<link rel="stylesheet" href="./public/style.css">
<!-- Structured Data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebApplication",
"name": "NASA's Astronomy Picture of the Day",
"description": "Daily space images and explanations from NASA",
"url": "https://boobeh123.github.io/APOD-NASA/",
"applicationCategory": "ScienceApplication",
"operatingSystem": "Any",
"author": {
"@type": "Person",
"name": "Bobby Asakawa",
"url": "https://bobby-asakawa.netlify.app/"
}
}
</script>
</head>
<body>
<div class="background-image" role="img" aria-label="NASA Astronomy Picture of the Day">
<div class="container">
<header>
<div class="logo">
<a href="index.html" aria-label="Return to home page">
<h1>NASA's</h1>
<h2>Photo of that Day</h2>
</a>
</div>
<button type="button" class="randomBtn" aria-label="Get random NASA image">Random Date</button>
</header>
<main>
<div class="error-message" role="alert" aria-live="polite"></div>
<article class="apod-content">
<section class="explanation-container hidden" aria-labelledby="explanation-title">
<div class="explanation-header">
<span class="date-container">Date: <span class="date" aria-label="Image date"></span></span>
<span class="copyright-container">© <span class="copyright" aria-label="Image copyright"></span></span>
<button class="toggle-explanation" aria-label="Toggle explanation" aria-expanded="false" aria-controls="explanation-content">
<i class="fas fa-chevron-down" aria-hidden="true"></i>
</button>
</div>
<div class="explanation-content" id="explanation-content" role="region" aria-label="Image explanation">
<p class="explanation"></p>
<iframe width="640" height="480" src="" class="hidden video" title="NASA video content" aria-label="NASA video content"></iframe>
<button class="download-btn" aria-label="Download current image">
<i class="fas fa-download" aria-hidden="true"></i> Download Image
</button>
</div>
</section>
</article>
</main>
<footer>
<div class="reel-container" role="region" aria-label="Recently viewed images">
<h3 id="reel-title">Recently viewed</h3>
<div class="reel" role="list" aria-labelledby="reel-title"></div>
</div>
</footer>
</div>
</div>
<div class="loading" role="status" aria-live="polite">
<i class="fas fa-spinner" aria-hidden="true"></i> Loading...
</div>
<script type='text/javascript' src="./public/main.js"></script>
</body>
</html>