Revamped website + built API ;O
This commit is contained in:
+2
-2
@@ -1,2 +1,2 @@
|
|||||||
assets/js/newHiveLookup.js
|
old
|
||||||
api
|
api/node_modules
|
||||||
@@ -1,148 +1,126 @@
|
|||||||
<!DOCTYPE html>
|
<style>
|
||||||
|
html {
|
||||||
|
scroll-behavior: smooth;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
border-color:black;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Not Found >> Awex</title>
|
<title>Awex >> Not Found</title>
|
||||||
<!-- Stylesheets -->
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="https://awexxx.xyz/assets/css/style-new.css">
|
<link rel="stylesheet" href="assets/css/style.css">
|
||||||
<link rel="stylesheet" href="https://awexxx.xyz/assets/css/footer.css">
|
<link rel="stylesheet" href="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="assets/css/nav.css">
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<!-- Scripts -->
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
|
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap" rel="stylesheet">
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.bundle.min.js"></script>
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css">
|
||||||
<script src="https://awexxx.xyz/assets/js/medalclips.js"></script>
|
|
||||||
<!-- Metadata -->
|
<!-- Scripts -->
|
||||||
<meta charset="utf-8">
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
||||||
<link rel="shortcut icon" type="image/png" href="https://awexxx.xyz/assets/img/logo.png"/>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.bundle.min.js"></script>
|
||||||
<meta content="Awexxx" property="og:title">
|
<script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
|
||||||
<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">
|
<script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
|
||||||
<meta content="https://awexxx.xyz/404" property="og:url">
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||||||
<meta content="https://awexxx.xyz/assets/img/logo.png" property="og:image">
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
|
||||||
<meta content="#9c2d1c" data-react-helmet="true" name="theme-color">
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
|
||||||
</head>
|
<script type="text/javascript">
|
||||||
<body>
|
$(document).ready(function () {
|
||||||
<div id="rc_logo">
|
$('.navbar-light .dmenu').hover(function () {
|
||||||
<a href="#" title="Logo">AWEX</a>
|
$(this).find('.sm-menu').first().stop(true, true).slideDown(150);
|
||||||
</div>
|
}, function () {
|
||||||
|
$(this).find('.sm-menu').first().stop(true, true).slideUp(105)
|
||||||
<div class="rc_nav" id="centered_nav">
|
});
|
||||||
<a href="https://awexxx.xyz/" title="Home">Home</a>
|
});
|
||||||
<a href="/about" title="About">About</a>
|
</script>
|
||||||
<a href="/projects" title="Projects">Projects</a>
|
|
||||||
<a href="/tools" title="Tools">Tools</a>
|
<!-- Meta Tags -->
|
||||||
<a href="javascript:void(0);" title="Menu" style="font-size:18px;" class="icon" onclick="myFunction()">☰</a>
|
<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"><Awex /><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>
|
</div>
|
||||||
|
</li>
|
||||||
<section class="home" style="background-image: url('../assets/img/mcw-code.png');">
|
<!-- <li class="nav-item dropdown dmenu">
|
||||||
</section>
|
<a class="nav-link dropdown-toggle" href="#" id="navbardrop" data-toggle="dropdown">
|
||||||
<div>
|
Dropdown link
|
||||||
<br />
|
</a>
|
||||||
|
<div class="dropdown-menu sm-menu">
|
||||||
<h3>Hey ho!</h3>
|
<a class="dropdown-item" href="#">Link 1</a>
|
||||||
<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>
|
<a class="dropdown-item" href="#">Link 2</a>
|
||||||
Sowwy uwu (im so sorry)</p>
|
<a class="dropdown-item" href="#">Link 3</a>
|
||||||
|
<a class="dropdown-item" href="#">Link 4</a>
|
||||||
<div class="footer-basic">
|
<a class="dropdown-item" href="#">Link 5</a>
|
||||||
<footer>
|
<a class="dropdown-item" href="#">Link 6</a>
|
||||||
<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>
|
</div>
|
||||||
<ul class="list-inline">
|
</li> -->
|
||||||
<li class="list-inline-item"><a href="mailto:alex@plaguecraft.xyz">Contact Me</a></li>
|
</ul>
|
||||||
</ul>
|
<div class="social-part">
|
||||||
<p class="copyright">Awexxx © 2021<br>
|
<i class="fa fa-facebook" aria-hidden="true"></i>
|
||||||
<div id="quote"></div>
|
<i class="fa fa-twitter" aria-hidden="true"></i>
|
||||||
<script>
|
<i class="fa fa-instagram" aria-hidden="true"></i>
|
||||||
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`,
|
</div>
|
||||||
`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>
|
|
||||||
</div>
|
</div>
|
||||||
|
</nav>
|
||||||
</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;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
<br>
|
||||||
font-size:25px;
|
|
||||||
}
|
|
||||||
|
|
||||||
button[type=submit] {
|
<h3>Uh oh! That page couldn't be found!</h3>
|
||||||
background-color:gray;
|
<p>Sorry, but the page you requested couldn't be found! Maybe check the URL and try again?</p>
|
||||||
color:#fff;
|
|
||||||
padding:12px 20px;
|
<p><i>(it could also be awexs design but idk, that's not for me to figure out)</i></p>
|
||||||
border:none;
|
|
||||||
border-radius:4px;
|
|
||||||
cursor:pointer
|
|
||||||
}
|
<div class="footer-basic">
|
||||||
</style>
|
<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>
|
||||||
<script>
|
<ul class="list-inline">
|
||||||
function myFunction() {
|
<li class="list-inline-item"><a href="https://mcw.awexxx.xyz">Medal Clip Webhook</a></li>
|
||||||
var x = document.getElementById("centered_nav");
|
</ul>
|
||||||
if (x.className === "rc_nav") {
|
<p class="copyright">hi@awexxx.xyz<br>
|
||||||
x.className += " responsive";
|
</footer>
|
||||||
} else {
|
</div>
|
||||||
x.className = "rc_nav";
|
</body>
|
||||||
}
|
</html>
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
background-color:#dedede;
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
-134
@@ -1,134 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>About >> Awex</title>
|
|
||||||
<!-- Stylesheets -->
|
|
||||||
<link rel="stylesheet" href="assets/css/style-new.css">
|
|
||||||
<link rel="stylesheet" href="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="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/about" 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="#" 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()">☰</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<section class="home" style="background-image: url('assets/img/mcw-code.png');">
|
|
||||||
</section>
|
|
||||||
<div>
|
|
||||||
<br />
|
|
||||||
|
|
||||||
<h2>Awex is a developer, knowing HTML, Javascript (Node), and Python.</h2>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p>As of 2021, Awex has contributed to multiple projects, many such as the MedalSMP, ForestGroveSMP, and more!<br>
|
|
||||||
Awex initially started learning HTML and CSS in late 2020 and picked it up fairly quickly! He used to manage web stability & services at the PlagueCraft Network!</p>
|
|
||||||
|
|
||||||
<p>Awex is currently learning Electron/Node, GO and more! You can always view his projects by taking a glance at his <a href="https://github.com/awexxx" target="_blank">GitHub</a> page.<br>
|
|
||||||
<i>By the way, both the home and about page (this page lol) has a different snip of my code! Check all of 'em out ^^^</i></p>
|
|
||||||
|
|
||||||
<p>Now, away from coding -- Awex is an avid Juice WRLD fan (mmmmyes) and surprisingly has a life outside of this coding stuff.<br>
|
|
||||||
Pretty cool, I know. You can check out some playlists I've made below.</p>
|
|
||||||
|
|
||||||
<iframe src="https://open.spotify.com/embed/playlist/475h0vutyDBdWCkf0CjeGE?theme=0" width="50%" height="380" frameBorder="0" allowtransparency="true" allow="encrypted-media"></iframe>
|
|
||||||
<iframe width="50%" height="300" scrolling="no" frameborder="no" allow="autoplay" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/playlists/1282446856&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true"></iframe><div style="font-size: 10px; color: #cccccc;line-break: anywhere;word-break: normal;overflow: hidden;white-space: nowrap;text-overflow: ellipsis; font-family: Interstate,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Garuda,Verdana,Tahoma,sans-serif;font-weight: 100;"><a href="https://soundcloud.com/lulawex" title="awex" target="_blank" style="color: #cccccc; text-decoration: none;">awex</a> · <a href="https://soundcloud.com/lulawex/sets/in-love-w-all-ur-flaws-n-sins" title="in love w all ur flaws n sins 💘" target="_blank" style="color: #cccccc; text-decoration: none;">in love w all ur flaws n sins 💘</a></div>
|
|
||||||
|
|
||||||
<div class="footer-basic">
|
|
||||||
<footer>
|
|
||||||
<div class="social"><a href="https://instagram.com/lulawex"><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://awexxx.xyz/mcw">Medal Clip Webhook</a></li>
|
|
||||||
</ul>
|
|
||||||
<p class="copyright">hi@awexxx.xyz<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>
|
|
||||||
</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;
|
|
||||||
}
|
|
||||||
|
|
||||||
a{
|
|
||||||
color:black;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover {
|
|
||||||
color:white;
|
|
||||||
}
|
|
||||||
|
|
||||||
i{
|
|
||||||
font-size:20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
body p{
|
|
||||||
text-align:center;
|
|
||||||
color:#d4d4d4;
|
|
||||||
font-size:20px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
function myFunction() {
|
|
||||||
var x = document.getElementById("centered_nav");
|
|
||||||
if (x.className === "rc_nav") {
|
|
||||||
x.className += " responsive";
|
|
||||||
} else {
|
|
||||||
x.className = "rc_nav";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
+105
@@ -0,0 +1,105 @@
|
|||||||
|
const express = require('express');
|
||||||
|
const bodyParser = require('body-parser');
|
||||||
|
const http = require('http');
|
||||||
|
const cors = require('cors');
|
||||||
|
const morgan = require('morgan');
|
||||||
|
const fetch = require('node-fetch');
|
||||||
|
|
||||||
|
const app = express();
|
||||||
|
|
||||||
|
app.use(cors());
|
||||||
|
app.use(morgan('dev'));
|
||||||
|
app.use(bodyParser.json());
|
||||||
|
app.use(bodyParser.urlencoded({
|
||||||
|
extended: true
|
||||||
|
}));
|
||||||
|
|
||||||
|
app.get('/', (req, res) => {
|
||||||
|
res.send({ "status": 200 })
|
||||||
|
})
|
||||||
|
|
||||||
|
app.get('/demi', (req, res) => {
|
||||||
|
res.send(`go away`)
|
||||||
|
})
|
||||||
|
|
||||||
|
app.get(`/tools/discord`, (req, res) => {
|
||||||
|
res.send({ "status": "404", "message": "not a get endpoint. shoo."})
|
||||||
|
})
|
||||||
|
|
||||||
|
app.post(`/tools/discord`, (req, res) => {
|
||||||
|
try {
|
||||||
|
const data = {
|
||||||
|
username: `${req.body.disuser}`,
|
||||||
|
avatar_url: `${req.body.avimage}`,
|
||||||
|
embeds: [
|
||||||
|
{
|
||||||
|
color: `${req.body.color}`,
|
||||||
|
title: `${req.body.title}`,
|
||||||
|
description: `${req.body.description}`,
|
||||||
|
image: {
|
||||||
|
url: `${req.body.image}`
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
fetch(req.body.url, {
|
||||||
|
method: 'POST',
|
||||||
|
headers: { 'Content-Type': 'application/json' },
|
||||||
|
body: JSON.stringify(data)
|
||||||
|
})
|
||||||
|
|
||||||
|
res.redirect(`https://awexxx.xyz/tools/discord?callback=success`)
|
||||||
|
}
|
||||||
|
catch(err) {
|
||||||
|
res.redirect(`https://awexxx.xyz/tools/discord?callback=fail`)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
app.get(`/mcw`, (req, res) => {
|
||||||
|
res.redirect(`https://mcw.awexxx.xyz/`)
|
||||||
|
})
|
||||||
|
|
||||||
|
app.post(`/tools/mcw/clip`, async (req, res) => {
|
||||||
|
var clipLink = req.body.clipLink || 'none';
|
||||||
|
var user = req.body.medalUsername || 'none';
|
||||||
|
var webhook = req.body.webhook || 'none';
|
||||||
|
var caption = req.body.caption || 'none';
|
||||||
|
|
||||||
|
if(clipLink && user && webhook && caption === 'none') {
|
||||||
|
console.log(`something wasn't supplied uh oh uwu :3`)
|
||||||
|
return res.status(500).send({ "status": 500, "message": 'Your request was invalid! Please make sure all values were filled in!' })
|
||||||
|
}
|
||||||
|
|
||||||
|
const data = {
|
||||||
|
"username": 'Medal Clip Webhook by Awex',
|
||||||
|
"avatar_url": 'https://avatars.githubusercontent.com/u/68027680?v=4',
|
||||||
|
"content": `${user} shared via Medal Clip Webhook by Awex!`,
|
||||||
|
"embeds": [
|
||||||
|
{
|
||||||
|
"author": {
|
||||||
|
"name": `Credits to ${user} (https://medal.tv/${user})`,
|
||||||
|
"url": `https://medal.tv/${user}`
|
||||||
|
},
|
||||||
|
"title": `${caption}`,
|
||||||
|
"url": `${clipLink}`,
|
||||||
|
"description": "This clip was shared via the [Medal Clip Webhook](https://mcw.awexxx.xyz)",
|
||||||
|
"color": "15258703"
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
|
var resp = await fetch(`${webhook}`, {
|
||||||
|
method: `POST`,
|
||||||
|
headers: { 'Content-type': `application/json` },
|
||||||
|
body: JSON.stringify(data)
|
||||||
|
}).then(response => response.json)
|
||||||
|
|
||||||
|
res.status(200).send({ "status": 200, "message": "Clip successfully sent!" })
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
const httpServer = http.createServer(app);
|
||||||
|
httpServer.listen(process.env.PORT || 3000, () => {
|
||||||
|
console.log('on!')
|
||||||
|
})
|
||||||
Generated
+430
@@ -0,0 +1,430 @@
|
|||||||
|
{
|
||||||
|
"name": "api",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"lockfileVersion": 1,
|
||||||
|
"requires": true,
|
||||||
|
"dependencies": {
|
||||||
|
"accepts": {
|
||||||
|
"version": "1.3.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
|
||||||
|
"integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==",
|
||||||
|
"requires": {
|
||||||
|
"mime-types": "~2.1.24",
|
||||||
|
"negotiator": "0.6.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"array-flatten": {
|
||||||
|
"version": "1.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
|
||||||
|
"integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI="
|
||||||
|
},
|
||||||
|
"basic-auth": {
|
||||||
|
"version": "2.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-2.0.1.tgz",
|
||||||
|
"integrity": "sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==",
|
||||||
|
"requires": {
|
||||||
|
"safe-buffer": "5.1.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"body-parser": {
|
||||||
|
"version": "1.19.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz",
|
||||||
|
"integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==",
|
||||||
|
"requires": {
|
||||||
|
"bytes": "3.1.0",
|
||||||
|
"content-type": "~1.0.4",
|
||||||
|
"debug": "2.6.9",
|
||||||
|
"depd": "~1.1.2",
|
||||||
|
"http-errors": "1.7.2",
|
||||||
|
"iconv-lite": "0.4.24",
|
||||||
|
"on-finished": "~2.3.0",
|
||||||
|
"qs": "6.7.0",
|
||||||
|
"raw-body": "2.4.0",
|
||||||
|
"type-is": "~1.6.17"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"bytes": {
|
||||||
|
"version": "3.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
|
||||||
|
"integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg=="
|
||||||
|
},
|
||||||
|
"content-disposition": {
|
||||||
|
"version": "0.5.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz",
|
||||||
|
"integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==",
|
||||||
|
"requires": {
|
||||||
|
"safe-buffer": "5.1.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"content-type": {
|
||||||
|
"version": "1.0.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
|
||||||
|
"integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA=="
|
||||||
|
},
|
||||||
|
"cookie": {
|
||||||
|
"version": "0.4.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",
|
||||||
|
"integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg=="
|
||||||
|
},
|
||||||
|
"cookie-signature": {
|
||||||
|
"version": "1.0.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
|
||||||
|
"integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
|
||||||
|
},
|
||||||
|
"cors": {
|
||||||
|
"version": "2.8.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz",
|
||||||
|
"integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==",
|
||||||
|
"requires": {
|
||||||
|
"object-assign": "^4",
|
||||||
|
"vary": "^1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"debug": {
|
||||||
|
"version": "2.6.9",
|
||||||
|
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
|
||||||
|
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
|
||||||
|
"requires": {
|
||||||
|
"ms": "2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"depd": {
|
||||||
|
"version": "1.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
|
||||||
|
"integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak="
|
||||||
|
},
|
||||||
|
"destroy": {
|
||||||
|
"version": "1.0.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",
|
||||||
|
"integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA="
|
||||||
|
},
|
||||||
|
"ee-first": {
|
||||||
|
"version": "1.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
|
||||||
|
"integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="
|
||||||
|
},
|
||||||
|
"encodeurl": {
|
||||||
|
"version": "1.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
|
||||||
|
"integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k="
|
||||||
|
},
|
||||||
|
"escape-html": {
|
||||||
|
"version": "1.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
|
||||||
|
"integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg="
|
||||||
|
},
|
||||||
|
"etag": {
|
||||||
|
"version": "1.8.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
|
||||||
|
"integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc="
|
||||||
|
},
|
||||||
|
"express": {
|
||||||
|
"version": "4.17.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz",
|
||||||
|
"integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==",
|
||||||
|
"requires": {
|
||||||
|
"accepts": "~1.3.7",
|
||||||
|
"array-flatten": "1.1.1",
|
||||||
|
"body-parser": "1.19.0",
|
||||||
|
"content-disposition": "0.5.3",
|
||||||
|
"content-type": "~1.0.4",
|
||||||
|
"cookie": "0.4.0",
|
||||||
|
"cookie-signature": "1.0.6",
|
||||||
|
"debug": "2.6.9",
|
||||||
|
"depd": "~1.1.2",
|
||||||
|
"encodeurl": "~1.0.2",
|
||||||
|
"escape-html": "~1.0.3",
|
||||||
|
"etag": "~1.8.1",
|
||||||
|
"finalhandler": "~1.1.2",
|
||||||
|
"fresh": "0.5.2",
|
||||||
|
"merge-descriptors": "1.0.1",
|
||||||
|
"methods": "~1.1.2",
|
||||||
|
"on-finished": "~2.3.0",
|
||||||
|
"parseurl": "~1.3.3",
|
||||||
|
"path-to-regexp": "0.1.7",
|
||||||
|
"proxy-addr": "~2.0.5",
|
||||||
|
"qs": "6.7.0",
|
||||||
|
"range-parser": "~1.2.1",
|
||||||
|
"safe-buffer": "5.1.2",
|
||||||
|
"send": "0.17.1",
|
||||||
|
"serve-static": "1.14.1",
|
||||||
|
"setprototypeof": "1.1.1",
|
||||||
|
"statuses": "~1.5.0",
|
||||||
|
"type-is": "~1.6.18",
|
||||||
|
"utils-merge": "1.0.1",
|
||||||
|
"vary": "~1.1.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"finalhandler": {
|
||||||
|
"version": "1.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz",
|
||||||
|
"integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==",
|
||||||
|
"requires": {
|
||||||
|
"debug": "2.6.9",
|
||||||
|
"encodeurl": "~1.0.2",
|
||||||
|
"escape-html": "~1.0.3",
|
||||||
|
"on-finished": "~2.3.0",
|
||||||
|
"parseurl": "~1.3.3",
|
||||||
|
"statuses": "~1.5.0",
|
||||||
|
"unpipe": "~1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"forwarded": {
|
||||||
|
"version": "0.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
|
||||||
|
"integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow=="
|
||||||
|
},
|
||||||
|
"fresh": {
|
||||||
|
"version": "0.5.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
|
||||||
|
"integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac="
|
||||||
|
},
|
||||||
|
"http": {
|
||||||
|
"version": "0.0.1-security",
|
||||||
|
"resolved": "https://registry.npmjs.org/http/-/http-0.0.1-security.tgz",
|
||||||
|
"integrity": "sha512-RnDvP10Ty9FxqOtPZuxtebw1j4L/WiqNMDtuc1YMH1XQm5TgDRaR1G9u8upL6KD1bXHSp9eSXo/ED+8Q7FAr+g=="
|
||||||
|
},
|
||||||
|
"http-errors": {
|
||||||
|
"version": "1.7.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
|
||||||
|
"integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",
|
||||||
|
"requires": {
|
||||||
|
"depd": "~1.1.2",
|
||||||
|
"inherits": "2.0.3",
|
||||||
|
"setprototypeof": "1.1.1",
|
||||||
|
"statuses": ">= 1.5.0 < 2",
|
||||||
|
"toidentifier": "1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iconv-lite": {
|
||||||
|
"version": "0.4.24",
|
||||||
|
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
|
||||||
|
"integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
|
||||||
|
"requires": {
|
||||||
|
"safer-buffer": ">= 2.1.2 < 3"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"inherits": {
|
||||||
|
"version": "2.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
|
||||||
|
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
|
||||||
|
},
|
||||||
|
"ipaddr.js": {
|
||||||
|
"version": "1.9.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
|
||||||
|
"integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="
|
||||||
|
},
|
||||||
|
"media-typer": {
|
||||||
|
"version": "0.3.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
|
||||||
|
"integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g="
|
||||||
|
},
|
||||||
|
"merge-descriptors": {
|
||||||
|
"version": "1.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
|
||||||
|
"integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E="
|
||||||
|
},
|
||||||
|
"methods": {
|
||||||
|
"version": "1.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
|
||||||
|
"integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4="
|
||||||
|
},
|
||||||
|
"mime": {
|
||||||
|
"version": "1.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
|
||||||
|
"integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="
|
||||||
|
},
|
||||||
|
"mime-db": {
|
||||||
|
"version": "1.49.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz",
|
||||||
|
"integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA=="
|
||||||
|
},
|
||||||
|
"mime-types": {
|
||||||
|
"version": "2.1.32",
|
||||||
|
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz",
|
||||||
|
"integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==",
|
||||||
|
"requires": {
|
||||||
|
"mime-db": "1.49.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"morgan": {
|
||||||
|
"version": "1.10.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/morgan/-/morgan-1.10.0.tgz",
|
||||||
|
"integrity": "sha512-AbegBVI4sh6El+1gNwvD5YIck7nSA36weD7xvIxG4in80j/UoK8AEGaWnnz8v1GxonMCltmlNs5ZKbGvl9b1XQ==",
|
||||||
|
"requires": {
|
||||||
|
"basic-auth": "~2.0.1",
|
||||||
|
"debug": "2.6.9",
|
||||||
|
"depd": "~2.0.0",
|
||||||
|
"on-finished": "~2.3.0",
|
||||||
|
"on-headers": "~1.0.2"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"depd": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
|
||||||
|
"integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw=="
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ms": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
|
||||||
|
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
|
||||||
|
},
|
||||||
|
"negotiator": {
|
||||||
|
"version": "0.6.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
|
||||||
|
"integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw=="
|
||||||
|
},
|
||||||
|
"node-fetch": {
|
||||||
|
"version": "2.6.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
|
||||||
|
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
|
||||||
|
},
|
||||||
|
"object-assign": {
|
||||||
|
"version": "4.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
|
||||||
|
"integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="
|
||||||
|
},
|
||||||
|
"on-finished": {
|
||||||
|
"version": "2.3.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
|
||||||
|
"integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
|
||||||
|
"requires": {
|
||||||
|
"ee-first": "1.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"on-headers": {
|
||||||
|
"version": "1.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz",
|
||||||
|
"integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA=="
|
||||||
|
},
|
||||||
|
"parseurl": {
|
||||||
|
"version": "1.3.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
|
||||||
|
"integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="
|
||||||
|
},
|
||||||
|
"path-to-regexp": {
|
||||||
|
"version": "0.1.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
|
||||||
|
"integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w="
|
||||||
|
},
|
||||||
|
"proxy-addr": {
|
||||||
|
"version": "2.0.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
|
||||||
|
"integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
|
||||||
|
"requires": {
|
||||||
|
"forwarded": "0.2.0",
|
||||||
|
"ipaddr.js": "1.9.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"qs": {
|
||||||
|
"version": "6.7.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
|
||||||
|
"integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ=="
|
||||||
|
},
|
||||||
|
"range-parser": {
|
||||||
|
"version": "1.2.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
|
||||||
|
"integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="
|
||||||
|
},
|
||||||
|
"raw-body": {
|
||||||
|
"version": "2.4.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz",
|
||||||
|
"integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==",
|
||||||
|
"requires": {
|
||||||
|
"bytes": "3.1.0",
|
||||||
|
"http-errors": "1.7.2",
|
||||||
|
"iconv-lite": "0.4.24",
|
||||||
|
"unpipe": "1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"safe-buffer": {
|
||||||
|
"version": "5.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
|
||||||
|
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
||||||
|
},
|
||||||
|
"safer-buffer": {
|
||||||
|
"version": "2.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
|
||||||
|
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
|
||||||
|
},
|
||||||
|
"send": {
|
||||||
|
"version": "0.17.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz",
|
||||||
|
"integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==",
|
||||||
|
"requires": {
|
||||||
|
"debug": "2.6.9",
|
||||||
|
"depd": "~1.1.2",
|
||||||
|
"destroy": "~1.0.4",
|
||||||
|
"encodeurl": "~1.0.2",
|
||||||
|
"escape-html": "~1.0.3",
|
||||||
|
"etag": "~1.8.1",
|
||||||
|
"fresh": "0.5.2",
|
||||||
|
"http-errors": "~1.7.2",
|
||||||
|
"mime": "1.6.0",
|
||||||
|
"ms": "2.1.1",
|
||||||
|
"on-finished": "~2.3.0",
|
||||||
|
"range-parser": "~1.2.1",
|
||||||
|
"statuses": "~1.5.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"ms": {
|
||||||
|
"version": "2.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
|
||||||
|
"integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg=="
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"serve-static": {
|
||||||
|
"version": "1.14.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz",
|
||||||
|
"integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==",
|
||||||
|
"requires": {
|
||||||
|
"encodeurl": "~1.0.2",
|
||||||
|
"escape-html": "~1.0.3",
|
||||||
|
"parseurl": "~1.3.3",
|
||||||
|
"send": "0.17.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"setprototypeof": {
|
||||||
|
"version": "1.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",
|
||||||
|
"integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw=="
|
||||||
|
},
|
||||||
|
"statuses": {
|
||||||
|
"version": "1.5.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
|
||||||
|
"integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow="
|
||||||
|
},
|
||||||
|
"toidentifier": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw=="
|
||||||
|
},
|
||||||
|
"type-is": {
|
||||||
|
"version": "1.6.18",
|
||||||
|
"resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
|
||||||
|
"integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
|
||||||
|
"requires": {
|
||||||
|
"media-typer": "0.3.0",
|
||||||
|
"mime-types": "~2.1.24"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"unpipe": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
|
||||||
|
"integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw="
|
||||||
|
},
|
||||||
|
"utils-merge": {
|
||||||
|
"version": "1.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
|
||||||
|
"integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM="
|
||||||
|
},
|
||||||
|
"vary": {
|
||||||
|
"version": "1.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
|
||||||
|
"integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw="
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"name": "api",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "",
|
||||||
|
"main": "index.js",
|
||||||
|
"dependencies": {
|
||||||
|
"body-parser": "^1.19.0",
|
||||||
|
"cors": "^2.8.5",
|
||||||
|
"express": "^4.17.1",
|
||||||
|
"http": "^0.0.1-security",
|
||||||
|
"morgan": "^1.10.0",
|
||||||
|
"node-fetch": "^2.6.1"
|
||||||
|
},
|
||||||
|
"devDependencies": {},
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
|
"keywords": [],
|
||||||
|
"author": "",
|
||||||
|
"license": "ISC"
|
||||||
|
}
|
||||||
Vendored
-8975
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
|||||||
|
.social-part .fa{
|
||||||
|
padding-right:20px;
|
||||||
|
}
|
||||||
|
ul li a{
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
.container {
|
|
||||||
position: absolute;
|
|
||||||
padding-top:40px;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
/* width: 600px; */
|
|
||||||
height: 100px;
|
|
||||||
border-radius: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.jumbotron {
|
|
||||||
background-color:#4a4a4a;
|
|
||||||
}
|
|
||||||
|
|
||||||
.jumbotron img {
|
|
||||||
max-width:75%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.jumbotron h3 {
|
|
||||||
color:white;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
background-color:#b3b3b3;
|
|
||||||
text-align:center;
|
|
||||||
}
|
|
||||||
@@ -1,336 +0,0 @@
|
|||||||
@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700');
|
|
||||||
html,
|
|
||||||
body {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
box-sizing: border-box;
|
|
||||||
font-family: "Quicksand", sans-serif;
|
|
||||||
font-size: 62.5%;
|
|
||||||
font-size: 10px;
|
|
||||||
background-color:#a3a3a3;
|
|
||||||
}
|
|
||||||
|
|
||||||
#panel {
|
|
||||||
margin: 50px auto;
|
|
||||||
width: 300px;
|
|
||||||
padding: 30px 25px;
|
|
||||||
background: white;
|
|
||||||
border-radius: 25px;
|
|
||||||
display:none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#panel a {
|
|
||||||
color:black;
|
|
||||||
}
|
|
||||||
|
|
||||||
a{
|
|
||||||
color:#ababab;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover {
|
|
||||||
color:white;
|
|
||||||
}
|
|
||||||
|
|
||||||
hr{
|
|
||||||
border-color:white;
|
|
||||||
width:50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Navbar section */
|
|
||||||
|
|
||||||
#rc_logo {
|
|
||||||
left: 30px;
|
|
||||||
padding: 22px;
|
|
||||||
padding-left:2px;
|
|
||||||
position: absolute;
|
|
||||||
color: #fff;
|
|
||||||
font-size: 19px;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#rc_logo a {
|
|
||||||
color: inherit;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.rc_nav {
|
|
||||||
overflow: hidden;
|
|
||||||
background-color: #363841;
|
|
||||||
text-align: center;
|
|
||||||
z-index: 6;
|
|
||||||
}
|
|
||||||
|
|
||||||
.rc_nav a {
|
|
||||||
display: inline-block;
|
|
||||||
margin-right: -4px; /* inline-block gap fix */
|
|
||||||
color: #fff;
|
|
||||||
padding: 22px 22px;
|
|
||||||
text-decoration: none;
|
|
||||||
font-size: 18px;
|
|
||||||
-webkit-transition: background 0.3s linear;
|
|
||||||
-moz-transition: background 0.3s linear;
|
|
||||||
-ms-transition: background 0.3s linear;
|
|
||||||
-o-transition: background 0.3s linear;
|
|
||||||
transition: background 0.3s linear;
|
|
||||||
z-index: 9;
|
|
||||||
}
|
|
||||||
|
|
||||||
.rc_nav a:hover {
|
|
||||||
color: gray;
|
|
||||||
}
|
|
||||||
|
|
||||||
.rc_nav .icon {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.rc_content {
|
|
||||||
text-align: center;
|
|
||||||
padding-left:14px;
|
|
||||||
margin-top: 100px;
|
|
||||||
color: #8e909b;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@media screen and (max-width: 820px) {
|
|
||||||
.rc_nav a {display: none;}
|
|
||||||
.rc_nav a.icon {
|
|
||||||
float: right;
|
|
||||||
display: block;
|
|
||||||
width: 60px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width: 820px) {
|
|
||||||
.rc_nav responsive {position: relative; top: 73px;}
|
|
||||||
.rc_nav .icon {
|
|
||||||
position: fixed;
|
|
||||||
right: 0;
|
|
||||||
top: 0;
|
|
||||||
|
|
||||||
border-radius: 20%;
|
|
||||||
}
|
|
||||||
.rc_nav.responsive a {
|
|
||||||
float: none;
|
|
||||||
display: block;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#rc_logo {
|
|
||||||
position: fixed;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Animation */
|
|
||||||
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */
|
|
||||||
|
|
||||||
.navTrigger {
|
|
||||||
cursor: pointer;
|
|
||||||
width: 30px;
|
|
||||||
height: 25px;
|
|
||||||
margin: auto;
|
|
||||||
position: absolute;
|
|
||||||
right: 30px;
|
|
||||||
top: 0;
|
|
||||||
bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navTrigger i {
|
|
||||||
background-color: #fff;
|
|
||||||
border-radius: 2px;
|
|
||||||
content: '';
|
|
||||||
display: block;
|
|
||||||
width: 100%;
|
|
||||||
height: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navTrigger i:nth-child(1) {
|
|
||||||
-webkit-animation: outT 0.8s backwards;
|
|
||||||
animation: outT 0.8s backwards;
|
|
||||||
-webkit-animation-direction: reverse;
|
|
||||||
animation-direction: reverse;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navTrigger i:nth-child(2) {
|
|
||||||
margin: 5px 0;
|
|
||||||
-webkit-animation: outM 0.8s backwards;
|
|
||||||
animation: outM 0.8s backwards;
|
|
||||||
-webkit-animation-direction: reverse;
|
|
||||||
animation-direction: reverse;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navTrigger i:nth-child(3) {
|
|
||||||
-webkit-animation: outBtm 0.8s backwards;
|
|
||||||
animation: outBtm 0.8s backwards;
|
|
||||||
-webkit-animation-direction: reverse;
|
|
||||||
animation-direction: reverse;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navTrigger.active i:nth-child(1) {
|
|
||||||
-webkit-animation: inT 0.8s forwards;
|
|
||||||
animation: inT 0.8s forwards;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navTrigger.active i:nth-child(2) {
|
|
||||||
-webkit-animation: inM 0.8s forwards;
|
|
||||||
animation: inM 0.8s forwards;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navTrigger.active i:nth-child(3) {
|
|
||||||
-webkit-animation: inBtm 0.8s forwards;
|
|
||||||
animation: inBtm 0.8s forwards;
|
|
||||||
}
|
|
||||||
|
|
||||||
@-webkit-keyframes inM {
|
|
||||||
50% {
|
|
||||||
-webkit-transform: rotate(0deg);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
-webkit-transform: rotate(45deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes inM {
|
|
||||||
50% {
|
|
||||||
transform: rotate(0deg);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
transform: rotate(45deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@-webkit-keyframes outM {
|
|
||||||
50% {
|
|
||||||
-webkit-transform: rotate(0deg);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
-webkit-transform: rotate(45deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes outM {
|
|
||||||
50% {
|
|
||||||
transform: rotate(0deg);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
transform: rotate(45deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@-webkit-keyframes inT {
|
|
||||||
0% {
|
|
||||||
-webkit-transform: translateY(0px) rotate(0deg);
|
|
||||||
}
|
|
||||||
50% {
|
|
||||||
-webkit-transform: translateY(9px) rotate(0deg);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
-webkit-transform: translateY(9px) rotate(135deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes inT {
|
|
||||||
0% {
|
|
||||||
transform: translateY(0px) rotate(0deg);
|
|
||||||
}
|
|
||||||
50% {
|
|
||||||
transform: translateY(9px) rotate(0deg);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
transform: translateY(9px) rotate(135deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@-webkit-keyframes outT {
|
|
||||||
0% {
|
|
||||||
-webkit-transform: translateY(0px) rotate(0deg);
|
|
||||||
}
|
|
||||||
50% {
|
|
||||||
-webkit-transform: translateY(9px) rotate(0deg);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
-webkit-transform: translateY(9px) rotate(135deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes outT {
|
|
||||||
0% {
|
|
||||||
transform: translateY(0px) rotate(0deg);
|
|
||||||
}
|
|
||||||
50% {
|
|
||||||
transform: translateY(9px) rotate(0deg);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
transform: translateY(9px) rotate(135deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@-webkit-keyframes inBtm {
|
|
||||||
0% {
|
|
||||||
-webkit-transform: translateY(0px) rotate(0deg);
|
|
||||||
}
|
|
||||||
50% {
|
|
||||||
-webkit-transform: translateY(-9px) rotate(0deg);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
-webkit-transform: translateY(-9px) rotate(135deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes inBtm {
|
|
||||||
0% {
|
|
||||||
transform: translateY(0px) rotate(0deg);
|
|
||||||
}
|
|
||||||
50% {
|
|
||||||
transform: translateY(-9px) rotate(0deg);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
transform: translateY(-9px) rotate(135deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@-webkit-keyframes outBtm {
|
|
||||||
0% {
|
|
||||||
-webkit-transform: translateY(0px) rotate(0deg);
|
|
||||||
}
|
|
||||||
50% {
|
|
||||||
-webkit-transform: translateY(-9px) rotate(0deg);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
-webkit-transform: translateY(-9px) rotate(135deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes outBtm {
|
|
||||||
0% {
|
|
||||||
transform: translateY(0px) rotate(0deg);
|
|
||||||
}
|
|
||||||
50% {
|
|
||||||
transform: translateY(-9px) rotate(0deg);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
transform: translateY(-9px) rotate(135deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.affix {
|
|
||||||
padding: 0;
|
|
||||||
background-color: #111;
|
|
||||||
}
|
|
||||||
|
|
||||||
.myH2 {
|
|
||||||
text-align:center;
|
|
||||||
font-size: 4rem;
|
|
||||||
}
|
|
||||||
.myP {
|
|
||||||
text-align: justify;
|
|
||||||
padding-left:15%;
|
|
||||||
padding-right:15%;
|
|
||||||
font-size: 20px;
|
|
||||||
}
|
|
||||||
@media all and (max-width:700px){
|
|
||||||
.myP {
|
|
||||||
padding:2%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+89
-191
@@ -1,205 +1,103 @@
|
|||||||
/* Univ Attributes */
|
html, body {
|
||||||
#logo{
|
font-family: 'Quicksand', sans-serif;
|
||||||
float:center;
|
margin:0;
|
||||||
|
padding:0;
|
||||||
|
line-height:30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Welcome/Home Styling
|
||||||
|
*/
|
||||||
|
|
||||||
|
#welcome {
|
||||||
|
height: 933px;
|
||||||
|
line-height: 10px;
|
||||||
|
text-align: center;
|
||||||
|
border: 2px solid black;
|
||||||
|
background-color:#474747;
|
||||||
|
color:#cfcfcf;
|
||||||
}
|
}
|
||||||
|
|
||||||
hr{
|
#welcomespan {
|
||||||
width:100px;
|
display: inline-block;
|
||||||
border-color:black;
|
vertical-align: middle;
|
||||||
|
line-height: normal;
|
||||||
|
padding-top:200px
|
||||||
}
|
}
|
||||||
|
|
||||||
.center {
|
/* ----------------- */
|
||||||
display:block;
|
|
||||||
margin:0 auto;
|
/*
|
||||||
margin-left: auto;
|
About
|
||||||
margin-right: auto;
|
*/
|
||||||
width:20%;
|
#about {
|
||||||
padding-top:20px;
|
text-align:center;
|
||||||
|
white-space:normal;
|
||||||
}
|
}
|
||||||
|
#aboutContainer {
|
||||||
#center {
|
white-space:normal;
|
||||||
display:block;
|
padding-top:30px;
|
||||||
margin:0 auto;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
width:30%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body{
|
/* ----------------- */
|
||||||
|
|
||||||
|
/*
|
||||||
|
Projects
|
||||||
|
*/
|
||||||
|
|
||||||
|
#projects {
|
||||||
|
text-align:center;
|
||||||
|
line-height:20px;
|
||||||
|
white-space:normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
#projectsContainer {
|
||||||
|
white-space:normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ----------------- */
|
||||||
|
|
||||||
|
/*
|
||||||
|
Skills
|
||||||
|
*/
|
||||||
|
|
||||||
|
#experienced {
|
||||||
text-align:center;
|
text-align:center;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1{
|
/* ----------------- */
|
||||||
text-align:center;
|
|
||||||
color:#6b6b6b;
|
/*
|
||||||
}
|
Universal Styling
|
||||||
|
*/
|
||||||
h2{
|
|
||||||
text-align:center;
|
h3 {
|
||||||
color:#6b6b6b;
|
font-size:40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3{
|
h4 {
|
||||||
text-align:center;
|
font-size:30px;
|
||||||
color:#6b6b6b;
|
}
|
||||||
}
|
|
||||||
|
p {
|
||||||
i{
|
|
||||||
font-size:20px;
|
font-size:20px;
|
||||||
}
|
|
||||||
|
|
||||||
body p{
|
|
||||||
text-align:center;
|
|
||||||
color:#6b6b6b;
|
|
||||||
font-size:20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a{
|
hr {
|
||||||
color:black;
|
border-color:gray;
|
||||||
|
width:50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover{
|
#intermission {
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
|
||||||
|
ion-icon {
|
||||||
|
font-size:64px;
|
||||||
color:gray;
|
color:gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Home Page Attribs */
|
#form {
|
||||||
#welcome{
|
|
||||||
background-color:#474747;
|
|
||||||
padding-top:20px;
|
|
||||||
padding-bottom:15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#welcome h2{
|
|
||||||
color:#c2c2c2;
|
|
||||||
}
|
|
||||||
|
|
||||||
#welcome p{
|
|
||||||
color:#c2c2c2;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*Socials Color Changing*/
|
|
||||||
#medal a{
|
|
||||||
color:orange;
|
|
||||||
text-decoration:none;
|
|
||||||
font-size:28px;
|
|
||||||
padding-right:15px;
|
|
||||||
text-align:center;
|
text-align:center;
|
||||||
}
|
|
||||||
|
|
||||||
#medal a:hover{
|
|
||||||
color:white;
|
|
||||||
}
|
|
||||||
|
|
||||||
#twitter a{
|
|
||||||
color:#467175;
|
|
||||||
text-decoration:none;
|
|
||||||
font-size:28px;
|
|
||||||
padding-right:15px;
|
|
||||||
padding-bottom:20px;
|
|
||||||
text-align:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#twitter a:hover{
|
|
||||||
color:white;
|
|
||||||
}
|
|
||||||
|
|
||||||
#discordbtn {
|
|
||||||
background-color: #7289da; /* Green */
|
|
||||||
border: none;
|
|
||||||
color: white;
|
|
||||||
padding: 15px 32px;
|
|
||||||
text-align: center;
|
|
||||||
text-decoration: none;
|
|
||||||
display: inline-block;
|
|
||||||
font-size: 16px;
|
|
||||||
border-radius: 20%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Navigation Bar Styling */
|
|
||||||
#navbar{
|
|
||||||
color:#333;
|
|
||||||
}
|
|
||||||
|
|
||||||
#navbar ul{
|
|
||||||
padding:0px;
|
|
||||||
list-style:none;
|
|
||||||
text-align:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#navbar li{
|
|
||||||
display:inline;
|
|
||||||
text-align:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#navbar a{
|
|
||||||
color:#333;
|
|
||||||
text-decoration:none;
|
|
||||||
font-size:18px;
|
|
||||||
padding-right:15px;
|
|
||||||
text-align:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Footer Styling */
|
|
||||||
.footer-p{
|
|
||||||
color:white;
|
|
||||||
}
|
|
||||||
.footer-basic {
|
|
||||||
padding:40px 0;
|
|
||||||
background-color:#454545;
|
|
||||||
color:white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer-basic ul {
|
|
||||||
padding:0;
|
|
||||||
list-style:none;
|
|
||||||
text-align:center;
|
|
||||||
font-size:18px;
|
|
||||||
line-height:1.6;
|
|
||||||
margin-bottom:0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer-basic li {
|
|
||||||
padding:0 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer-basic ul a {
|
|
||||||
color:inherit;
|
|
||||||
text-decoration:none;
|
|
||||||
opacity:0.8;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer-basic ul a:hover {
|
|
||||||
opacity:1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer-basic .social {
|
|
||||||
text-align:center;
|
|
||||||
padding-bottom:25px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer-basic .social > a {
|
|
||||||
font-size:24px;
|
|
||||||
width:40px;
|
|
||||||
height:40px;
|
|
||||||
line-height:40px;
|
|
||||||
display:inline-block;
|
|
||||||
text-align:center;
|
|
||||||
border-radius:50%;
|
|
||||||
border:1px solid white;
|
|
||||||
margin:0 8px;
|
|
||||||
color:inherit;
|
|
||||||
opacity:0.75;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer-basic .social > a:hover {
|
|
||||||
opacity:0.9;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer-basic .copyright {
|
|
||||||
margin-top:15px;
|
|
||||||
text-align:center;
|
|
||||||
font-size:13px;
|
|
||||||
color:white;
|
|
||||||
margin-bottom:0;
|
|
||||||
}
|
}
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 95 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 75 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 27 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 112 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 82 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 53 KiB |
@@ -1,17 +0,0 @@
|
|||||||
var count = 0;
|
|
||||||
|
|
||||||
function clickyBoy() {
|
|
||||||
count++;
|
|
||||||
if (count == 1){
|
|
||||||
alert("You feel the ground shake..")
|
|
||||||
} else if (count === 2) {
|
|
||||||
alert("You feel your spine tingle..")
|
|
||||||
} else if (count === 3) {
|
|
||||||
alert("The ground starts to split..")
|
|
||||||
} else if (count === 4) {
|
|
||||||
alert("It starts to rise up..")
|
|
||||||
} else if (count === 5) {
|
|
||||||
alert("It's here..")
|
|
||||||
window.location.replace('./easter-egg.html');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
function hidePanel() {
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "none";
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "none";
|
|
||||||
}
|
|
||||||
@@ -1,259 +0,0 @@
|
|||||||
////////////////////
|
|
||||||
// Hive Lookup JS //
|
|
||||||
// Dvlpr. Awexx //
|
|
||||||
////////////////////
|
|
||||||
|
|
||||||
console.log(`Initiated the Hive Lookup Script`);
|
|
||||||
const avatarURL = 'https://minotar.net/avatar/'
|
|
||||||
|
|
||||||
async function getGamesData() {
|
|
||||||
const playerName = document.getElementById("inputBox").value;
|
|
||||||
if (document.getElementById("gameBox").value === 'sg' || document.getElementById("gameBox").value === 'Survival Games' ) {
|
|
||||||
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/sg`;
|
|
||||||
const data = await fetch(apiURL).then(response => response.json());
|
|
||||||
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive SG Stats<hr>Victories: " + data.victories + "<br>Total Points: " + data.total_points + "<br> Most Points: " + data.most_points
|
|
||||||
+ "<br>Games Played: " + data.gamesplayed + "<br>Crates Opened: " + data.cratesopened + "<br>Kills: " + data.kills + "<br>Deaths: " + data.kills + "<br>Total Time Alive: " + data.timealive +
|
|
||||||
"<br>Unlock Deathcrate: " + data.unlock_deathcrate + "<br>Unlock My Sword: " + data.unlock_mysword + "<br>Vanity Colors: " + data.vanitycolors + "<br>Active Vanity Color: " + data.active_vanitycolor +
|
|
||||||
"<br>Arrow Trails: " + data.arrowtrails + "<br>Battle Cries: " + data.battlecries + "<br>Active Deathcrate: " + data.active_deathcrate + "<br>First Win Day: " + data.firstwinday
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "block";
|
|
||||||
|
|
||||||
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "block";
|
|
||||||
|
|
||||||
} else if (document.getElementById("gameBox").value === "bp" || document.getElementById("gameBox").value === 'Block Party' ) {
|
|
||||||
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/bp`;
|
|
||||||
const data = await fetch(apiURL).then(response => response.json());
|
|
||||||
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive Block Party Stats<hr>Games Played: " + data.games_played + "<br>Selected Bling: " + data.selected_bling + "<br>Death Sound: " + data.selected_death_sound
|
|
||||||
+ "<br>Trail: " + data.selected_trail + "<br>Victory Sound: " + data.selected_victory_sound + "<br>Eliminations: " + data.total_eliminations + "<br>Placing: " + data.total_placing + "<br>Total Points: " + data.total_points +
|
|
||||||
"<br>Unlocked Bling: " + data.unlocked_bling + "<br>Unlocked Death Sounds: " + data.unlocked_death_sounds + "<br>Unlocked Trails: " + data.unlocked_trails + "<br>Victories: " + data.victories
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "block";
|
|
||||||
|
|
||||||
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "block";
|
|
||||||
|
|
||||||
} else if (document.getElementById("gameBox").value === "cai" || document.getElementById("gameBox").value === 'Cowboys and Indians') {
|
|
||||||
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/cai`;
|
|
||||||
const data = await fetch(apiURL).then(response => response.json());
|
|
||||||
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive Cowboys and Indians Stats<hr>Total Points: " + data.total_points + "<br>Captured: " + data.captured + "<br>Captures: " + data.captures
|
|
||||||
+ "<br>Catches: " + data.catches + "<br>Caught: " + data.caught + "<br>Creeper Firework: " + data.creeperfirework + "<br>Games Played: " + data.gamesplayed + "<br>Team Selector: " + data.teamselector +
|
|
||||||
"<br>Victories: " + data.victories
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "block";
|
|
||||||
|
|
||||||
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "block";
|
|
||||||
|
|
||||||
} else if (document.getElementById("gameBox").value === "dr" || document.getElementById("gameBox").value === 'Deathrun') {
|
|
||||||
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/dr`;
|
|
||||||
const data = await fetch(apiURL).then(response => response.json());
|
|
||||||
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive DeathRun Stats<hr>Total Points: " + data.total_points + "<br>Victories: " + data.victories + "<br>Kills: " + data.kills
|
|
||||||
+ "<br>Deaths: " + data.deaths + "<br>Games Played: " + data.games_played
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "block";
|
|
||||||
|
|
||||||
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "block";
|
|
||||||
|
|
||||||
} else if (document.getElementById("gameBox").value === "hb" || document.getElementById("gameBox").value === 'The Herobrine') {
|
|
||||||
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/hb`;
|
|
||||||
const data = await fetch(apiURL).then(response => response.json());
|
|
||||||
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive The Herobrine Stats<hr>Captures: " + data.captures + "<br>Kills: " + data.kills + "<br>Deaths: " + data.deaths
|
|
||||||
+ "<br>Points: " + data.points + "<br>Unlocked Classes: " + data.unlocked_classes + "<br>Active Class: " + data.active_class
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "block";
|
|
||||||
|
|
||||||
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "block";
|
|
||||||
|
|
||||||
} else if (document.getElementById("gameBox").value === "hero" || document.getElementById("gameBox").value === 'SG:Hero') {
|
|
||||||
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/hero`;
|
|
||||||
const data = await fetch(apiURL).then(response => response.json());
|
|
||||||
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive SG:Hero Stats<hr>Total Points: " + data.total_points + "<br>Victories: " + data.victories + "<br>Kills: " + data.kills
|
|
||||||
+ "<br>Deaths: " + data.deaths + "<br>1v1 Wins: " + data.one_vs_ones_wins + "<br>Deathmatches: " + data.deathmatches + "<br>TNT Used: " + data.tnt_used + "<br>Crates Opened: " + data.crates_opened +
|
|
||||||
"<br>Food Consumed: " + data.food_consumed
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "block";
|
|
||||||
|
|
||||||
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "block";
|
|
||||||
|
|
||||||
} else if (document.getElementById("gameBox").value === "hide" || document.getElementById("gameBox").value === 'Hide & Seek') {
|
|
||||||
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/hide`;
|
|
||||||
const data = await fetch(apiURL).then(response => response.json());
|
|
||||||
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive Hide & Seek Stats<hr>Total Points: " + data.total_points + "<br>Victories: " + data.victories + "<br>Hider Kills: " + data.hiderkills
|
|
||||||
+ "<br>Seeker Kills: " + data.seekerkills + "<br>Deaths: " + data.deaths + "<br>Games Played: " + data.gamesplayed + "<br>Blocks: " + data.blocks + "<br>Book Upgrade: " + data.bookupgrade +
|
|
||||||
"<br>Time Alive: " + data.timealive
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "block";
|
|
||||||
|
|
||||||
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "block";
|
|
||||||
|
|
||||||
} else if (document.getElementById("gameBox").value === "oitc" || document.getElementById("gameBox").value === 'One in the Chamber') {
|
|
||||||
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/oitc`;
|
|
||||||
const data = await fetch(apiURL).then(response => response.json());
|
|
||||||
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive One in the Chamber Stats<hr>Total Points: " + data.total_points + "<br>Victories: " + data.victories + "<br>Kills: " + data.kills
|
|
||||||
+ "<br>Deaths: " + data.deaths + "<br>Arrows Fired: " + data.arrowsfired + "<br>Games Played: " + data.gamesplayed + "<br>Cupid Unlocked: " + data.cupidunlock + "<br>Rainbow Unlocked: " + data.rainbowunlock +
|
|
||||||
"<br>Music Unlocked: " + data.musicunlock + "<br>Herobrine Unlock " + data.herobrineunlock
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "block";
|
|
||||||
|
|
||||||
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "block";
|
|
||||||
|
|
||||||
} else if (document.getElementById("gameBox").value === "sp" || document.getElementById("gameBox").value === 'Splegg') {
|
|
||||||
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/sp`;
|
|
||||||
const data = await fetch(apiURL).then(response => response.json());
|
|
||||||
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive One in the Chamber Stats<hr>Victories: " + data.victories + "<br>Games Played: " + data.gamesplayed + "<br>Eggs Fired: " + data.eggsfired
|
|
||||||
+ "<br>Blocks Destroyed: " + data.blocksdestroyed + "<br>Deaths: " + data.deaths + "<br>Points: " + data.points + "<br>Time Alive: " + data.timealive + "<br>Rainbow Eggs: " + data.rainboweggs +
|
|
||||||
"<br>Sheep Unlocked: " + data.sheepunlock + "<br>Shovel Upgrade " + data.shovelupgrade
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "block";
|
|
||||||
|
|
||||||
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "block";
|
|
||||||
|
|
||||||
} else if (document.getElementById("gameBox").value === "timv" || document.getElementById("gameBox").value === 'Trouble in Mineville') {
|
|
||||||
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/timv`;
|
|
||||||
const data = await fetch(apiURL).then(response => response.json());
|
|
||||||
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive Trouble in Mineville Stats<hr>Total Points: " + data.total_points + "<br>Most Points: " + data.most_points + "<br>Role Points: " + data.role_points
|
|
||||||
+ "<br>T Point: " + data.t_points + "<br>I Points: " + data.i_points + "<br>D Points: " + data.d_points + "<br>Active Detective Stick: " + data.active_detectivestick + "<br>Detective Sticks: " + data.detectivesticks +
|
|
||||||
"<br>Active Flare Upgrade: " + data.active_flareupgrade + "<br>Flare Upgrade " + data.flareupgrade + "<br>Detective Book: " + data.detectivebook
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "block";
|
|
||||||
|
|
||||||
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "block";
|
|
||||||
|
|
||||||
} else if (document.getElementById("gameBox").value === "sky" || document.getElementById("gameBox").value === 'SkyWars') {
|
|
||||||
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/sky`;
|
|
||||||
const data = await fetch(apiURL).then(response => response.json());
|
|
||||||
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive SkyWars Stats<hr>Total Points: " + data.total_points + "<br>Victories: " + data.victories + "<br>Games Played: " + data.gamesplayed
|
|
||||||
+ "<br>Kills: " + data.kills + "<br>Deaths: " + data.deaths + "<br>Most Points: " + data.most_points + "<br>Time Alive: " + data.timealive
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "block";
|
|
||||||
|
|
||||||
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "block";
|
|
||||||
|
|
||||||
} else if (document.getElementById("gameBox").value === "lab" || document.getElementById("gameBox").value === 'The Lab') {
|
|
||||||
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/lab`;
|
|
||||||
const data = await fetch(apiURL).then(response => response.json());
|
|
||||||
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive The Lab Stats<hr>Total Points: " + data.total_points + "<br>Victories: " + data.victories + "<br>Games Played: " + data.gamesplayed
|
|
||||||
+ "<hr><strong>Total Game Victories</strong><br>Electric Floor: " + data.game_victories.ELECTRICFLOOR + "<br>Snowman: " + data.game_victories.SNOWMAN + "<br>Rocket Race: " + data.game_victories.ROCKETRACE + "<br>Breaking Blocks: " + data.game_victories.BREAKINGBLOCKS +
|
|
||||||
"<br>Splegg: " + data.game_victories.SPLEGG + "<br>Catastrophic: " + data.game_victories.CATASTROPHIC + "<br>Fight: " + data.game_victories.FIGHT
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "block";
|
|
||||||
|
|
||||||
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "block";
|
|
||||||
|
|
||||||
} else if (document.getElementById("gameBox").value === "draw" || document.getElementById("gameBox").value === 'Draw It') {
|
|
||||||
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/draw`;
|
|
||||||
const data = await fetch(apiURL).then(response => response.json());
|
|
||||||
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive DRAW Stats<hr>Total Points: " + data.total_points + "<br>Victories: " + data.victories + "<br>Games Played: " + data.gamesplayed
|
|
||||||
+ "<br>Total Correct Guesses: " + data.correct_guesses + "<br>Total Incorrect Guesses: " + data.incorrect_guesses + "<br>Skips: " + data.skips
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "block";
|
|
||||||
|
|
||||||
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "block";
|
|
||||||
|
|
||||||
} else if (document.getElementById("gameBox").value === "ef" || document.getElementById("gameBox").value === 'Electric Floor') {
|
|
||||||
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/ef`;
|
|
||||||
const data = await fetch(apiURL).then(response => response.json());
|
|
||||||
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive Electric Floor Stats<hr>Victories: " + data.victories + "<br>Outlived: " + data.outlived + "<br>Games Played: " + data.gamesplayed
|
|
||||||
+ "<br>Points: " + data.points + "<br>Blocks Activated: " + data.blocksactivated + "<br>Title: " + data.title
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "block";
|
|
||||||
|
|
||||||
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "block";
|
|
||||||
|
|
||||||
} else if (document.getElementById("gameBox").value === "grav" || document.getElementById("gameBox").value === 'Gravity') {
|
|
||||||
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/grav`;
|
|
||||||
const data = await fetch(apiURL).then(response => response.json());
|
|
||||||
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive Gravity Stats<hr>Victories: " + data.victories + "<br>Points: " + data.points + "<br><hr><strong>Map Records</strong><br>Library: " + data.maprecords.LIBRARY
|
|
||||||
+ "<br>Mobs: " + data.maprecords.MOBS + "<br>Drain: " + data.maprecords.DRAIN + "<br>Wave: " + data.maprecords.WAVE + "<br>Toys: " + data.maprecords.TOYS + "<br>Rhythm: " + data.maprecords.RHYTHM + "<br>Pacman " + data.maprecords.PACMAN +
|
|
||||||
"<br>Floatlands: " + data.maprecords.FLOATLANDS + "<br>Hypnosis: " + data.maprecords.HYPNOSIS + "<br>Deep Sea: " + data.maprecords.DEEP_SEA + "<br>Plants: " + data.maprecords.PLANTS + "<br>Meteor" + data.maprecords.METEOR +
|
|
||||||
"<br>Lab: " + data.maprecords.LAB + "<br>Ruins: " + data.maprecords.RUINS + "<br>Pyramid: " + data.maprecords.PYRAMID + "<br>Tetris: " + data.maprecords.TETRIS + "<br>Trees: " + data.maprecords.TREES +
|
|
||||||
"<br>Arctic: " + data.maprecords.ARCTIC + "<br>Factory: " + data.maprecords.FACTORY + "<br>Lush: " + data.maprecords.LUSH + "<br>Rain: " + data.maprecords.RAIN + "<br>Arachnophobia: " + data.maprecords.ARACHNOPHOBIA +
|
|
||||||
"<br>Overgrown: " + data.maprecords.OVERGROWN
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "block";
|
|
||||||
|
|
||||||
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "block";
|
|
||||||
|
|
||||||
} else if (document.getElementById("gameBox").value === "gnt" || document.getElementById("gameBox").value === 'SkyGiants') {
|
|
||||||
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/gnt`;
|
|
||||||
const data = await fetch(apiURL).then(response => response.json());
|
|
||||||
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive SkyGiants Stats<hr>Total Points: " + data.total_points + "<br>Victories: " + data.victories + "<br>Games Played: " + data.games_played +
|
|
||||||
"<br>Kills: " + data.kills + "<br>Deaths: " + data.deaths + "<br>Gold Earned: " + data.gold_earned + "<br>Beasts Slain: " + data.beasts_slain + "<br>Shutdowns: " + data.shutdowns + "<br>Title: " + data.title
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "block";
|
|
||||||
|
|
||||||
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "block";
|
|
||||||
|
|
||||||
} else if (document.getElementById("gameBox").value === "spl" || document.getElementById("gameBox").value === 'Sploop') {
|
|
||||||
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/spl`;
|
|
||||||
const data = await fetch(apiURL).then(response => response.json());
|
|
||||||
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive Sploop Stats<hr>Total Points: " + data.total_points + "<br>Victories: " + data.victories + "<br>Games Played: " + data.games_played +
|
|
||||||
"<br>Kills: " + data.kills + "<br>Deaths: " + data.deaths + "<br>Blocks Painted: " + data.blocks_painted + "<br>Ultimates Earned: " + data.ultimates_earned + "<br>Title: " + data.title
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "block";
|
|
||||||
|
|
||||||
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "block";
|
|
||||||
|
|
||||||
} else if (document.getElementById("gameBox").value === "mimv" || document.getElementById("gameBox").value === 'Murder in Mineville') {
|
|
||||||
const apiURL = `https://api.hivemc.com/v1/player/${playerName}/mimv`;
|
|
||||||
const data = await fetch(apiURL).then(response => response.json());
|
|
||||||
document.querySelector("#panel").innerHTML = "<img src=" + avatarURL + playerName + "><br>" + playerName + "'s Hive Murder in MineVille Stats<hr>Total Points: " + data.total_points + "<br>Games Played: " + data.games_played + "<br>Victories: " + data.victories +
|
|
||||||
"<br>Kills: " + data.kills + "<br>Deaths: " + data.deaths + "<br>Last Used Emote: " + data.lastUsedEmote + "<br>Preferred Emote Menu: " + data.preferredEmoteSelectorMenu + "<br>Title: " + data.title
|
|
||||||
|
|
||||||
var panel = document.getElementById("panel");
|
|
||||||
panel.style.display = "block";
|
|
||||||
|
|
||||||
document.querySelector("#link").innerHTML = "<a href=" + apiURL + ">Raw JSON Link"
|
|
||||||
var link = document.getElementById("link");
|
|
||||||
link.style.display = "block";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
async function postEmbed() {
|
|
||||||
const link = document.getElementById("cliplink").value
|
|
||||||
console.log('Link:', link)
|
|
||||||
const webhook = document.getElementById("webhookURL").value
|
|
||||||
console.log('Webhook:', webhook)
|
|
||||||
const caption = document.getElementById("caption").value
|
|
||||||
console.log('Caption:', caption)
|
|
||||||
const username = document.getElementById("medalUsername").value
|
|
||||||
console.log('Username:', username)
|
|
||||||
|
|
||||||
const embedUrl = `https://mcwapi.herokuapp.com/clip-check?clipLink=${link}&webhookURL=${webhook}&medalUsername=${username}&caption=${caption}`
|
|
||||||
|
|
||||||
const { response } = await fetch(embedUrl).then(response => response.json());
|
|
||||||
|
|
||||||
window.location.replace("https://awexxx.xyz/mcw?status=success");
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
async function postPlain() {
|
|
||||||
const link = document.getElementById("cliplinkpt").value
|
|
||||||
console.log('Link:', link)
|
|
||||||
const webhook = document.getElementById("webhookURLpt").value
|
|
||||||
console.log('Webhook:', webhook)
|
|
||||||
const caption = document.getElementById("captionpt").value
|
|
||||||
console.log('Caption:', caption)
|
|
||||||
const username = document.getElementById("medalUsernamept").value
|
|
||||||
console.log('Username:', username)
|
|
||||||
|
|
||||||
const url = `https://mcwapi.herokuapp.com/clip-check-pt?clipLink=${link}&webhookURL=${webhook}&medalUsername=${username}&caption=${caption}`
|
|
||||||
|
|
||||||
const { response } = await fetch(url).then(response => response.json());
|
|
||||||
|
|
||||||
window.location.replace("https://awexxx.xyz/mcw?status=success");
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
///////////////////////////////////
|
||||||
|
// Fetch Script for Awex Clips //
|
||||||
|
// Medal.tv API //
|
||||||
|
///////////////////////////////////
|
||||||
|
|
||||||
|
async function medalclips() {
|
||||||
|
const medalapi = 'https://developers.medal.tv/v1/latest?userId=215577&limit=1'
|
||||||
|
const { contentObjects } = await fetch(medalapi, {
|
||||||
|
method: 'GET',
|
||||||
|
headers: { 'Authorization': 'pub_94FdmA2SMLm6V53dDykcPB3v4HLak6Db', 'Content-Type': 'application/json' }
|
||||||
|
}).then(response => response.json())
|
||||||
|
|
||||||
|
document.querySelector("#clip").innerHTML = contentObjects[0].embedIframeCode
|
||||||
|
document.querySelector("#title").innerHTML = "<i>Clip Title: " + contentObjects[0].contentTitle + "</i>"
|
||||||
|
}
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
///////////////////////////////////
|
|
||||||
// Fetch Script for Awex Clips //
|
|
||||||
// Medal.tv API //
|
|
||||||
///////////////////////////////////
|
|
||||||
async function medalclips() {
|
|
||||||
const medalapi = 'https://developers.medal.tv/v1/latest?userId=215577&limit=1'
|
|
||||||
const { contentObjects } = await fetch(medalapi, {
|
|
||||||
method: 'GET',
|
|
||||||
headers: { 'Authorization': 'pub_94FdmA2SMLm6V53dDykcPB3v4HLak6Db', 'Content-Type': 'application/json' }
|
|
||||||
}).then(response => response.json())
|
|
||||||
|
|
||||||
document.querySelector("#clip").innerHTML = contentObjects[0].embedIframeCode
|
|
||||||
document.querySelector("#title").innerHTML = "<i>" + contentObjects[0].contentTitle + "</i>"
|
|
||||||
}
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
function checkparam() {
|
|
||||||
const params = new URLSearchParams(window.location.search)
|
|
||||||
// console.log(params) Only uncomment this for testing purposes.
|
|
||||||
|
|
||||||
if(!params) {
|
|
||||||
const embed = document.getElementById("embed");
|
|
||||||
embed.style.display = "block"
|
|
||||||
}
|
|
||||||
|
|
||||||
if (params.get('type') === 'pt') {
|
|
||||||
const pt = document.getElementById("pt");
|
|
||||||
pt.style.display = "block";
|
|
||||||
const embed = document.getElementById("embed");
|
|
||||||
embed.style.display = "none";
|
|
||||||
}
|
|
||||||
|
|
||||||
if(params.get('type') === 'embed') {
|
|
||||||
const pt = document.getElementById("pt");
|
|
||||||
pt.style.display = "none";
|
|
||||||
const embed = document.getElementById("embed");
|
|
||||||
embed.style.display = "block";
|
|
||||||
const success = document.getElementById("success");
|
|
||||||
success.style.display = "none";
|
|
||||||
}
|
|
||||||
|
|
||||||
if (params.get('status') === 'success') {
|
|
||||||
const pt = document.getElementById("pt");
|
|
||||||
pt.style.display = "none";
|
|
||||||
const embed = document.getElementById("embed");
|
|
||||||
embed.style.display = "none";
|
|
||||||
const success = document.getElementById("success");
|
|
||||||
success.style.display = "block";
|
|
||||||
}
|
|
||||||
|
|
||||||
if(params.get('ref') === 'added') {
|
|
||||||
const gen = document.getElementById("gen");
|
|
||||||
gen.style.display = "none";
|
|
||||||
const success = document.getElementById("success");
|
|
||||||
success.style.display = "block";
|
|
||||||
}
|
|
||||||
|
|
||||||
if (params.get('ref') === 'ee') {
|
|
||||||
const ee = document.getElementById("easteregg")
|
|
||||||
ee.style.display = "block";
|
|
||||||
}
|
|
||||||
|
|
||||||
if (params.get('ref') === 'demi') {
|
|
||||||
window.location.replace("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
window.addEventListener ?
|
|
||||||
window.addEventListener("load",checkparam,false)
|
|
||||||
:
|
|
||||||
window.attachEvent && window.attachEvent("onload",checkparam);
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
//////////////////////////
|
||||||
|
// Query Tag Processing //
|
||||||
|
//////////////////////////
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
async function getFileUrl() {
|
|
||||||
const params = new URLSearchParams(window.location.search)
|
|
||||||
let title = params.get('photo')
|
|
||||||
let apiurl = `http://${window.location.host}/screenshots?title=${title}`
|
|
||||||
let pageURL = `http://${window.location.host}/view?photo=${title}`
|
|
||||||
|
|
||||||
if(title) {
|
|
||||||
try{
|
|
||||||
const { response } = await fetch(apiurl).then(response => response.json());
|
|
||||||
console.log(response)
|
|
||||||
let date = response.date;
|
|
||||||
let photourl = response.directurl;
|
|
||||||
var dateStr = new Date();
|
|
||||||
|
|
||||||
document.querySelector('meta[name="img"]').setAttribute("content", photourl)
|
|
||||||
document.querySelector('meta[name="title"]').setAttribute("content", `Awex's screenshot from ${dateStr}`)
|
|
||||||
document.querySelector('meta[name="url"]').setAttribute("content", pageURL)
|
|
||||||
|
|
||||||
document.getElementById("title").innerHTML = (`Screenshot from ${date}`)
|
|
||||||
document.getElementById("date").innerHTML = (`<h3>Screenshot from:<br> ${date}</h3>`)
|
|
||||||
document.getElementById("jumbo-internal").innerHTML = "<img src=" + photourl + ">"
|
|
||||||
}
|
|
||||||
catch(error) {
|
|
||||||
console.log('There was an error! ', error)
|
|
||||||
const body = document.getElementById("body")
|
|
||||||
body.style.display = "none";
|
|
||||||
const err = document.getElementById("fourohfour");
|
|
||||||
err.style.display = "block";
|
|
||||||
}
|
|
||||||
} else if (!title) {
|
|
||||||
const body = document.getElementById("body")
|
|
||||||
body.style.display = "none";
|
|
||||||
const err = document.getElementById("fourohfour");
|
|
||||||
err.style.display = "block";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
async function deleteSS() {
|
|
||||||
const params = new URLSearchParams(window.location.search)
|
|
||||||
let title = params.get('photo')
|
|
||||||
var secret = document.querySelector("#secret").value
|
|
||||||
const delfile = await fetch(`http://${window.location.host}/delete/${title}`, {
|
|
||||||
method: "DELETE",
|
|
||||||
headers: { "secret": `${secret}`}
|
|
||||||
})
|
|
||||||
.then(function(response) {
|
|
||||||
console.log(response.status); // Will show you the status
|
|
||||||
if(response.status === 200) {
|
|
||||||
var error = document.getElementById("err");
|
|
||||||
error.style.display = "none";
|
|
||||||
var success = document.getElementById("success");
|
|
||||||
success.style.display = "block";
|
|
||||||
} else if (response.status === 403 || response.status === 404) {
|
|
||||||
var success = document.getElementById("success");
|
|
||||||
success.style.display = "none";
|
|
||||||
var error = document.getElementById("err");
|
|
||||||
error.style.display = "block";
|
|
||||||
var code = document.getElementById("code").innerHTML = response.status
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
function showForm() {
|
|
||||||
var form = document.getElementById("form")
|
|
||||||
form.style.display = "block";
|
|
||||||
|
|
||||||
var button = document.getElementById("del")
|
|
||||||
button.style.display = "none";
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
const data = [
|
|
||||||
{
|
|
||||||
name: 'ping',
|
|
||||||
description: 'Replies with bot/Discord API ping.',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'status',
|
|
||||||
description: 'Replies with server status.',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'modpack',
|
|
||||||
description: 'Sends a link to the modpack download.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'clip',
|
|
||||||
description: 'Sends a random clip from the Medal #medalsmp tag.'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'demi',
|
|
||||||
description: 'Sends Demi a random message.. if you even are demi..'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'help',
|
|
||||||
description: 'Get help from the bot!',
|
|
||||||
options: [{
|
|
||||||
name: 'embed',
|
|
||||||
type: 'STRING',
|
|
||||||
description: 'The type of embed you need',
|
|
||||||
required: true,
|
|
||||||
choices: [
|
|
||||||
{
|
|
||||||
name: 'General Bot Help',
|
|
||||||
value: 'help_vanilla',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Server Commands',
|
|
||||||
value: 'help_modded',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'coinflip',
|
|
||||||
description: 'Get a random response of heads or tails!'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '8ball',
|
|
||||||
description: 'Get a random 8-ball response!'
|
|
||||||
}
|
|
||||||
];
|
|
||||||
Binary file not shown.
@@ -1,31 +0,0 @@
|
|||||||
<html>
|
|
||||||
<body onload="redir()" id="body">
|
|
||||||
<div id="easteregg" style="display:block;">
|
|
||||||
<section id="ee" style="padding-top:250px">
|
|
||||||
<center><iframe width="660" height="415" src="https://www.youtube.com/embed/plxlfuIJPE4?autoplay=1" allow="autoplay" title="YouTube video player" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></center>
|
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
var doc = document.getElementById("body");
|
|
||||||
var color = ["black", "blue", "brown", "green"];
|
|
||||||
var i = 0;
|
|
||||||
function change() {
|
|
||||||
var color = ["black", "blue", "brown", "green"];
|
|
||||||
doc.style.backgroundColor = color[i];
|
|
||||||
i++;
|
|
||||||
|
|
||||||
if(i > color.length - 1) {
|
|
||||||
i = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
setInterval(change, 500);
|
|
||||||
|
|
||||||
function redir() {
|
|
||||||
window.setTimeout(function(){
|
|
||||||
window.location.href = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
|
|
||||||
}, 20000)
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
+200
-149
@@ -1,160 +1,211 @@
|
|||||||
<!DOCTYPE html>
|
<style>
|
||||||
|
html {
|
||||||
|
scroll-behavior: smooth;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
border-color:black;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Home >> Awex</title>
|
<title>Awex >> Home</title>
|
||||||
<!-- Stylesheets -->
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="assets/css/style-new.css">
|
<link rel="stylesheet" href="assets/css/style.css">
|
||||||
<link rel="stylesheet" href="assets/css/footer.css">
|
<link rel="stylesheet" href="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="assets/css/nav.css">
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<!-- Scripts -->
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
|
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap" rel="stylesheet">
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.bundle.min.js"></script>
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css">
|
||||||
<script src="assets/js/medalclips.js"></script>
|
|
||||||
<script src="assets/js/clicky.js"></script>
|
|
||||||
<script src="assets/js/q.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/" 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>
|
|
||||||
<div id="bodydiv">
|
|
||||||
<body onload="medalclips()">
|
|
||||||
<div id="rc_logo">
|
|
||||||
<a href="#" title="Logo">AWEX</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="rc_nav" id="centered_nav">
|
|
||||||
<a href="#" title="Home">Home</a>
|
|
||||||
<a href="https://awexxx.xyz/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()">☰</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<section class="home" style="background-image: url('assets/img/code.png');">
|
<!-- Scripts -->
|
||||||
</section>
|
<script src="assets/js/medal.js"></script>
|
||||||
<div>
|
|
||||||
<br />
|
|
||||||
|
|
||||||
<section id="welcome">
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
|
||||||
<h2>Welcome to my website!</h2>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
||||||
<p>Name's awex / Alex. I'm a dev and do dev stuff with Node.js, Python and more :)</p>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.bundle.min.js"></script>
|
||||||
</section>
|
<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>
|
||||||
<!--The good stuff. My Projects! -->
|
<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>
|
||||||
<section id="pcn">
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
|
||||||
<h1 style="padding-top:10px;">Projects</h1>
|
<script type="text/javascript">
|
||||||
<hr>
|
$(document).ready(function () {
|
||||||
<h2><a href="mcw">Medal Clip Webhook</a></h2>
|
$('.navbar-light .dmenu').hover(function () {
|
||||||
<p>Being a Medal user, I've seen some Guilded or even Slack users want Medal clip sharing for their platform.<br> While using it directly from the app is easier, I decided to make an app that can send a webhook message to either platform with a clip link.<br>
|
$(this).find('.sm-menu').first().stop(true, true).slideDown(150);
|
||||||
This can be <a href="https://github.com/awexxx/medal-clip-webhook/wiki">Self Hosted</a>, but you'll need some HTML and Javascript experience most likely (depending on what you want to do with it).</p>
|
}, function () {
|
||||||
|
$(this).find('.sm-menu').first().stop(true, true).slideUp(105)
|
||||||
<h2>Contact Me</h2>
|
});
|
||||||
<p>My email is hi@awexxx.xyz, feel free to <a href="mailto:hi@awexxx.xyz">email me</a> there!</p>
|
});
|
||||||
|
</script>
|
||||||
<section id="socials">
|
|
||||||
<h3>Follow me on my socials!</h3>
|
<!-- Meta Tags -->
|
||||||
<hr>
|
<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">
|
||||||
<h2>Check out my <a href="https://github.com/awexxx" target="_blank">GitHub</a> page!</h2>
|
<meta content="https://awexxx.xyz/" property="og:url">
|
||||||
<a href="https://github.com/awexxx/awexxx.github.io"><img src="https://gh-card.dev/repos/awexxx/awexxx.github.io.svg"></a>
|
<meta content="#9c2d1c" data-react-helmet="true" name="theme-color">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
<h2 id="twitter">Follow me on <span style="color:blue;"><a href="https://twitter.com/_awexx" target="_blank">Twitter!</a></span></h2>
|
|
||||||
<div style="text-align:center;">
|
|
||||||
<blockquote class="twitter-tweet tw-align-center"><p lang="nl" dir="ltr">cheesborbger</p>— Alex // awexx (@_awexx) <a href="https://twitter.com/_awexx/status/1400755782409412608?ref_src=twsrc%5Etfw">June 4, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<h2 id="medal">Follow me on <span style="color:orange;"><a href="https://medal.tv/itsawexx" target="_blank">Medal!</a></span></h2>
|
|
||||||
|
|
||||||
<div id="clip"></div>
|
|
||||||
<span id="title"></span><br /><br />
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<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://awexxx.xyz/mcw">Medal Clip Webhook</a></li>
|
|
||||||
</ul>
|
|
||||||
<p class="copyright">hi@awexxx.xyz<br>
|
|
||||||
<div id="quote"></div>
|
|
||||||
<script>
|
<script>
|
||||||
var quoteArray = ['You forget a thousand things every day, you make sure this is one of em.', 'THE DAMN SEMI COLON', `<a onclick="clickyBoy()" id="consolelog">console.log('go away')</a>`, `if else if else if else if else if else if else if elsfi fisafhjdskflsdf`,
|
window.onload = medalclips
|
||||||
`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 === `<a onclick="clickyBoy()" id="consolelog">console.log('go away')</a>`) {
|
|
||||||
console.log(`go away (no, this isn't a mistake, i actually hard coded this in lmao)\nYou found the easter egg :)\nBut wait.. something isn't right.. click it!`)
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</footer>
|
<nav class="navbar navbar-expand-sm navbar-light bg-light">
|
||||||
</div>
|
<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"><Awex /><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="#about">About</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="#projects">Recent Projects</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>
|
||||||
|
</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>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="welcome">
|
||||||
|
<span id="welcomespan"><h3>Awex</h3>
|
||||||
|
<h2>Developer | Gamer | Sleeper</h2></span>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<!-- Social Icons -->
|
||||||
|
<div id="social">
|
||||||
|
<a href="https://twitter.com/lulawex" target="_blank"><ion-icon name="logo-twitter"></ion-icon></a>
|
||||||
|
<a href="mailto:hi@awexxx.xyz" target="_blank"><ion-icon name="mail-outline"></ion-icon></a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="bootstrap-iso">
|
||||||
|
<!-- About Me Section -->
|
||||||
|
<section id="about">
|
||||||
|
<div id="aboutContainer">
|
||||||
|
<h3>About Me</h3>
|
||||||
|
<p>I am a self-taught Node.js and Python developer, working on my own projects on my own time.. when I feel like it >:(<br>
|
||||||
|
I started coding and playing with development in late 2020 and have since dipped into building apps to make my life, along with yours, easier!<br>
|
||||||
|
<strong>Interested in what I've built?</strong> Keep reading down on this site, you'll love it!</p>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div style="text-align:center;">
|
||||||
|
<p id="intermission"><i>psst, ps: follow me on Twitter ;o</i></p>
|
||||||
|
<blockquote class="twitter-tweet tw-align-center"><p lang="nl" dir="ltr">cheesborbger</p>— Alex // awexx (@_awexx) <a href="https://twitter.com/_awexx/status/1400755782409412608?ref_src=twsrc%5Etfw">June 4, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<!-- Projects Section -->
|
||||||
|
<section id="projects">
|
||||||
|
<div id="projectsContainer">
|
||||||
|
<h3>Projects</h3>
|
||||||
|
<p><strong>What projects have you worked on</strong>, you ask, well I'm here to answer that question! (there's a bit omg)</p>
|
||||||
|
<hr style="width:30%;">
|
||||||
|
|
||||||
|
<h4>Medal Clip Webhook</h4>
|
||||||
|
<p>This is a simple web app that POSTs to a Discord webhook.<br>
|
||||||
|
It allows users outside of the <a href="https://medal.tv" target="_blank">Medal.tv</a> platform to allow their users to share their clips to Discord without the app (ex. for Mac users).</p>
|
||||||
|
|
||||||
|
<h4>mcsrvstat-wrapper</h4>
|
||||||
|
<p>This is a simple Node.js wrapper that allows users to easily fetch the status of their (or someone elses doesn't matter) Minecraft server via the <a href="https://mcsrvstat.us">MCSRVSTAT API</a>.</p>
|
||||||
|
|
||||||
|
<h4>medaltv-wrapper</h4>
|
||||||
|
<p>This is yet another Node.js (soon web) wrapper that allows you to easily fetch Medal clips from the <a href="https://docs.medal.tv" target="_blank">Medal.tv REST API</a>.</p>
|
||||||
|
|
||||||
|
<h4>..and more (that this page doesn't have room to fit)!</h4>
|
||||||
|
<p>Check out my <a href="https://github.com/awexxx" target="_blank">GitHub Page</a> for all of the projects I've worked on!</p>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<div style="text-align:center">
|
||||||
|
<p id="intermission"><i>another ps: follow me on <a href="https://medal.tv/lulawex" target="_blank">Medal!</a></i></p>
|
||||||
|
<div id="clip"></div>
|
||||||
|
<span id="title"></span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<!-- Experienced Section -->
|
||||||
|
<section id="experienced">
|
||||||
|
<h3>Currently Skilled In</h3>
|
||||||
|
<p>Currently, I'm focusing on server-side development with languages like Node.js, making APIs and tools that help make my life easier.<br>
|
||||||
|
Besides Node.js, I'm also working on perfecting Python, HTML, CSS and more! My Python is the best out of the 3, but I'm getting better everyday!<br>
|
||||||
|
Again, if you want to see some projects, check out my <a href="https://github.com/awexxx" target="_blank">Github Profile</a>, (almost) every project I've ever worked on is there!</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<!-- Say Hi! -->
|
||||||
|
<section id="hi" style="text-align:center;">
|
||||||
|
<h3>Say hi!</h3>
|
||||||
|
<p>My email is <strong>hi@awexxx.xyz</strong>, you can reach out to me there or even say hi!</p>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<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>
|
</body>
|
||||||
</div>
|
</html>
|
||||||
</html>
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.home {
|
body {
|
||||||
width: 100%;
|
background-color:#dedede;
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
a{
|
|
||||||
color:black;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover {
|
|
||||||
color:white;
|
|
||||||
}
|
|
||||||
|
|
||||||
i{
|
|
||||||
font-size:20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
body p{
|
|
||||||
text-align:center;
|
|
||||||
color:#d4d4d4;
|
|
||||||
font-size:20px;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
|
||||||
function myFunction() {
|
|
||||||
var x = document.getElementById("centered_nav");
|
|
||||||
if (x.className === "rc_nav") {
|
|
||||||
x.className += " responsive";
|
|
||||||
} else {
|
|
||||||
x.className = "rc_nav";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"provider_name": "Awex Screenshots",
|
|
||||||
"type": "photo"
|
|
||||||
}
|
|
||||||
@@ -1,183 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>HiveMC >> Awex</title>
|
|
||||||
<!-- Stylesheets -->
|
|
||||||
<link rel="stylesheet" href="assets/css/style-new.css">
|
|
||||||
<link rel="stylesheet" href="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">
|
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/plaguecraft-team/pcn-web/storage/assets/css/form.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="assets/js/hiveLookup.js"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/gh/awexxx/awexxx.github.io/assets/js/hidePanel.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/projects/hivemc" 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()">☰</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<section class="home" style="background-image: url('assets/img/mcw-code.png');">
|
|
||||||
</section>
|
|
||||||
<div>
|
|
||||||
<br />
|
|
||||||
|
|
||||||
<h2>HiveMC Stats Lookup</h2>
|
|
||||||
<h3>What happened?</h3>
|
|
||||||
<p>On April 15th, 2021 at 5pm EST // 10pm BST, the HiveMC shut down their Java Edition servers. Their API is up until sometime in 2022, which still has accessible player data.<br>
|
|
||||||
This is complicated for most users, so I decided to make something that can look up this data.<br>
|
|
||||||
<strong>Note:</strong> I do not have a way to save all of this data at the moment.<br> It is recommended you save it yourself via the provided raw JSON link <strong>BEFORE</strong> 2022.</p>
|
|
||||||
|
|
||||||
<form onsubmit="return false">
|
|
||||||
<label style="font-size:20px; text-align:center;" for="fname">In-Game Name</label><br />
|
|
||||||
<input style="font-size:20px;" type="text" id="inputBox" name="playerName" placeholder="Your IGN.." required><br />
|
|
||||||
<input style="font-size:20px;" type="text" id="gameBox" name="gameMode" placeholder="Gamemode (check key below)" required><br />
|
|
||||||
<label style="font-size:20px; text-align:center;">Achievements?</label><br />
|
|
||||||
<input id="checkBox" type="checkbox"><br /><br />
|
|
||||||
<button type="button" onclick="getGamesData()" style="font-size:20px;" class="submit" id="submitBtn">Submit</button><br /><br />
|
|
||||||
</form>
|
|
||||||
<section>
|
|
||||||
<div id="panel"></div>
|
|
||||||
<div id="link"></div>
|
|
||||||
<button type="button" onclick="hidePanel()" style="font-size:20px;" class="hide" id="submitBtn">Hide the Panel</button><br /><br />
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<h2>Game Key</h2>
|
|
||||||
<p>You'll need to insert very specific characters in order to get the proper game.<br>
|
|
||||||
Please follow this list to find what you want to look up:<br>
|
|
||||||
sg = Survival Games<br>
|
|
||||||
bp = Block Party<br>
|
|
||||||
cai = Cowboys and Indians<br>
|
|
||||||
dr = Deathrun<br>
|
|
||||||
hb = The Herobrine<br>
|
|
||||||
hero = SG:Heroes<br>
|
|
||||||
hide = Hide and Seek<br>
|
|
||||||
oitc = One in the Chamber<br>
|
|
||||||
sp = Splegg<br>
|
|
||||||
spl = Sploop<br>
|
|
||||||
timv = Trouble in MineVille<br>
|
|
||||||
sky = SkyWars<br>
|
|
||||||
lab = The Lab<br>
|
|
||||||
draw = Draw It<br>
|
|
||||||
ef = Electric Floor<br>
|
|
||||||
grav = Gravity<br>
|
|
||||||
gnt = SkyGiants<br>
|
|
||||||
bd = Battery Dash<br>
|
|
||||||
mimv = Murder in MineVille</p>
|
|
||||||
<h2>Games not supported</h2>
|
|
||||||
<p>I do not have all of the games included on this site since I never managed to play all of them.<br>
|
|
||||||
If you have played one of the following, send an issue on the <a href="https://github.com/awexxx/awexxx/issues" target="_blank">GitHub Repository</a> with the game you want me to add and your IGN.<br>
|
|
||||||
Cranked<br>
|
|
||||||
Slaparoo<br>
|
|
||||||
Music Masters<br>
|
|
||||||
Resturant Rush<br>
|
|
||||||
SkyGiants: Mini<br>
|
|
||||||
Pumpkinfection<br>
|
|
||||||
Survival Games 2<br>
|
|
||||||
<strike>BedWars</strike> - This seems to be a dead endpoint as it just returns an error regardless.<br>
|
|
||||||
Survive the Night<br>
|
|
||||||
Explosive Eggs<br>
|
|
||||||
Snow Wars</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="#">Medal Clip Webhook</a></li>
|
|
||||||
</ul>
|
|
||||||
<p class="copyright">hi@awexxx.xyz<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>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.home {
|
|
||||||
width: 100%;
|
|
||||||
height: 30vh;
|
|
||||||
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;
|
|
||||||
font-size:20px
|
|
||||||
}
|
|
||||||
|
|
||||||
body{
|
|
||||||
background-color:#878787;
|
|
||||||
text-align:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
a{
|
|
||||||
color:black;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover {
|
|
||||||
color:white;
|
|
||||||
}
|
|
||||||
|
|
||||||
i{
|
|
||||||
font-size:20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
body p{
|
|
||||||
text-align:center;
|
|
||||||
color:#d4d4d4;
|
|
||||||
font-size:20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
panel h3{
|
|
||||||
font-size:10px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
function myFunction() {
|
|
||||||
var x = document.getElementById("centered_nav");
|
|
||||||
if (x.className === "rc_nav") {
|
|
||||||
x.className += " responsive";
|
|
||||||
} else {
|
|
||||||
x.className = "rc_nav";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
@@ -1,165 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<title>MCW >> Awex</title>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
<!--===============================================================================================-->
|
|
||||||
<link rel="shortcut icon" type="image/png" href="https://awexxx.xyz/assets/img/logo.png"/>
|
|
||||||
<!--===============================================================================================-->
|
|
||||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/bootstrap/css/bootstrap.min.css">
|
|
||||||
<!--===============================================================================================-->
|
|
||||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/fonts/font-awesome-4.7.0/css/font-awesome.min.css">
|
|
||||||
<!--===============================================================================================-->
|
|
||||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/fonts/iconic/css/material-design-iconic-font.min.css">
|
|
||||||
<!--===============================================================================================-->
|
|
||||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/animate/animate.css">
|
|
||||||
<!--===============================================================================================-->
|
|
||||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/css-hamburgers/hamburgers.min.css">
|
|
||||||
<!--===============================================================================================-->
|
|
||||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/animsition/css/animsition.min.css">
|
|
||||||
<!--===============================================================================================-->
|
|
||||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/select2/select2.min.css">
|
|
||||||
<!--===============================================================================================-->
|
|
||||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/daterangepicker/daterangepicker.css">
|
|
||||||
<!--===============================================================================================-->
|
|
||||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/css/util.css">
|
|
||||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/css/main.css">
|
|
||||||
<!--===============================================================================================-->
|
|
||||||
</head>
|
|
||||||
<body onload="checkparam()">
|
|
||||||
<div id="embed">
|
|
||||||
<div class="limiter">
|
|
||||||
<div class="container-login100" style="background-image: url('https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/images/bg-01.jpg');">
|
|
||||||
<div class="wrap-login100">
|
|
||||||
<form onsubmit="return false" class="login100-form validate-form">
|
|
||||||
<span class="login100-form-logo">
|
|
||||||
<i class="zmdi zmdi-fullscreen"></i>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
<span class="login100-form-title p-b-34 p-t-27">
|
|
||||||
Medal.tv Clip Webhook<br>
|
|
||||||
Embed - <a style="color:white;" href="https://awexxx.xyz/mcw?type=pt">Go to Plaintext</a><br>
|
|
||||||
<a style="color:white;" href="#" onclick="history.back()">Head Back</a>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
<div class="wrap-input100 validate-input">
|
|
||||||
<input class="input100" type="url" name="webhookURL" id="webhookURL" placeholder="Discord Webhook URL">
|
|
||||||
<span class="focus-input100" data-placeholder=""></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="wrap-input100 validate-input">
|
|
||||||
<input class="input100" type="url" id="cliplink" name="clipLink" placeholder="Clip Link">
|
|
||||||
<span class="focus-input100" data-placeholder=""></span>
|
|
||||||
</div>
|
|
||||||
<div class="wrap-input100 validate-input">
|
|
||||||
<input class="input100" type="text" name="medalUsername" id="medalUsername" placeholder="Medal Username">
|
|
||||||
<span class="focus-input100" data-placeholder=""></span>
|
|
||||||
</div>
|
|
||||||
<div class="wrap-input100 validate-input">
|
|
||||||
<input class="input100" type="text" name="caption" id="caption" placeholder="Caption">
|
|
||||||
<span class="focus-input100" data-placeholder=""></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="container-login100-form-btn">
|
|
||||||
<button class="login100-form-btn" onclick="postEmbed()">
|
|
||||||
<i class="zmdi zmdi-mail-send"></i>Submit
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="pt" style="display:none;">
|
|
||||||
<div class="limiter">
|
|
||||||
<div class="container-login100" style="background-image: url('https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/images/bg-01.jpg');">
|
|
||||||
<div class="wrap-login100">
|
|
||||||
<form onsubmit="return false" class="login100-form validate-form"">
|
|
||||||
<span class="login100-form-logo">
|
|
||||||
<i class="zmdi zmdi-fullscreen"></i>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
<span class="login100-form-title p-b-34 p-t-27">
|
|
||||||
Medal.tv Clip Webhook<br>
|
|
||||||
Plaintext - <a href="https://awexxx.xyz/mcw?type=embed">Go to Embed</a><br>
|
|
||||||
<a style="color:white;" href="#" onclick="history.back()">Head Back</a>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
<div class="wrap-input100 validate-input">
|
|
||||||
<input class="input100" type="url" name="webhookURL" id="webhookURLpt" placeholder="Discord Webhook URL">
|
|
||||||
<span class="focus-input100" data-placeholder=""></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="wrap-input100 validate-input">
|
|
||||||
<input class="input100" type="url" name="clipLink" id="cliplinkpt" placeholder="Clip Link">
|
|
||||||
<span class="focus-input100" data-placeholder=""></span>
|
|
||||||
</div>
|
|
||||||
<div class="wrap-input100 validate-input">
|
|
||||||
<input class="input100" type="text" name="medalUsername" id="medalUsernamept" placeholder="Medal Username">
|
|
||||||
<span class="focus-input100" data-placeholder=""></span>
|
|
||||||
</div>
|
|
||||||
<div class="wrap-input100 validate-input">
|
|
||||||
<input class="input100" type="text" name="caption" id="captionpt" placeholder="Caption">
|
|
||||||
<span class="focus-input100" data-placeholder=""></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="container-login100-form-btn">
|
|
||||||
<button class="login100-form-btn" onclick="postPlain()">
|
|
||||||
<i class="zmdi zmdi-mail-send"></i>Submit
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div></div>
|
|
||||||
|
|
||||||
<div id="success" style="display:none;">
|
|
||||||
<div class="limiter">
|
|
||||||
<div class="container-login100" style="background-image: url('https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/images/bg-02.jpg');">
|
|
||||||
<div class="wrap-login100" style="text-align:center;">
|
|
||||||
<h2>You did it!</h2>
|
|
||||||
<br /><p style="color:black; font-size:20px;">You shared a clip to a server! Poggers!<br />
|
|
||||||
Check the server for the clip you shared ;)</p>
|
|
||||||
<p><a style="color:white; font-size:20px;" href="#" onclick="history.back()">Head Back</a></p>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<p style="color:black;"><i>Have problems? <a href="https://github.com/awexxx/medal-clip-webhook/issues">Open an issue!</i></p>
|
|
||||||
<p style="color:black;"><i><a href="https://github.com/awexxx/medal-clip-webhook">Fork this project!</a></p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div></div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="dropDownSelect1"></div>
|
|
||||||
|
|
||||||
<!--===============================================================================================-->
|
|
||||||
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/jquery/jquery-3.2.1.min.js"></script>
|
|
||||||
<!--===============================================================================================-->
|
|
||||||
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/animsition/js/animsition.min.js"></script>
|
|
||||||
<!--===============================================================================================-->
|
|
||||||
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/bootstrap/js/popper.js"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/bootstrap/js/bootstrap.min.js"></script>
|
|
||||||
<!--===============================================================================================-->
|
|
||||||
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/select2/select2.min.js"></script>
|
|
||||||
<!--===============================================================================================-->
|
|
||||||
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/daterangepicker/moment.min.js"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/daterangepicker/daterangepicker.js"></script>
|
|
||||||
<!--===============================================================================================-->
|
|
||||||
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/vendor/countdowntime/countdowntime.js"></script>
|
|
||||||
<!--===============================================================================================-->
|
|
||||||
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/js/main.js"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/gh/awexxx/medal-clip-webhook/assets/js/slideshow.js"></script>
|
|
||||||
<script src="assets/js/mcw/embed.js"></script>
|
|
||||||
<script src="assets/js/mcw/pt.js"></script>
|
|
||||||
<script src="https://awexxx.xyz/assets/js/q.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
-137
@@ -1,137 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>SplitStat >> Awex</title>
|
|
||||||
<!-- Stylesheets -->
|
|
||||||
<link rel="stylesheet" href="assets/css/style-new.css">
|
|
||||||
<link rel="stylesheet" href="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="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/splitstat" 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="#" 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()">☰</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<section class="home" style="background-image: url('assets/img/mcw-code.png');">
|
|
||||||
</section>
|
|
||||||
<div>
|
|
||||||
<br />
|
|
||||||
|
|
||||||
<h2>See your Splitgate stats -- all from the comfort of Discord</h2>
|
|
||||||
<p>Get some stats with one command! Splitstat is the free, <a href="https://github.com/awexxx/splitstat">open-source</a> Discord bot to check up on how you're doing in-game!<br>
|
|
||||||
<i>Note: This can only look up Steam users at the moment until XBL & PSN support is implemented on Tracker.gg's side.</i></p>
|
|
||||||
<p>To learn how to find your profile, see <strong>spl!idhelp</strong>!</p>
|
|
||||||
<h1>Commands</h1>
|
|
||||||
<p><strong>Prefix is spl!</strong><br>
|
|
||||||
ping<br>
|
|
||||||
stat<br>
|
|
||||||
cat<br>
|
|
||||||
idhelp<br>
|
|
||||||
help</p>
|
|
||||||
|
|
||||||
<img src="/assets/img/example.png"><br><hr>
|
|
||||||
|
|
||||||
<h1>Want to invite it?</h1>
|
|
||||||
<p>Click on <a href="https://discord.com/api/oauth2/authorize?client_id=868689248218411050&permissions=117760&scope=bot">this</a> to add it to your server!</p>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="footer-basic">
|
|
||||||
<footer>
|
|
||||||
<div class="social"><a href="https://instagram.com/lulawex"><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://awexxx.xyz/mcw">Medal Clip Webhook</a></li>
|
|
||||||
</ul>
|
|
||||||
<p class="copyright">hi@awexxx.xyz<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>
|
|
||||||
</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;
|
|
||||||
}
|
|
||||||
|
|
||||||
a{
|
|
||||||
color:black;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover {
|
|
||||||
color:white;
|
|
||||||
}
|
|
||||||
|
|
||||||
i{
|
|
||||||
font-size:20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
body p{
|
|
||||||
text-align:center;
|
|
||||||
color:#d4d4d4;
|
|
||||||
font-size:20px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
function myFunction() {
|
|
||||||
var x = document.getElementById("centered_nav");
|
|
||||||
if (x.className === "rc_nav") {
|
|
||||||
x.className += " responsive";
|
|
||||||
} else {
|
|
||||||
x.className = "rc_nav";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
@@ -1,159 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Fail! >> 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/status/fail" 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()">☰</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<section class="home" style="background-image: url('../assets/img/mcw-code.png');">
|
|
||||||
</section>
|
|
||||||
<div>
|
|
||||||
<br />
|
|
||||||
|
|
||||||
<h3>Woo! You suck!</h3>
|
|
||||||
<p>Yeah you didn't do it right. Either you did something and broke it or I did something that broke it, idk<br>
|
|
||||||
Try again and make sure you did everything right, you can click <a href="#/" onclick="setNon()">here</a> to go back.</p>
|
|
||||||
|
|
||||||
<div id="haha" style="display:none;">
|
|
||||||
<p>LUL ahah im a funny guy, nah but fr click <a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">here</a> to go back.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<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>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
function setNon() {
|
|
||||||
var haha = document.getElementById("haha")
|
|
||||||
haha.style.display = "block";
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</footer>
|
|
||||||
</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;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
font-size:25px;
|
|
||||||
}
|
|
||||||
|
|
||||||
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>
|
|
||||||
@@ -1,147 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Success! >> 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>
|
|
||||||
<!-- 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 a dev and do dev stuff k bye" property="og:description">
|
|
||||||
<meta content="https://awexxx.xyz/status/success" 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()">☰</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<section class="home" style="background-image: url('https://awexxx.xyz/assets/img/mcw-code.png');">
|
|
||||||
</section>
|
|
||||||
<div>
|
|
||||||
<br />
|
|
||||||
|
|
||||||
<h3>Woo! You did it!</h3>
|
|
||||||
<p>I'm a computer, so I have no clue what you did, but you did it! Woo!<br>
|
|
||||||
<i>P.S: You can go back by clicking <a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">here.</a></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/_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>
|
|
||||||
</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;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
font-size:25px;
|
|
||||||
}
|
|
||||||
|
|
||||||
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>
|
|
||||||
+108
-144
@@ -1,58 +1,105 @@
|
|||||||
<!-- <html>
|
<style>
|
||||||
|
html {
|
||||||
|
scroll-behavior: smooth;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
border-color:black;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>POggers</title>
|
<title>Awex >> Discord Embed Creator</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="stylesheet" href="../assets/css/form.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>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<form action="http://localhost:5000/tools/discord" method="POST">
|
|
||||||
<input type="text" name="url" placeholder="url" required><br>
|
|
||||||
<input type="text" name="disuser" placeholder="user"><br>
|
|
||||||
<input type="text" name="description" placeholder="desc"><br>
|
|
||||||
<input type="text" name="image" placeholder="image"><br>
|
|
||||||
<input type="text" name="title" placeholder="title" required></input><br>
|
|
||||||
<input type="text" name="color" placeholder="color" required></input>
|
|
||||||
<button type="submit">submit</button>
|
|
||||||
</form>
|
|
||||||
</body>
|
|
||||||
</html> -->
|
|
||||||
|
|
||||||
|
<nav class="navbar navbar-expand-sm navbar-light bg-light">
|
||||||
<!DOCTYPE html>
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo03" aria-controls="navbarTogglerDemo03" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
<html>
|
<span class="navbar-toggler-icon"></span>
|
||||||
<head>
|
</button>
|
||||||
<title>Tools >> Awex</title>
|
|
||||||
<!-- Stylesheets -->
|
|
||||||
<link rel="stylesheet" href="../assets/css/style-new.css">
|
|
||||||
<link rel="stylesheet" href="../assets/css/footer.css">
|
|
||||||
<link rel="stylesheet" href="../assets/css/form.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>
|
|
||||||
<!-- 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/tools" 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">
|
<div class="collapse navbar-collapse" id="navbarTogglerDemo03">
|
||||||
<a href="https://awexxx.xyz/" title="Home">Home</a>
|
<ul class="navbar-nav mr-auto mt-2 mt-lg-0">
|
||||||
<a href="/about" title="About">About</a>
|
<li class="nav-item">
|
||||||
<a href="/projects" title="Projects">Projects</a>
|
<a class="nav-link"><Awex /><span class="sr-only"></span></a>
|
||||||
<a href="/tools" title="Tools">Tools</a>
|
</li>
|
||||||
<a href="javascript:void(0);" title="Menu" style="font-size:18px;" class="icon" onclick="myFunction()">☰</a>
|
<li class="nav-item">
|
||||||
</div>
|
<a class="nav-link" href="https://awexxx.xyz">Home <span class="sr-only">(current)</span></a>
|
||||||
<br>
|
</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="#">Discord Webhook Sender</a>
|
||||||
|
<!-- <a class="dropdown-item" href="#">yes</a> -->
|
||||||
|
</div>
|
||||||
|
</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>
|
||||||
|
</nav><br>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="form">
|
||||||
<h3>Discord Webhook -- Embed Creator</h3>
|
<h3>Discord Webhook -- Embed Creator</h3>
|
||||||
<hr>
|
<hr>
|
||||||
<form action="https://api.awexxx.xyz/tools/discord" method="POST">
|
<form action="https://api.awexxx.xyz/tools/discord" method="POST">
|
||||||
@@ -65,106 +112,23 @@
|
|||||||
<input style="font-size: 15px;" type="text" id="color" name="color" placeholder="Color (NOT HEX, NUMERICAL FORM).." required></input><br>
|
<input style="font-size: 15px;" type="text" id="color" name="color" placeholder="Color (NOT HEX, NUMERICAL FORM).." required></input><br>
|
||||||
<button class="button" id="submit" type="submit">Submit..</button><br><br>
|
<button class="button" id="submit" type="submit">Submit..</button><br><br>
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="footer-basic">
|
<div class="footer-basic">
|
||||||
<footer>
|
<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>
|
<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">
|
<ul class="list-inline">
|
||||||
<li class="list-inline-item"><a href="mailto:alex@plaguecraft.xyz">Contact Me</a></li>
|
<li class="list-inline-item"><a href="https://mcw.awexxx.xyz">Medal Clip Webhook</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<p class="copyright">Awexxx © 2021<br>
|
<p class="copyright">hi@awexxx.xyz<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>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
</body>
|
||||||
</body>
|
</html>
|
||||||
</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;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
font-size:25px;
|
|
||||||
}
|
|
||||||
|
|
||||||
button[type=submit] {
|
<style>
|
||||||
background-color:gray;
|
body {
|
||||||
color:#fff;
|
background-color:#dedede;
|
||||||
padding:12px 20px;
|
}
|
||||||
border:none;
|
</style>
|
||||||
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>
|
|
||||||
@@ -1,124 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Tools >> Awex</title>
|
|
||||||
<!-- Stylesheets -->
|
|
||||||
<link rel="stylesheet" href="../assets/css/style-new.css">
|
|
||||||
<link rel="stylesheet" href="../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>
|
|
||||||
<!-- 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/tools" 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="#" title="Tools">Tools</a>
|
|
||||||
<a href="javascript:void(0);" title="Menu" style="font-size:18px;" class="icon" onclick="myFunction()">☰</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="padding-top:30px">
|
|
||||||
<h3>Tools (made by Awex) Directory</h3>
|
|
||||||
<p><a href="/tools/discord">Discord Embed Maker</a></p>
|
|
||||||
<!-- <p><a href=""></a></p> -->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<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>
|
|
||||||
</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;
|
|
||||||
}
|
|
||||||
|
|
||||||
a{
|
|
||||||
color:black;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover {
|
|
||||||
color:white;
|
|
||||||
}
|
|
||||||
|
|
||||||
i{
|
|
||||||
font-size:20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
body p{
|
|
||||||
text-align:center;
|
|
||||||
color:#d4d4d4;
|
|
||||||
font-size:20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
font-size:25px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
function myFunction() {
|
|
||||||
var x = document.getElementById("centered_nav");
|
|
||||||
if (x.className === "rc_nav") {
|
|
||||||
x.className += " responsive";
|
|
||||||
} else {
|
|
||||||
x.className = "rc_nav";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
Reference in New Issue
Block a user