Skip to content

Commit 2d19281

Browse files
committed
Fix text formatting & remove #toTop button
1 parent 27b48d9 commit 2d19281

File tree

4 files changed

+7
-56
lines changed

4 files changed

+7
-56
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
# OpenSUTD Landing Page
22
This repository houses the prototype of [OpenSUTD](https://opensutd.org/)'s about page.
3-
4-
## TODO
5-
- Add more content.

assets/css/style.css

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -195,32 +195,6 @@ html {
195195
color: #43485c;
196196
}
197197

198-
#toTop {
199-
height: 50px;
200-
width: 50px;
201-
display: none;
202-
position: fixed;
203-
bottom: 20px;
204-
right: 30px;
205-
z-index: 1000;
206-
border: none;
207-
outline: none;
208-
background-color: rgba(255, 114, 111, 0.65);
209-
color: white;
210-
cursor: pointer;
211-
border-radius: 50%;
212-
font-size: 2rem;
213-
box-shadow: 0 5px 20px rgba(255, 25, 80, 0.3);
214-
}
215-
216-
#toTop a {
217-
color: white;
218-
}
219-
220-
#toTop:hover {
221-
background-color: #5c4343;
222-
}
223-
224198
::-webkit-scrollbar {
225199
width: 8px;
226200
background-color: rgba(245, 245, 245, 0);

assets/js/main.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,3 @@ $(document).on("click", 'a[href^="#"]', function(event) {
3232
500
3333
);
3434
});
35-
36-
// When the user scrolls down 20px from the top of the document, show the scroll up button
37-
window.onscroll = function() {
38-
scrollFunction();
39-
};
40-
41-
function scrollFunction() {
42-
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
43-
document.getElementById("toTop").style.display = "block";
44-
} else {
45-
document.getElementById("toTop").style.display = "none";
46-
}
47-
}

index.html

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<!DOCTYPE html>
22
<!-- Curious chap, aren't you? 👀 -->
3-
<html lang="en-US">
3+
<html lang="en-US" prefix="og: http://ogp.me/ns#">
44
<head>
55
<meta charset="UTF-8">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no">
8-
<meta name="description" content="Home of OpenSUTD" />
8+
<meta name="description" property="og:description" content="Home of OpenSUTD" />
99
<meta content="Home of OpenSUTD" />
1010
<meta content="OpenSUTD" property="og:title" /><meta content="Home of OpenSUTD" property="twitter:title" />
11-
1211
<link rel="shortcut icon" href="images/opensutd.ico">
12+
<meta property="og:image" content="images/opensutd.ico" />
1313
<title>OpenSUTD</title>
1414
<meta name="description" content="This is our story." />
1515
<!-- <link rel="stylesheet" href="assets/css/bulma.min.css" integrity="sha256-vK3UTo/8wHbaUn+dTQD0X6dzidqc5l7gczvH+Bnowwk=" crossorigin="anonymous" /> -->
@@ -21,13 +21,6 @@
2121
<script src="assets/js/gitgraph.js"></script>
2222
</head>
2323
<body>
24-
<!-- Scroll Up Button -->
25-
<form action="#top">
26-
<button id="toTop" title="Go to top">
27-
<i class="fas fa-angle-up"></i>
28-
</button>
29-
</form>
30-
3124
<!-- Header -->
3225
<div class="header-wrapper" id="top">
3326
<section class="hero is-large">
@@ -234,7 +227,7 @@ <h1 class="title has-text-centered section-title">Team</h1>
234227
<h1 class="title has-text-centered name-title">Alexander Fonseca</h1>
235228
<p class="seperator-text">Events</p>
236229
<p>
237-
Loves presentations. Loves alcohol. Definitely presentations + alcohol (also guards houses)
230+
Loves presentations. Loves alcohol. Definitely presentations + alcohol. (Also guards houses.)
238231
</p>
239232
<br>
240233
<div style="text-align: center">
@@ -286,7 +279,7 @@ <h1 class="title has-text-centered section-title">Team</h1>
286279
<h1 class="title has-text-centered name-title">Chester Koh</h1>
287280
<p class="seperator-text">Contributor</p>
288281
<p>
289-
Yes he made an SUTD <a href="https://istdmc.opensutd.org/">Minecraft</a> server! Currently working on infosys+, cloud dev and memes
282+
Yes he made an SUTD <a href="https://istdmc.opensutd.org/">Minecraft</a> server! Currently working on infosys+, cloud dev and memes.
290283
</p>
291284
<br>
292285
<div style="text-align: center">
@@ -300,7 +293,7 @@ <h1 class="title has-text-centered name-title">Chester Koh</h1>
300293
<h1 class="title has-text-centered name-title">Caleb Foo</h1>
301294
<p class="seperator-text">Contributor</p>
302295
<p>
303-
In the midst of cooking up something for IAP'2020. Also, 3DC is now a Google Developer Club!
296+
In the midst of cooking up something for IAP 2020. Also, 3DC is now a Google Developer Club!
304297
</p>
305298
<br>
306299
<div style="text-align: center">
@@ -390,7 +383,7 @@ <h1 class="title has-text-centered section-title">Team</h1>
390383
<h1 class="title has-text-centered name-title">Dody Senputra</h1>
391384
<p class="seperator-text">Contributor</p>
392385
<p>
393-
Interested in product dev and robots, that's why he's in SOAR. Always open to collaborate if you want to create
386+
Interested in product dev and robots, that's why he's in SOAR. Always open to collaborate if you want to create.
394387
</p>
395388
<br>
396389
<div style="text-align: center">

0 commit comments

Comments
 (0)