-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
224 lines (184 loc) · 9.28 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
<!DOCTYPE html>
<!-- TODO : -->
<!-- * Replace all MathJax with KaTeX -->
<!-- * Make CourseMaker a better wysiwyg editor -->
<!-- TODO - DONE : -->
<!-- * Added meta description -->
<!-- * Add dark mode? -->
<html lang="en">
<head>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-163408633-2');
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PF58PDC');</script>
<!-- End Google Tag Manager -->
<meta charset="UTF-8">
<title>YMath</title>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"url": "https://ymath.io",
"logo": "https://ymath.io/favicon.png"
}
</script>
<meta name="description" content="Self-paced high school math material, explained to be understood."/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<meta property="og:image" content="/favicon.png">
<meta property="og:site_name" content="YMath.io">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<link rel="icon" href="favicon.png">
<link rel="stylesheet" href="header.css">
<link rel="stylesheet" href="fonts.css">
<link rel="stylesheet" href="style.css">
<link rel=”mask-icon” href="/mask-icon.svg" color=”#28a745">
<meta name="theme-color" content="#28a745">
</head>
<body class=" pb-0 mb-0" data-theme="light" >
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PF58PDC"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<script src="/menu.js"> //get the defaults </script>
<script>$(".masthead-sub").toggleClass("masthead-sub",false).toggleClass("masthead",true); // and change them!!
$(".mastTitle-sub").toggleClass("mastTitle-sub",false).toggleClass("mastTitle",true);
$(".mastTitle-sub-2").toggleClass("mastTitle-sub-2",false).toggleClass("mastTitle-2",true)</script>
<div class="jumbotron bg-light " id="frame1" style="min-height:90vh;">
<h1>A New Way to Learn</h1>
<p style="font-size: large;line-height: 160%;" class="mx-sm-5 mx-2 my-3 my-sm-5"> YMath is an organization determined to show learners how to think for themselves. We believe that math is a form of human logic, and our explanations of the way the world works is built upon that foundation.
<br/>Because of this, we feel that learning math only requires asking oneself the right questions. All of our course content aims to ask students the right questions, and fuel their thought process.</p>
<div class="d-flex flex-row rounded py-3 px-4 mx-sm-5 mx-2 my-3 my-sm-5" style="background-color: rgba(52, 243, 109, 0.4);" >
<div class="d-flex text-success mr-3">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi my-auto bi-megaphone-fill" viewBox="0 0 16 16">
<path d="M13 2.5a1.5 1.5 0 0 1 3 0v11a1.5 1.5 0 0 1-3 0v-11zm-1 .724c-2.067.95-4.539 1.481-7 1.656v6.237a25.222 25.222 0 0 1 1.088.085c2.053.204 4.038.668 5.912 1.56V3.224zm-8 7.841V4.934c-.68.027-1.399.043-2.008.053A2.02 2.02 0 0 0 0 7v2c0 1.106.896 1.996 1.994 2.009a68.14 68.14 0 0 1 .496.008 64 64 0 0 1 1.51.048zm1.39 1.081c.285.021.569.047.85.078l.253 1.69a1 1 0 0 1-.983 1.187h-.548a1 1 0 0 1-.916-.599l-1.314-2.48a65.81 65.81 0 0 1 1.692.064c.327.017.65.037.966.06z"/>
</svg>
</div>
<div class="flex">
<p class="my-auto font-weight-bolder">
Pssst! YMath will soon be launching a redesign! Preview the in-construction site at <a class="" href="https://dev.ymath.io/">https://dev.ymath.io/</a>.
</p>
</div>
</div>
<div class="d-flex"><h1 class="">Learn what you want</h1></div>
<div class="container bg-light" style="margin-top:20px; ">
<div class="row">
<div class="col-sm-4">
<div class="card special pop" >
<img src="exponents-and-more/E.jpg" class="card-img-top" alt="Exponents and More">
<div class="card-body">
<h5 class="card-title">Exponents and More</h5>
<p class="card-text">Master the most efficient computation since multiplication!</p>
<a href="exponents-and-more" class="btn text-light btn-success stretched-link">Learn now</a>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="card special pop">
<img src="trigonometry/T.jpg" class="card-img-top" alt="Trigonometry">
<div class="card-body">
<h5 class="card-title">Trigonometry</h5>
<p class="card-text">Learn one of the most powerful tools in geometry.</p>
<a href="trigonometry" class="btn text-light btn-success stretched-link">Learn now</a>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="card special pop" >
<img src="calculus/C.jpg" class="card-img-top" alt="Calculus">
<div class="card-body">
<h5 class="card-title">Calculus</h5>
<p class="card-text">Equip yourself with calculus - it's not scary.</p>
<a href="calculus" class="btn text-light btn-success stretched-link">Learn now</a>
</div>
</div>
</div>
</div>
</div>
<br><h1>Request what you don't see</h1><br>
<div class="card pop mx-auto col-10 no-def">
<div class="card-body col-12">
<div class="row-6">
<h3 class="card-title">Request a Course</h3>
<p class="card-text">Don't see a course you want? Request it! Genuine requests are honored within a week.</p>
</div>
<div class="row-6 text-center mt-4 " >
<a href="request-course" class="btn btn-success text-light mx-auto my-auto stretched-link">Request a Course</a>
</div>
</div>
</div>
</div>
<div class="page-footer">
<page-footer></page-footer>
</div>
<script src="/vue/Vue.js"></script>
<script src="/vue/pageFooter.js"></script>
</body>
<script>
$("#navbarNavAltMarkup").on('show.bs.collapse', function () {
if (window.scrollY < 170){
window.scrollTo(0,170);}
})
$(function() {
$('a.down').on('click', function(e) {
e.preventDefault();
$('html, body').animate({ scrollTop: $($(this).attr('href')).offset().top}, 500, 'linear');
});
});
</script>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/7.15.0/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/7.15.1/firebase-analytics.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.15.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.15.0/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.15.0/firebase-storage.js"></script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyA6bA3PlHiFGHB1CIWobuBUsEa9IQ7AL3I",
authDomain: "socrathematics.firebaseapp.com",
databaseURL: "https://socrathematics.firebaseio.com",
projectId: "socrathematics",
appId: "1:809638401187:web:9608adf73f25ced6d45b16",
measurementId: "G-2QEQZPCEZR"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();
const auth=firebase.auth();
const db = firebase.firestore();
// Get a reference to the storage service, which is used to create references in your storage bucket
var storage = firebase.storage();
</script>
<script type="text/javascript" src="/auth/auth.js"></script>
<script type="text/javascript">
document.querySelector("#sque").addEventListener("search", (e) => {
e.preventDefault();
var query = document.getElementById("sque");
const params = new URLSearchParams(location.search);
params.set('q', query.value);
console.log(params.toString());
document.location = "/search/?" + params.toString();
});
document.querySelector("#sbut").addEventListener("click", (e) => {
e.preventDefault();
var query = document.getElementById("sque");
const params = new URLSearchParams(location.search);
params.set('q', query.value);
console.log(params.toString());
document.location = "/search/?" + params.toString();
});
</script>
</html>