-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.html
More file actions
99 lines (94 loc) · 4.25 KB
/
about.html
File metadata and controls
99 lines (94 loc) · 4.25 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
<!DOCTYPE html>
<html>
<head>
<meta name ="viewport" content="width=device-width, initial-scale=1.0">
<title>Visualizing Math</title>
<link rel="stylesheet" href="style.css">
<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=Poppins:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.1/css/all.min.css" integrity="sha512-5Hs3dF2AEPkpNAR7UiOHba+lRSJNeM2ECkwxUIxC1Q/FLycGTbNapWXB4tP889k5T5Ju8fs4b1P5z/iB4nMfSQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<section class="sub-header">
<nav>
<a href="index.html"><img src="images/logo.png"></a>
<div class="nav-links" id="navLinks">
<i class="fas fa-xmark" onclick="hideMenu()"></i>
<ul>
<li><a href="index.html">HOME</a></li>
<li><a href="about.html">ABOUT</a></li>
<li><a href="SignUp.html">SIGN UP</a></li>
<li id="login-nav"><a href="Login.html">LOG IN</a></li>
<li id="logout-nav" style="display: none;"><a href="#" onclick="logout()">LOG OUT</a></li>
<li><a href="Algebra.html">ALGEBRA</a></li>
<li><a href="Geometry.html">GEOMETRY</a></li>
</ul>
</div>
<i class="fas fa-bars" onclick="showMenu()"></i>
</nav>
<h1>About Us</h1>
</section>
<!-----About Us Content----->
<section class="about-us">
<div class="row">
<div class="about-col">
<h1>Who Are We?</h1>
<p>Our team is comprised of passionate members from the <b>Society of Women Engineers (SWE) at the University of Texas at Austin</b>, each dedicated to empowering students through free, high-quality educational resources. We are driven by a shared commitment to improving STEM education and making a positive impact on the learning experiences of middle and high school students.</p>
<a href="SignUp.html" class="hero-btn purple-btn">SIGN UP</a>
</div>
<div class="about-col">
<img src="images/about.jpg">
</div>
</div>
</section>
<!--------JavaScript for Toggle Menu-------->
<script>
var navLinks = document.getElementById("navLinks");
function showMenu(){
navLinks.style.right = "0";
}
function hideMenu(){
navLinks.style.right = "-200px";
}
</script>
<script>
// Check login status on page load
document.addEventListener("DOMContentLoaded", () => {
const token = localStorage.getItem('token') || sessionStorage.getItem('token');
if (token) {
document.getElementById("login-nav").style.display = "none";
document.getElementById("logout-nav").style.display = "inline-block";
}
});
// Logout function
function logout() {
localStorage.removeItem('token');
sessionStorage.removeItem('token');
alert("You have been logged out.");
window.location.href = 'Login.html'; // Redirect to Login page
}
</script>
<script type="module">
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { getAnalytics } from "firebase/analytics";
// TODO: Add SDKs for Firebase products that you want to use
// https://firebase.google.com/docs/web/setup#available-libraries
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {
apiKey: "AIzaSyAMPqEC7vmFh0Sm22KMmAVxaS_F7CI_YRM",
authDomain: "visualizing-math.firebaseapp.com",
projectId: "visualizing-math",
storageBucket: "visualizing-math.firebasestorage.app",
messagingSenderId: "128503124502",
appId: "1:128503124502:web:a5a5c786244e25c0af9b37",
measurementId: "G-7LGGDVLGLP"
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);
</script>
</body>
</html>