-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
76 lines (76 loc) · 3 KB
/
index.php
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
<!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>
<title>webOS Archive</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link type="text/css" rel="stylesheet" media="screen" href="assets/landing-modern.css"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript" src="assets/billboard.js"></script>
<script>
function hoverImg(img) {
img.src = img.src.replace("-dark.png", "_roll-dark.png");
}
function leaveImg(img) {
img.src = img.src.replace("_roll-dark.png", "-dark.png");
}
</script>
<style>
.menu-wrapper
{
background: black !important;
}
.menu-ul a:hover {
color: black !important;
}
</style>
</head>
<body bgcolor="#101110">
<?php include('menu.php') ?>
<?php
//Figure out what protocol the client wanted
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on')
$protocol = "https";
else
$protocol = "http";
?>
<?php include('social-meta.php') ?>
<div id="margin" style="margin-top: 80px"></div>
<div id="container">
<div class="row">
<div class="column left">
<div id="billboard-name" class="prod-name">webOS</div>
<div id="billboard-short" class="short-desc">Super natural</div>
<div id="billboard-long" class="long-desc">Palm and HP's legacy mobile platform still works the way you do, so you can get more done.</div>
</div>
<div class="column right">
<a href="https://www.webosarchive.org/docs/thingstotry/"><img class="hero" id="billboard-image" src="assets/touchpad-billboard-cropped.png" alt="Jump into webOS!" title="Jump into webOS!"/></a>
</div>
</div>
</div>
<div class="links">
<a href="<?php echo $protocol; ?>://appcatalog.webosarchive.org"><img src="assets/icon_apps-dark.png" onmouseover="hoverImg(this)" onmouseout="leaveImg(this)" alt="webOS App Museum" title="webOS App Museum"></a>
<a href="<?php echo $protocol; ?>://sdk.webosarchive.org"><img src="assets/icon_developer-dark.png" onmouseover="hoverImg(this)" onmouseout="leaveImg(this)" alt="Restored webOS SDK" title="Restored webOS SDK"></a>
<a href="<?php echo $protocol; ?>://docs.webosarchive.org"><img src="assets/icon_support-dark.png" onmouseover="hoverImg(this)" onmouseout="leaveImg(this)" alt="Updated Help and Docs" title="Updated Help and Docs"></a>
</div>
<footer>
<?php include("legalese.php"); ?>
</footer>
<script>
billboardContents = [
{
image: "assets/touchpad-billboard-cropped.png",
name: "webOS",
short: "Super natural",
long: "Palm and HP's legacy mobile platform still works the way you do, so you can get more done."
},
{
image: "assets/archive-billboard.png",
name: "wOSA",
short: "webOS Lives!",
long: "webOSArchive (WOSA) is the unofficial repository of development efforts and archives for webOS."
}
]
window.setInterval("billboardRight()", 5500)
</script>
</body>
</html>