Revamped website + built API ;O

This commit is contained in:
Alex / Awex
2021-08-10 09:36:58 -04:00
parent b8ead176f9
commit 65fec1140b
40 changed files with 1100 additions and 11555 deletions
+121 -143
View File
@@ -1,148 +1,126 @@
<!DOCTYPE html>
<style>
html {
scroll-behavior: smooth;
}
hr {
border-color:black;
}
</style>
<html>
<head>
<title>Not Found >> Awex</title>
<!-- Stylesheets -->
<link rel="stylesheet" href="https://awexxx.xyz/assets/css/style-new.css">
<link rel="stylesheet" href="https://awexxx.xyz/assets/css/footer.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css">
<!-- Scripts -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.bundle.min.js"></script>
<script src="https://awexxx.xyz/assets/js/medalclips.js"></script>
<!-- Metadata -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" type="image/png" href="https://awexxx.xyz/assets/img/logo.png"/>
<meta content="Awexxx" property="og:title">
<meta content="Name's awex / Alex. I'm the main web developer for the PlagueCraft Network, as well as one of the owners." property="og:description">
<meta content="https://awexxx.xyz/404" property="og:url">
<meta content="https://awexxx.xyz/assets/img/logo.png" property="og:image">
<meta content="#9c2d1c" data-react-helmet="true" name="theme-color">
</head>
<body>
<div id="rc_logo">
<a href="#" title="Logo">AWEX</a>
</div>
<div class="rc_nav" id="centered_nav">
<a href="https://awexxx.xyz/" title="Home">Home</a>
<a href="/about" title="About">About</a>
<a href="/projects" title="Projects">Projects</a>
<a href="/tools" title="Tools">Tools</a>
<a href="javascript:void(0);" title="Menu" style="font-size:18px;" class="icon" onclick="myFunction()">&#9776;</a>
<head>
<title>Awex >> Not Found</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/footer.css">
<link rel="stylesheet" href="assets/css/nav.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css">
<!-- Scripts -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.bundle.min.js"></script>
<script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('.navbar-light .dmenu').hover(function () {
$(this).find('.sm-menu').first().stop(true, true).slideDown(150);
}, function () {
$(this).find('.sm-menu').first().stop(true, true).slideUp(105)
});
});
</script>
<!-- Meta Tags -->
<meta content="Awexxx" property="og:title">
<meta content="Hello! My name is Awex and I'm a developer doing dev stuff! This is my cool website!" property="og:description">
<meta content="https://awexxx.xyz/" property="og:url">
<meta content="#9c2d1c" data-react-helmet="true" name="theme-color">
</head>
<body>
<nav class="navbar navbar-expand-sm navbar-light bg-light">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo03" aria-controls="navbarTogglerDemo03" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo03">
<ul class="navbar-nav mr-auto mt-2 mt-lg-0">
<li class="nav-item">
<a class="nav-link">&ltAwex /><span class="sr-only"></span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="mailto:hi@awexxx.xyz">Contact</a>
</li>
<li class="nav-item dropdown dmenu">
<a class="nav-link dropdown-toggle" href="#" id="navbardrop" data-toggle="dropdown">
Tools
</a>
<div class="dropdown-menu sm-menu">
<a class="dropdown-item" href="https://mcw.awexxx.xyz">Medal Clip Webhook</a>
<a class="dropdown-item" href="/tools/discord">Discord Webhook Sender</a>
<!-- <a class="dropdown-item" href="#">yes</a> -->
</div>
<section class="home" style="background-image: url('../assets/img/mcw-code.png');">
</section>
<div>
<br />
<h3>Hey ho!</h3>
<p>Sorry, but you tried to access something that doesn't exist. Whether that was on the API or this site, I dunno, but it doesn't exist.<br>
Sowwy uwu (im so sorry)</p>
<div class="footer-basic">
<footer>
<div class="social"><a href="https://instagram.com/_awexx"><i class="icon ion-social-instagram"></i></a><a href="https://twitter.com/_awexxx"><i class="icon ion-social-twitter"></i></a><a href="https://github.com/awexx/"><i class="icon ion-social-github"></i></a></div>
<ul class="list-inline">
<li class="list-inline-item"><a href="mailto:alex@plaguecraft.xyz">Contact Me</a></li>
</ul>
<p class="copyright">Awexxx © 2021<br>
<div id="quote"></div>
<script>
var quoteArray = ['You forget a thousand things every day, you make sure this is one of em.', 'THE DAMN SEMI COLON', `console.log('go away')`, `if else if else if else if else if else if else if elsfi fisafhjdskflsdf`,
`HELP PLEASE IM STUFK IN THE FOOTER CHOSOING THESE RESPONSES PLEASDSJAIF DSAF`]
var rand = quoteArray[Math.random() * quoteArray.length | 0]
document.querySelector("#quote").innerHTML = "<p>" + rand + "</p>"
if(rand === `console.log('go away')`) {
console.log(`go away (no, this isn't a mistake, i actually hard coded this in lmao)\nYou found the easter egg :)`)
}
</script>
</footer>
</li>
<!-- <li class="nav-item dropdown dmenu">
<a class="nav-link dropdown-toggle" href="#" id="navbardrop" data-toggle="dropdown">
Dropdown link
</a>
<div class="dropdown-menu sm-menu">
<a class="dropdown-item" href="#">Link 1</a>
<a class="dropdown-item" href="#">Link 2</a>
<a class="dropdown-item" href="#">Link 3</a>
<a class="dropdown-item" href="#">Link 4</a>
<a class="dropdown-item" href="#">Link 5</a>
<a class="dropdown-item" href="#">Link 6</a>
</div>
</li> -->
</ul>
<div class="social-part">
<i class="fa fa-facebook" aria-hidden="true"></i>
<i class="fa fa-twitter" aria-hidden="true"></i>
<i class="fa fa-instagram" aria-hidden="true"></i>
</div>
</div>
</body>
</html>
<style>
.home {
width: 100%;
height: 102vh;
background-position: center top;
background-size:cover;
-webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
-moz-animation: fadein 2s; /* Firefox < 16 */
-ms-animation: fadein 2s; /* Internet Explorer */
-o-animation: fadein 2s; /* Opera < 12.1 */
animation: fadein 2s;
}
body {
background-color:#a3a3a3;
text-align:center;
}
body{
background-color:#878787;
text-align:center;
}
.button {
background-color: #4CAF50; /* Green */
border: none;
border-radius:25%;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
a{
color:black;
}
a:hover {
color:white;
}
i{
font-size:20px;
}
body p{
text-align:center;
color:#d4d4d4;
font-size:20px;
}
</nav>
h3 {
font-size:25px;
}
<br>
button[type=submit] {
background-color:gray;
color:#fff;
padding:12px 20px;
border:none;
border-radius:4px;
cursor:pointer
}
</style>
<script>
function myFunction() {
var x = document.getElementById("centered_nav");
if (x.className === "rc_nav") {
x.className += " responsive";
} else {
x.className = "rc_nav";
}
}
</script>
<h3>Uh oh! That page couldn't be found!</h3>
<p>Sorry, but the page you requested couldn't be found! Maybe check the URL and try again?</p>
<p><i>(it could also be awexs design but idk, that's not for me to figure out)</i></p>
<div class="footer-basic">
<footer>
<div class="social"><a href="https://instagram.com/_awexx"><i class="icon ion-social-instagram"></i></a><a href="https://twitter.com/lulawex"><i class="icon ion-social-twitter"></i></a><a href="https://github.com/awexxx/"><i class="icon ion-social-github"></i></a></div>
<ul class="list-inline">
<li class="list-inline-item"><a href="https://mcw.awexxx.xyz">Medal Clip Webhook</a></li>
</ul>
<p class="copyright">hi@awexxx.xyz<br>
</footer>
</div>
</body>
</html>
<style>
body {
background-color:#dedede;
text-align:center;
}
</style>