-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
57 lines (53 loc) · 3.4 KB
/
index.html
File metadata and controls
57 lines (53 loc) · 3.4 KB
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>Pen Group</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">
</head>
<body class="theme-light" style="background-color: var(--background-2); 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>
<div style="position: absolute; top: 0px; left: 0px; width: 100%;height: 50%; background: var(--background-2); background: linear-gradient(0deg, var(--background-2) 0%, var(--background-1) 50%);">
<img src="https://pen-group.github.io/shared/images/pen.svg" style="position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);">
<h1 style="position: absolute; top: 10%; left: 50%; transform: translate(-50%, -50%);">Welcome to Pen Group</h1>
</div>
<div class="pageContent">
<h2 class="centered">Rendering For Everyone!</h2>
<p>Pen Group is a project by a group of people who want to make advanced rendering more accessible and understandable.<br><br>
Projects here are mainly written for the beginner's programming language Scratch!
Though some extend into GLSL and Javascript as well.<br><br>
Pen Group was originally started to hold the Pen+ Shader Editor.
</p>
<h2 class="centered">Why Scratch?</h2>
<p>Scratch is simple, yet it allows for so much freedom on the users end. Pen Group seeks to bridge the gap between graphics APIs, like webgl, and the blocks of scratch.</p>
<h2 class="centered">Want to contribute?</h2>
<p>Check out Pen Group's <a href="https://github.com/Pen-Group">Github</a>! There are a couple repositories there.</p><br><br>
<h2 class="centered">Done reading?<br>Check out some other pages here!</h2>
<div style="display: flex; width: 100%;">
<button style="width: 100%; margin: 8px;" onclick="window.location.href = 'https://pen-group.github.io/extensions/'">Extensions</button>
<button style="width: 100%; margin: 8px;" onclick="window.location.href = 'https://pen-group.github.io/Featured/'">Featured Projects</button>
<button style="width: 100%; margin: 8px;" onclick="window.location.href = 'https://pen-group.github.io/docs/'">Documentation</button>
<button style="width: 100%; margin: 8px;" onclick="window.location.href = 'https://pen-group.github.io/penPlus-shader-editor/Source/'">Shader Editor</button>
<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>
</div>
</div>
</body>
</html>