generated from irina694/proj-webpage-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (46 loc) · 1.43 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<style>
body {
padding: 10%;
width: 80%;
margin: auto;
text-align: left;
font-weight: 300;
font-family: 'Open Sans', sans-serif;
color: #121212;
}
h1, h2, h3, h4 {
font-family: 'Source Sans Pro', sans-serif;
}
</style>
<title>CS 284A: Projects</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Source+Sans+Pro" rel="stylesheet">
</head>
<body>
<div align="middle">
<h1>CS184/284A Project Webpages</h1>
<a href="/proj1/index.html">Project 1: Rasterizer</a>
<br><br>
<a href="/proj2/index.html">Project 2: Mesh Edit</a>
<br><br>
<a href="/proj3-1/index.html">Project 3-1: Path Tracer</a>
<br><br>
<a href="/proj3-2/index.html">Project 3-2: Advanced Path Tracer</a>
<br><br>
<a href="/proj4/index.html">Project 4: Cloth Simulation</a>
</div>
</body>
<script>
var links = document.body.getElementsByTagName("a")
var a = window.location.href.indexOf(".io")
var repo_name = window.location.href.substring(a+3)
for(var i = 0; i < links.length; i++){
var link = links[i]
var actual_name = link.href.substring(link.href.indexOf(".io")+4)
link.href = repo_name + actual_name
}
</script>
</html>