Changed logo size, added admin panel, added log in text, added robots.txt, added link to main site
This commit is contained in:
parent
2d72996d80
commit
49963119e8
|
|
@ -18,7 +18,7 @@
|
|||
<body>
|
||||
<header class="navbar">
|
||||
<a id="logo_full" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogo.png" width="200" height="40"/></a>
|
||||
<a id="logo_small" class="invisible" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogoshort.png" width="40" height="40"/></a>
|
||||
<a id="logo_small" class="invisible" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogoshort.png" width="45" height="40"/></a>
|
||||
<div class="navbarbuttoncontainer">
|
||||
<a class="navbarbutton" href="home.html">Home</a>
|
||||
<a class="navbarbutton" href="games.html">Games</a>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
<body>
|
||||
<header class="navbar">
|
||||
<a id="logo_full" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogo.png" width="200" height="40"/></a>
|
||||
<a id="logo_small" class="invisible" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogoshort.png" width="40" height="40"/></a>
|
||||
<a id="logo_small" class="invisible" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogoshort.png" width="45" height="40"/></a>
|
||||
<div class="navbarbuttoncontainer">
|
||||
<a class="navbarbutton" href="home.html">Home</a>
|
||||
<a class="navbarbutton" href="games.html">Games</a>
|
||||
|
|
|
|||
|
|
@ -14,11 +14,12 @@
|
|||
<link rel="icon" type="image/x-icon" href="MORBLOX.ico">
|
||||
<link rel="stylesheet" href="main.css">
|
||||
<script src="main.js"></script>
|
||||
<script src="index.html"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header class="navbar">
|
||||
<a id="logo_full" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogo.png" width="200" height="40"/></a>
|
||||
<a id="logo_small" class="invisible" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogoshort.png" width="40" height="40"/></a>
|
||||
<a id="logo_small" class="invisible" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogoshort.png" width="45" height="40"/></a>
|
||||
<div class="navbarbuttoncontainer">
|
||||
<a class="navbarbutton" href="home.html">Home</a>
|
||||
<a class="navbarbutton" href="games.html">Games</a>
|
||||
|
|
@ -45,6 +46,7 @@
|
|||
<h1>WELCOME TO MORBLOX!!!</h1>
|
||||
<p>MORBLOX is a new revival of ROBLOX.</p>
|
||||
<p><a href="signup.html">Sign Up</a> or <a href="login.html">Log In</a>
|
||||
<p><a href="https://morblox.us" id="morblox" class="invisible">Click Here</a> to go to the published site.</p>
|
||||
</div>
|
||||
<footer>
|
||||
<a href="privacy.html">Privacy Policy</a>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,38 @@
|
|||
window.addEventListener('resize', function() {
|
||||
var logo_full = document.getElementById("logo_full")
|
||||
var logo_small = document.getElementById("logo_small")
|
||||
var viewport_width = window.innerWidth;
|
||||
if (viewport_width < 900) {
|
||||
logo_full.className = "invisible";
|
||||
logo_small.className = "";
|
||||
} else {
|
||||
logo_small.className = "invisible";
|
||||
logo_full.className = "";
|
||||
}
|
||||
});
|
||||
window.onload = function() {
|
||||
var alert = document.getElementById("alert")
|
||||
var alerttext = document.getElementById("alerttext")
|
||||
var morblox = document.getElementById("morblox")
|
||||
if (window.location.hostname == "") {
|
||||
alerttext.innerHTML = "You are using this locally.";
|
||||
alert.className = "";
|
||||
morblox.className = "";
|
||||
} else if (window.location.hostname == "thomasluigi07.github.io") {
|
||||
alerttext.innerHTML = "You are using this on the github pages site.";
|
||||
alert.className = "";
|
||||
morblox.className = "";
|
||||
} else if (window.location.hostname == "MORBLOX.com") {
|
||||
alerttext.innerHTML = "You are using MORBLOX.com";
|
||||
alert.className = "";
|
||||
morblox.className = "";
|
||||
} else if (window.location.hostname == "morblox.us") {
|
||||
alerttext.innerHTML = "You are using morblox.us";
|
||||
alert.className = "";
|
||||
morblox.className = "invisible";
|
||||
} else {
|
||||
alerttext.innerHTML = `You are using an unknown site (${window.location.hostname})`;
|
||||
alert.className = "";
|
||||
morblox.className = "";
|
||||
}
|
||||
};
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
<body>
|
||||
<header class="navbar">
|
||||
<a id="logo_full" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogo.png" width="200" height="40"/></a>
|
||||
<a id="logo_small" class="invisible" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogoshort.png" width="40" height="40"/></a>
|
||||
<a id="logo_small" class="invisible" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogoshort.png" width="45" height="40"/></a>
|
||||
<div class="navbarbuttoncontainer">
|
||||
<a class="navbarbutton" href="home.html">Home</a>
|
||||
<a class="navbarbutton" href="games.html">Games</a>
|
||||
|
|
|
|||
7
main.css
7
main.css
|
|
@ -27,7 +27,7 @@
|
|||
}
|
||||
.navbarlogincontainer {
|
||||
position: relative;
|
||||
padding-right: 5px;
|
||||
padding-right: 10px;
|
||||
margin-right: 0px;
|
||||
margin-left: auto;
|
||||
float: right;
|
||||
|
|
@ -63,6 +63,7 @@
|
|||
display: none !important;
|
||||
}
|
||||
html {
|
||||
margin: 0px;
|
||||
font-family: "Helvetica";
|
||||
src: url('Helvetica.ttf') format('truetype'),;
|
||||
font-style: normal;
|
||||
|
|
@ -70,8 +71,8 @@ html {
|
|||
color: white;
|
||||
}
|
||||
body {
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
margin-top: 0px;
|
||||
}
|
||||
.content {
|
||||
|
|
|
|||
8
main.js
8
main.js
|
|
@ -2,7 +2,7 @@ window.addEventListener('resize', function() {
|
|||
var logo_full = document.getElementById("logo_full")
|
||||
var logo_small = document.getElementById("logo_small")
|
||||
var viewport_width = window.innerWidth;
|
||||
if (viewport_width < 700) {
|
||||
if (viewport_width < 900) {
|
||||
logo_full.className = "invisible";
|
||||
logo_small.className = "";
|
||||
} else {
|
||||
|
|
@ -13,20 +13,26 @@ window.addEventListener('resize', function() {
|
|||
window.onload = function() {
|
||||
var alert = document.getElementById("alert")
|
||||
var alerttext = document.getElementById("alerttext")
|
||||
var morblox = document.getElementById("morblox")
|
||||
if (window.location.hostname == "") {
|
||||
alerttext.innerHTML = "You are using this locally.";
|
||||
alert.className = "";
|
||||
morblox.className = "";
|
||||
} else if (window.location.hostname == "thomasluigi07.github.io") {
|
||||
alerttext.innerHTML = "You are using this on the github pages site.";
|
||||
alert.className = "";
|
||||
morblox.className = "";
|
||||
} else if (window.location.hostname == "MORBLOX.com") {
|
||||
alerttext.innerHTML = "You are using MORBLOX.com";
|
||||
alert.className = "";
|
||||
morblox.className = "";
|
||||
} else if (window.location.hostname == "morblox.us") {
|
||||
alerttext.innerHTML = "You are using morblox.us";
|
||||
alert.className = "";
|
||||
morblox.className = "invisible";
|
||||
} else {
|
||||
alerttext.innerHTML = `You are using an unknown site (${window.location.hostname})`;
|
||||
alert.className = "";
|
||||
morblox.className = "";
|
||||
}
|
||||
};
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head>
|
||||
<title>morblox.us</title>
|
||||
<meta content="morblox.us" property="og:title"/>
|
||||
<meta content="MORBLOX is a work in progress revival." property="og:description"/>
|
||||
<meta content="https://thomasluigi07.github.io/MORBLOX-WEBSITE/" property="og:url"/>
|
||||
<meta content="https://thomasluigi07.github.io/MORBLOX-WEBSITE/MORBLOXlogo.png" property="og:image"/>
|
||||
<meta content="#4b4b4b" data-react-helmet="true" name="theme-color"/>
|
||||
<meta name="apple-mobile-web-app-capable" content="yes"/>
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
|
||||
<link rel="apple-touch-icon" href="MORBLOX.png"/>
|
||||
<link rel="apple-touch-startup-image" href="MORBLOXSplash.png"/>
|
||||
<link rel="icon" type="image/x-icon" href="MORBLOX.ico">
|
||||
<link rel="stylesheet" href="main.css">
|
||||
<script src="main.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header class="navbar">
|
||||
<a id="logo_full" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogo.png" width="200" height="40"/></a>
|
||||
<a id="logo_small" class="invisible" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogoshort.png" width="45" height="40"/></a>
|
||||
<div class="navbarbuttoncontainer">
|
||||
<a class="navbarbutton" href="home.html">Home</a>
|
||||
<a class="navbarbutton" href="games.html">Games</a>
|
||||
<a class="navbarbutton" href="catalog.html">Catalog</a>
|
||||
<a class="navbarbutton" href="build.html">Build</a>
|
||||
<a class="navbarbutton" href="upgrade.html">Upgrade</a>
|
||||
<a class="navbarbutton" href="forum.html">Forum</a>
|
||||
</div>
|
||||
<div class="navbarlogincontainer">
|
||||
<p><a href="signup.html">Sign Up</a> or <a href="login.html">Log In</a>
|
||||
</div>
|
||||
</header>
|
||||
<header class="smallnav">
|
||||
<div class="smallnavbarbuttoncontainer">
|
||||
<a class="smallnavbarbutton" href="profile.html">Profile</a>
|
||||
<a class="smallnavbarbutton" href="avatar.html">Avatar</a>
|
||||
<a class="smallnavbarbutton" href="Settings.html">Settings</a>
|
||||
</div>
|
||||
</header>
|
||||
<header class="invisible" id="alert">
|
||||
<p class="alerttext" id="alerttext">ALERT TEXT</p>
|
||||
</header>
|
||||
<div class="content">
|
||||
<p>404 unauthorized</p>
|
||||
</div>
|
||||
<footer>
|
||||
<a href="privacy.html">Privacy Policy</a>
|
||||
<a href="tos.html">Terms of Service</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
<body>
|
||||
<header class="navbar">
|
||||
<a id="logo_full" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogo.png" width="200" height="40"/></a>
|
||||
<a id="logo_small" class="invisible" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogoshort.png" width="40" height="40"/></a>
|
||||
<a id="logo_small" class="invisible" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogoshort.png" width="45" height="40"/></a>
|
||||
<div class="navbarbuttoncontainer">
|
||||
<a class="navbarbutton" href="home.html">Home</a>
|
||||
<a class="navbarbutton" href="games.html">Games</a>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
<body>
|
||||
<header class="navbar">
|
||||
<a id="logo_full" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogo.png" width="200" height="40"/></a>
|
||||
<a id="logo_small" class="invisible" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogoshort.png" width="40" height="40"/></a>
|
||||
<a id="logo_small" class="invisible" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogoshort.png" width="45" height="40"/></a>
|
||||
<div class="navbarbuttoncontainer">
|
||||
<a class="navbarbutton" href="home.html">Home</a>
|
||||
<a class="navbarbutton" href="games.html">Games</a>
|
||||
|
|
|
|||
2
tos.html
2
tos.html
|
|
@ -18,7 +18,7 @@
|
|||
<body>
|
||||
<header class="navbar">
|
||||
<a id="logo_full" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogo.png" width="200" height="40"/></a>
|
||||
<a id="logo_small" class="invisible" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogoshort.png" width="40" height="40"/></a>
|
||||
<a id="logo_small" class="invisible" href="index.html"><img alt="MORBLOX Logo" src="MORBLOXlogoshort.png" width="45" height="40"/></a>
|
||||
<div class="navbarbuttoncontainer">
|
||||
<a class="navbarbutton" href="home.html">Home</a>
|
||||
<a class="navbarbutton" href="games.html">Games</a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue