Skip to content

Commit 833a090

Browse files
committed
Added Logog + FAQ on docs
1 parent ce59f42 commit 833a090

2 files changed

Lines changed: 21 additions & 2 deletions

File tree

docs/css/main.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,14 @@ section {
248248
width: 60vw;
249249
max-width: 800px;
250250
}
251-
251+
h3 {
252+
text-align: center;
253+
}
254+
.sep {
255+
border-top: 1px solid #eee;
256+
padding-top: 20px;
257+
padding-bottom: 20px
258+
}
252259
.gist-meta {
253260
display: none;
254261
}

docs/index.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
</div>
6060
</nav>
6161
<div class="header">
62+
<img src="img/TheoremJS.svg" alt="TheoremJS Logo" height="200">
6263
<h1>TheoremJS</h1>
6364
<p>A Math framework for computation in JavaScript</p>
6465
</div>
@@ -76,7 +77,18 @@ <h2>Written in JavaScript ❤️</h2>
7677
all the math is done with precision.
7778
</p>
7879
</section>
79-
<section>
80+
<section class="sep">
81+
<h2 align="center">FAQ</h2>
82+
<h3>Does it fix the floating point precision bug in JS?</h3>
83+
<p>
84+
<b>Yes.</b> We use the <a href="http://mikemcl.github.io/bignumber.js/">BigNumber</a> library to fix that.
85+
</p>
86+
<h3>Can I graph some cool stuff with it? A bit like using matplotlib in Python?</h3>
87+
<p>
88+
<b>Yes, but</b> you won't be able to do it only with <b>TheoremJS</b>. I've built a small library for this, it's called <a href="https://arguiot.github.io/Descartes">Descartes</a>.
89+
</p>
90+
</section>
91+
<section class="sep">
8092
<h2>Installation</h2>
8193
<p>
8294
Are you conviced? If yes, open a terminal and write down the code below.

0 commit comments

Comments
 (0)