VELTRON.NET/legacy.html
2026-04-23 17:58:24 -04:00

155 lines
4.2 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="https://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 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)">Code</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>
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.
</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>Welcome to the Veltron Network!</p>
</center>
`;
}
function showMembers(event) {
if (event) event.preventDefault();
document.getElementById("content").innerHTML = `
<div class="text-containers-main-bg content-box">
<center><h2>Members</h2></center>
<p>Member list coming soon...</p>
</div>
`;
}
function showAbout(event) {
if (event) event.preventDefault();
const target = document.getElementById("content");
target.innerHTML = `<center><h2>Loading About...</h2></center>`;
fetch("about.html")
.then(res => {
if (!res.ok) throw new Error("Failed to load About");
return res.text();
})
.then(html => {
const temp = document.createElement("div");
temp.innerHTML = html;
const section = temp.querySelector("#aboutSection");
target.innerHTML = section
? section.innerHTML
: "<h2>About</h2><p>Missing #aboutSection in about.html</p>";
})
.catch(err => {
console.error(err);
target.innerHTML = "<h2>About</h2><p>Error loading page</p>";
});
}
function showCode(event) {
if (event) event.preventDefault();
document.getElementById("content").innerHTML = `
<div class="text-containers-main-bg content-box">
<center><h2>Code</h2></center>
<p>Project repositories and experiments will be listed here.</p>
</div>
`;
}
</script>
</body>
</html>