-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (51 loc) · 2.22 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Featured</title>
<link rel="stylesheet" href="https://pen-group.github.io/shared/css/defaultCSS.css">
<link rel="stylesheet" href="https://pen-group.github.io/shared/css/themes.css">
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="programStyles.css">
<meta name="theme-color" content="#0fbd8c">
<meta property="og:title" content="Pen-Group">
<meta property="og:description" content="The website for Pen-Group">
<meta property="og:image" content="https://pen-group.github.io/docs/generalImages/logo.svg">
</head>
<body class="theme-light" style="transition: all 100ms;">
<div class="penPlus-topBar">
<img class="penPlus-themes" id="theme-button" src="https://pen-group.github.io/shared/images/moon.svg" alt="">
</div>
<h1 class="centered" style="margin-top: 48px;">Featured Projects!</h1>
<h3 class="centered">For all of those scratch projects that are made with Pen+ ❤️</h3>
<div class="pageContentSearch" id="searchHelpers">
<input type="text" name="Search" id="searchPageElements" placeholder="Type to Search">
Show:
<button typeSetter="">All</button>
<button typeSetter="Project">Projects</button>
<button typeSetter="Shader">Shaders</button>
</div>
<div class="pageContent" style="margin-top: 0px;" id="pageElements">
No Featured Projects Yet!
</div>
<script>
document.body.className = localStorage.getItem("theme") || "theme-dark";
document.getElementById("theme-button").onclick = () => {
switch (document.body.className) {
case "theme-light":
document.body.className = "theme-dark";
break;
default:
document.body.className = "theme-light";
break;
}
localStorage.setItem("theme", document.body.className)
}
</script>
<script src="script.js"></script>
<footer class="centered">
<p><a href="https://forms.gle/dKa3TJ93sUDtw4kV6">Submit project</a></p>
</footer>
</body>
</html>