-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHome.html
More file actions
167 lines (145 loc) · 7.09 KB
/
Home.html
File metadata and controls
167 lines (145 loc) · 7.09 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
155
156
157
158
159
160
161
162
163
164
165
166
167
<!DOCTYPE html>
<html lang = "en">
<head>
<meta charset = "UTF-8">
<meta name="viewport" content = "widt=device-width, inital-scale=1">
<meta http-equiv="X-UA-Comptaible" content="ie=edge">
<title> Welcome Page - Tianna Calderon</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="animate.css">
<link rel="icon" type="image/png" href="images/favicon.png">
<script src="https://kit.fontawesome.com/bc16b6b3f0.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="grid-container">
<div class="item1">
<div class="topnav">
<a></a>
</div>
<div class = "header">
<h1 class="titlecard"> Welcome </h1>
</div>
<div class="topnav">
<a></a>
</div>
</div>
<div class="item2">
<div class = "column-side">
<div class = "dropdown">
<button class = "dropbtn"> <i class = "fas fa-certificate"> </i> </button>
<div class = "dropdown-content">
<li class = "b">
<a href = "about.html">
<i class = "fas fa-heart"></i> Who Am I?
</a>
</li>
<li class = "b">
<a href = "previousprojects.html">
<i class = "fas fa-folder"></i> Previous Projects
</a>
</li>
<li class = "b">
<a href = "hobbies.html">
<i class = "fas fa-star"></i> Cosmo Collection
</a>
</li>
</div>
</div>
</div>
</div>
<div class="item3">
<div class = "row">
<div class = "card">
<center><h2> <i>Fun</i> Facts about Space </h2>
<p> Did you know that our universe is made out of predominately carbon?</p>
<a>
<div class = "img-front" media="(prefers-color-scheme: light) or (prefers-color-scheme: no-preference)"></div>
</a>
<div class = "cardinfoborder">
<iframe width ="600" height="515" src="https://www.youtube.com/embed/f_iCr35TVmY?si=PSR3fTykWNqTAc9S" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen>
</iframe>
<h6 class = "text">
1st Image: Credits to @snippit-crickit
</h6>
</div>
</center>
</div>
</div>
</div>
<div class="item4">
<label class="switch">
<input type="checkbox">
<span class = "btn-toggle"></span>
</label>
<script>
const btn = document.querySelector(".btn-toggle");
const prefersLightScheme = window.matchMedia("(prefers-color-scheme: light)");
const currentTheme = localStorage.getItem("theme");
if (currentTheme == "dark") {
document.body.classList.toggle("dark-theme");
} else if (currentTheme == "light") {
document.body.classList.toggle("light-theme");
}
btn.addEventListener("click", function () {
if (prefersLightScheme.matches) {
document.body.classList.toggle("light-theme");
var theme = document.body.classList.contains("light-theme")
? "light"
: "dark";
} else {
document.body.classList.toggle("dark-theme");
var theme = document.body.classList.contains("dark-theme")
? "dark"
: "light";
}
localStorage.setItem("theme", theme);
});
</script>
</div>
<div class="item5">
</div>
<div class="item6">
<div class="bubbles">
</div>
<div class ="footer">
<h2>
<span class = "a">
<a class = "footer" href = "https://github.com/goldfishcrackers">
<i class ="fa fa-github" style="font-size:30px;"></i>
</a>
</span>
<span class = "a">
<a class = "footer" href = "https://www.facebook.com/nianticlabs/">
<i class ="fa fa-facebook-square" style="font-size:30px;"></i>
</a>
</span>
<span class = "a">
<a class = "footer" href = "https://www.youtube.com/nianticlabs">
<i class ="fa fa-youtube-play" style="font-size:30px;"></i>
</a>
</span>
<span class = "a">
<a class = "footer" href = "https://www.linkedin.com/public-profile/settings?trk=d_flagship3_profile_self_view_public_profile">
<i class="fa fa-linkedin-square" style="font-size:30px;"></i>
</a>
</span>
</h2>
<span class="a">
<a href = "about.html">
<h5> About </h5>
</a>
<a href = "legal.html">
<h5> Legal </h5>
</a>
<a href = "privacy.html">
<h5> Privacy </h5>
</a>
<a href = "help.html">
<h5> Help </h5>
</a>
</span>
</div>
</div>
</div>
</body>
</html>