-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
185 lines (181 loc) · 6.9 KB
/
index.html
File metadata and controls
185 lines (181 loc) · 6.9 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A lightweight alternative to Raspberry Pi OS.">
<meta name="keywords" content="jostro,jostros,jostroos,jostro os,twister,raspberry pi os,raspbian,raspi,rpi">
<meta name="theme-color" content="#ef0a6a">
<meta property="og:site_name" content="Jostro OS">
<meta name="og:title" content="Home Page">
<meta name="og:description" content="A lightweight alternative to Raspberry Pi OS.">
<meta name="og:image" itemprop="image" content="https://jostroos.ml/icons/jostro.png">
<link rel="shortcut icon" href="icons/favicon.ico" sizes="48x48">
<link rel="bookmark" href="icons/favicon.ico">
<link href="common.css" rel="stylesheet" type="text/css">
<title>Jostro OS</title>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"url": "http://jostroos.ml",
"logo": "http://jostroos.ml/icons/jostro.png"
}
</script>
<style>
#main-container{
height: 100vh;
}
#logo-container{
padding-top: calc(36vh - 30px);
width: 100%;
text-align: center;
}
#text-logo, #slogan{
display: inline-block;
font-family: "Poppins";
color: transparent;
background: linear-gradient(-30deg, #b6359c, #ef0a6a);
-webkit-background-clip: text;
cursor: default;
}
#text-logo{
font-size: 60px;
line-height: 60px;
}
#slogan-container{
padding-top: 1.5%;
padding-left: 12%;
padding-right: 12%;
}
#slogan{
font-size: 22px;
line-height: 28px;
}
#download-container{
padding-top: 1.5%;
width: 100%;
text-align: center;
}
.buttons{
transition: 0.3s ease;
width: 200px;
height: 70px;
margin: 10px;
outline: none;
border: 0px solid transparent;
border-radius: 20px;
color: #ffffff;
font-size: 18px;
font-family: "Poppins";
cursor: pointer;
}
#download{
background-image: linear-gradient(-30deg, #b6359c, #ef0a6a);
}
#download:hover{
box-shadow: 0px 0px 12px #ef0a6a;
}
#discord{
background-image: linear-gradient(-30deg, #4e5d94, #7289da);
}
#discord:hover{
box-shadow: 0px 0px 12px #7289da;
}
#github{
/* background-image: linear-gradient(-30deg, #22272E, #2D333B); */
background-image: linear-gradient(-30deg, #0D1117, #161B22);
}
#github:hover{
box-shadow: 0px 0px 12px #0D1117;
}
@media screen and (max-width: 850px) {
#logo-container{
padding-top: calc(36vh - 60px);
}
header, #copyright{
background-color: transparent;
}
}
@media screen and (max-width: 620px) {
#logo-container{
padding-top: calc(26vh - 60px);
}
#slogan{
font-size: 18px;
line-height: 24px;
}
}
</style>
</head>
<body>
<div id="main-container">
<header>
<nav>
<ul id="bar">
<li><a id="nav-logo" href="https://jostroos.ml/"></a></li>
<li><a id="nav-home" class="now" href="index.html">Home</a></li>
<li><a id="nav-install" href="install.html">Install Instructions</a></li>
<li><a id="nav-screenshots" href="screenshots.html">Screenshots</a></li>
<li><a id="nav-about" href="about.html">About</a></li>
</ul>
</nav>
</header>
<div id="logo-container">
<div id="text-logo-container">
<span id="text-logo">Jostro</span>
</div>
<div id="slogan-container">
<span id="slogan">A lighter alternative to Raspberry Pi OS.</span>
</div>
</div>
<div id="download-container">
<button id="download" class="buttons" onclick="download()">Unsupported Browser</button>
<button id="discord" class="buttons" onclick="discord()">Join our Discord!</button>
<button id="github" class="buttons" onclick="github()">View our GitHub!</button>
</div>
<footer>
<p id="copyright">© 2021 Jostro Project. All Rights Reserved.</p>
</footer>
</div>
<script>
var alreadyDownloaded = false;
var secretNum = 0;
if (window.innerWidth <= 620){
document.getElementById("nav-install").innerHTML = "Install";
}
document.getElementById("download").innerHTML = "Download";
function download(){
if (!alreadyDownloaded){
if (confirm("This build has a broken combination of 32 and 64 bit packages. Please use at your own risk. Continue anyway?")){
window.location.href = "https://github.com/jostroOS/jostro/releases/download/1.1/jostroV1.1.img.xz";
document.getElementById("download").innerHTML = "Download Started!";
alreadyDownloaded = true;
}
}else{
document.getElementById("download").innerHTML = "Nope, be patient XD";
}
}
function discord(){
window.open("https://discord.gg/jr469efBZM");
}
function github(){
window.open("https://github.com/jostroOS");
}
document.getElementById("text-logo").onclick = function(){
secretNum += 1;
if (secretNum == 10){
document.getElementById("text-logo").innerHTML = "ortsoJ";
document.getElementById("main-container").style.transform = "scaleX(-1)";
document.getElementById("nav-logo").style.backgroundImage = "url('icons/jastra.png')";
document.getElementsByTagName("title")[0].innerHTML = "SO ortsoJ";
}
}
console.log("Jostro OS by JoJo Autoboy. Helping and testing by RPiNews. Artworks and website mainly by Fengzi.");
console.log("Just a simple credit, you know");
console.log("This website is built on Fengzi Design System");
console.log("Who knows what that means");
</script>
</body>
</html>