Skip to content

Commit

Permalink
Changed the credits page to an about page
Browse files Browse the repository at this point in the history
  • Loading branch information
FengchiW committed Apr 2, 2020
1 parent 7d75d27 commit ace6144
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ app.get('/pclass', function(req, res) {
res.sendFile(__dirname + '/public/clientsetup.html');
});

app.get('/credits', function(req, res) {
res.sendFile(__dirname + '/public/credits.html')
app.get('/about', function(req, res) {
res.sendFile(__dirname + '/public/about.html')
})

app.get('/createclass', function(req, res) {
Expand Down
1 change: 1 addition & 0 deletions public/credits.html → public/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ <h2 class="code-line" data-line-start=10 data-line-end=11>
your microphone and allow you to speak. You can choose to keep the question private or share it with the rest of your class.</p>
<h2 class="code-line" data-line-start=17 data-line-end=18>
<a id="How_to_use_it_17"></a>How to use it?</h2>
<iframe width="560" height="315" src="https://www.youtube.com/embed/Y5vTc2plfJM" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<p class="has-line-data" data-line-start="19" data-line-end="23">Head to <a href="https://class4corona.com">class4corona.com</a>.<br> If you are a teacher, click “Create Class”, and if you are a student, click “Join Class”.<br> Follow the process to host or join a session.<br> As a teacher, click “start stream”
to begin hosting your class. As a student, the stream should appear automatically when the teacher starts hosting.</p>
<h2 class="code-line" data-line-start=24 data-line-end=25>
Expand Down
5 changes: 5 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ <h1 class="h1">Join a class</h1>
<h1 class="h1">Create a class</h1>
</button>
</div>
<div class="pt-5">
<button type="button" class="btn btn-outline-secondary btn-md btn-block w-75 mx-auto" onclick="window.location.replace('/about');">
<h1 class="h1">Help / About</h1>
</button>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit ace6144

Please sign in to comment.