192 lines
5.5 KiB
HTML
192 lines
5.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
|
|
<meta property="og:type" content="summary">
|
|
<meta property="og:site_name" content="MattTheTekie presents">
|
|
<meta property="og:title" content="The Veltron Network">
|
|
<meta property="og:description" content="The Veltron Network is a worldwide technology community.">
|
|
<meta property="og:image" content="images/favicon/banner.png">
|
|
<meta property="og:image:alt" content="Veltron Network">
|
|
<meta property="og:url" content="http://www.veltron.net/">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
<meta property="author" content="MattTheTekie + Veltron">
|
|
|
|
<title>Home - Veltron Network</title>
|
|
|
|
<link rel="stylesheet" href="css/legacy.css">
|
|
|
|
<link rel="icon" type="image/png" href="images/favicon/banner.png">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="images/favicon/banner.png">
|
|
<meta name="apple-mobile-web-app-title" content="VELTRON">
|
|
<link rel="canonical" href="index.html">
|
|
</head>
|
|
|
|
<body class="console-3ds">
|
|
|
|
<div id="console">
|
|
|
|
<!-- TOP SCREEN -->
|
|
<div class="screen top-screen">
|
|
<div id="header">
|
|
<h1>
|
|
<img src="http://www.veltron.net/images/site-banner.png" width="100%" height="100%">
|
|
</h1>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- HINGE -->
|
|
<div class="hinge"></div>
|
|
|
|
<!-- BOTTOM SCREEN -->
|
|
<div class="screen bottom-screen">
|
|
|
|
<!-- NAV -->
|
|
<div class="nav-categories">
|
|
<span>Veltron Legacy Portal</span>
|
|
|
|
<div class="nav-grid">
|
|
<a href="#" onclick="showHome(event)">Home</a>
|
|
<a href="#" onclick="showMembers(event)">Members</a>
|
|
<a href="#" onclick="showAbout(event)">About</a>
|
|
<a href="#" onclick="showCode(event)">Easter Egg</a>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- CONTENT -->
|
|
<div id="content" class="text-containers-main-bg content-box">
|
|
|
|
<img
|
|
src="images/digimon_thkh.1200-2533722281.jpg"
|
|
alt="Welcome image"
|
|
height="80%"
|
|
width="100%"
|
|
/>
|
|
|
|
<center>
|
|
<p>
|
|
<img
|
|
src="images/gifs/kirby19.gif"
|
|
class="home-img-1"
|
|
align="left"
|
|
alt="Kirby holding Hi!! sign"
|
|
/>
|
|
</p>
|
|
<p>
|
|
Welcome to the Veltron Network!<br>
|
|
Our corner of the internet is a unique and inclusive space to explore technology and much more.
|
|
We are pioneers in the world of FOSS.<br><br>Notice: The legacy browser service is based on the Nintendo DSi browser format. <br> Come and check us out on PC!
|
|
</p>
|
|
</center>
|
|
|
|
</div>
|
|
|
|
<!-- COUNTER -->
|
|
<center>
|
|
<span>You are visitor number:</span>
|
|
<span id="visitorCounter"></span>
|
|
</center>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script src="javascript/view-counter.js"></script>
|
|
|
|
<!-- PAGE SYSTEM -->
|
|
<script>
|
|
function showHome(event) {
|
|
if (event) event.preventDefault();
|
|
|
|
document.getElementById("content").innerHTML =
|
|
'<img src="images/digimon_thkh.1200-2533722281.jpg" width="100%" height="80%">' +
|
|
'<center>' +
|
|
'<p><img src="images/gifs/kirby19.gif" class="home-img-1" align="left" alt="Kirby"></p>' +
|
|
'<p>' +
|
|
'Welcome to the Veltron Network!<br>' +
|
|
'Our corner of the internet is a unique and inclusive space to explore technology and much more.<br>' +
|
|
'We are pioneers in the world of FOSS.' +
|
|
'</p>' +
|
|
'</center>';
|
|
}
|
|
|
|
function showMembers(event) {
|
|
if (event) event.preventDefault();
|
|
|
|
var target = document.getElementById("content");
|
|
target.innerHTML = "<center><h2>Loading Members...</h2></center>";
|
|
|
|
var xhr = new XMLHttpRequest();
|
|
xhr.open("GET", "members.html", true);
|
|
|
|
xhr.onreadystatechange = function () {
|
|
if (xhr.readyState === 4) {
|
|
if (xhr.status === 200) {
|
|
var temp = document.createElement("div");
|
|
temp.innerHTML = xhr.responseText;
|
|
|
|
var section = temp.querySelector("#homeSection");
|
|
|
|
if (!section) {
|
|
target.innerHTML = "<h2>Members</h2><p>Missing #homeSection</p>";
|
|
return;
|
|
}
|
|
|
|
target.innerHTML = section.innerHTML;
|
|
} else {
|
|
target.innerHTML = "<h2>Members</h2><p>Error loading page</p>";
|
|
}
|
|
}
|
|
};
|
|
|
|
xhr.send(null);
|
|
}
|
|
|
|
function showAbout(event) {
|
|
if (event) event.preventDefault();
|
|
|
|
var target = document.getElementById("content");
|
|
target.innerHTML = "<center><h2>Loading About...</h2></center>";
|
|
|
|
var xhr = new XMLHttpRequest();
|
|
xhr.open("GET", "about.html", true);
|
|
|
|
xhr.onreadystatechange = function () {
|
|
if (xhr.readyState === 4) {
|
|
if (xhr.status === 200) {
|
|
var temp = document.createElement("div");
|
|
temp.innerHTML = xhr.responseText;
|
|
|
|
var section = temp.querySelector("#aboutSection");
|
|
|
|
if (!section) {
|
|
target.innerHTML = "<h2>About</h2><p>Missing #aboutSection</p>";
|
|
return;
|
|
}
|
|
|
|
target.innerHTML = section.innerHTML;
|
|
} else {
|
|
target.innerHTML = "<h2>About</h2><p>Error loading page</p>";
|
|
}
|
|
}
|
|
};
|
|
|
|
xhr.send(null);
|
|
}
|
|
|
|
function showCode(event) {
|
|
if (event) event.preventDefault();
|
|
|
|
document.getElementById("content").innerHTML =
|
|
'<div class="text-containers-main-bg content-box">' +
|
|
'<center><h2>Easter Egg</h2></center>' +
|
|
'<center><a href="http://cdn.veltron.net/rickroll.gif">click me</a></center>' +
|
|
'<center><a href="http://cdn.veltron.net/rickroll3ds.mp4">click me (new 3ds users only)</a></center>' +
|
|
'</div>';
|
|
}
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|