new site whoop
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
theme: jekyll-theme-cayman
|
|
||||||
@@ -1,85 +0,0 @@
|
|||||||
const express = require('express');
|
|
||||||
const cors = require('cors');
|
|
||||||
const morgan = require('morgan');
|
|
||||||
const axios = require('axios');
|
|
||||||
const chalk = require('chalk');
|
|
||||||
const discord = require('discord.js');
|
|
||||||
|
|
||||||
const app = express();
|
|
||||||
|
|
||||||
// .use statements
|
|
||||||
app.use(express.json());
|
|
||||||
app.use(cors());
|
|
||||||
app.use(morgan('dev'));
|
|
||||||
|
|
||||||
// GET Endpoints
|
|
||||||
app.get('/', (req, res) => {
|
|
||||||
return res.send({ "status": 200 })
|
|
||||||
})
|
|
||||||
|
|
||||||
// POST Endpoints
|
|
||||||
app.post('/splitstat/webhook', async (req, res) => {
|
|
||||||
if(req.headers['authorization'] === `${process.env.auth}`) {
|
|
||||||
try {
|
|
||||||
if(req.body.user) {
|
|
||||||
const webhookClient = new discord.WebhookClient({ id: process.env.webhookId, token: process.env.webhookToken });
|
|
||||||
|
|
||||||
const user = await axios.get(`https://discord.com/api/users/${req.body.user}`, {
|
|
||||||
method: 'GET',
|
|
||||||
headers: { 'authorization': `Bot ${process.env.token}` }
|
|
||||||
})
|
|
||||||
|
|
||||||
await webhookClient.send({
|
|
||||||
content: `Thanks **${user.data.username}#${user.data.discriminator}** for [voting for SplitStat](https://top.gg/bot/868689248218411050/vote) on **Top.gg**!`,
|
|
||||||
username: `SplitStat - Voting!`,
|
|
||||||
avatarURL: `https://cdn.discordapp.com/app-icons/868689248218411050/cfb8eb37a8dcacefc9228d0949667ff1.png`
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
res.status(500).send({ "stauts": 500, "message": "Incorrect payload sent" })
|
|
||||||
}
|
|
||||||
|
|
||||||
} catch(err) {
|
|
||||||
console.log(chalk.redBright.bold(`API error!`), err)
|
|
||||||
return res.status(500).send({ "status": 500, "errors": err.message })
|
|
||||||
}
|
|
||||||
|
|
||||||
return res.status(200).send({ "status": 200, "message": "Event successfully emitted to Discord" })
|
|
||||||
} else {
|
|
||||||
res.status(401).send({ "status": 401, "message": "Only top.gg is authorized to post here. Go away." })
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
app.post(`/website/webhook`, async (req, res) => {
|
|
||||||
if (req.body) {
|
|
||||||
var data = axios.post(process.env.discordContact, {
|
|
||||||
username: req.body.username,
|
|
||||||
content: req.body.content,
|
|
||||||
embeds: req.body.embeds
|
|
||||||
})
|
|
||||||
.then(function(response) {
|
|
||||||
if (response.status !== 200) {
|
|
||||||
return res.status(response.status).send({"status":200})
|
|
||||||
} else {
|
|
||||||
return res.status(200).send({"status":200})
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.catch(function(err) {
|
|
||||||
console.log(err.toJSON());
|
|
||||||
return res.status(500).send({ "status": 500 })
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
return res.status(404)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
app.use(function (req, res, next) {
|
|
||||||
res.status(404).send({ "status": 404, "message": `Sorry, that endpoint (${req.path}) does not exist.` })
|
|
||||||
})
|
|
||||||
|
|
||||||
app.use(function (error, req, res, next) {
|
|
||||||
res.status(500).send({ "status": 500, "message": "Something broke! Looking into it :)" })
|
|
||||||
})
|
|
||||||
|
|
||||||
app.listen(process.env.PORT || 3000, () => {
|
|
||||||
console.log(`Started`)
|
|
||||||
})
|
|
||||||
Generated
-1608
File diff suppressed because it is too large
Load Diff
@@ -1,21 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "api",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"description": "",
|
|
||||||
"main": "index.js",
|
|
||||||
"scripts": {
|
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
|
||||||
},
|
|
||||||
"keywords": [],
|
|
||||||
"author": "Awex",
|
|
||||||
"license": "ISC",
|
|
||||||
"dependencies": {
|
|
||||||
"axios": "^0.24.0",
|
|
||||||
"chalk": "^4.1.2",
|
|
||||||
"cors": "^2.8.5",
|
|
||||||
"discord.js": "^13.3.0",
|
|
||||||
"dotenv": "^10.0.0",
|
|
||||||
"express": "^4.17.1",
|
|
||||||
"morgan": "^1.10.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
.footer-basic {
|
|
||||||
padding:35px 0;
|
|
||||||
background-color:#4a4a4a;
|
|
||||||
color:#4b4c4d;
|
|
||||||
}
|
|
||||||
|
|
||||||
.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:white;
|
|
||||||
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:white;
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
#quote p{
|
|
||||||
text-align:center;
|
|
||||||
font-size:15px;
|
|
||||||
color:white;
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
input[type=text], select, textarea {
|
|
||||||
width: 20%; /* Full width */
|
|
||||||
padding: 12px; /* Some padding */
|
|
||||||
border: 1px solid #ccc; /* Gray border */
|
|
||||||
border-radius: 4px; /* Rounded borders */
|
|
||||||
box-sizing: border-box; /* Make sure that padding and width stays in place */
|
|
||||||
margin-top: 6px; /* Add a top margin */
|
|
||||||
margin-bottom: 16px; /* Bottom margin */
|
|
||||||
resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Style the submit button with a specific background color etc */
|
|
||||||
button[type=button] {
|
|
||||||
background-color: gray;
|
|
||||||
color: white;
|
|
||||||
padding: 12px 20px;
|
|
||||||
border: none;
|
|
||||||
border-radius: 4px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* When moving the mouse over the submit button, add a darker green color */
|
|
||||||
input[type=submit]:hover {
|
|
||||||
background-color: #45a049;
|
|
||||||
}
|
|
||||||
@@ -1,54 +0,0 @@
|
|||||||
html, body {
|
|
||||||
position: relative;
|
|
||||||
margin: 0;
|
|
||||||
height: 1500px;
|
|
||||||
text-align:center;
|
|
||||||
}
|
|
||||||
#image {
|
|
||||||
width: 100%;
|
|
||||||
height: 100vh;
|
|
||||||
min-height: 600px;
|
|
||||||
display: block;
|
|
||||||
position: relative;
|
|
||||||
left: 0;
|
|
||||||
z-index:-1;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-image: url('/assets/image/profile.png');
|
|
||||||
}
|
|
||||||
|
|
||||||
.border {
|
|
||||||
text-align:center;
|
|
||||||
overflow:hidden;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
background-color: #6e6754;
|
|
||||||
border-radius:20px;
|
|
||||||
padding-top:10px;
|
|
||||||
padding-bottom:10px;
|
|
||||||
min-width:5%;
|
|
||||||
max-width:35%;
|
|
||||||
min-height:4%;
|
|
||||||
color:azure;
|
|
||||||
}
|
|
||||||
|
|
||||||
.banner {
|
|
||||||
/* background-image: url('../image/profile/banner.jpg');
|
|
||||||
background-repeat:no-repeat;
|
|
||||||
background-position:center; */
|
|
||||||
width:100%;
|
|
||||||
max-height:100%;
|
|
||||||
/* height:25%; */
|
|
||||||
}
|
|
||||||
|
|
||||||
.medal-clip {
|
|
||||||
/* float:left; */
|
|
||||||
width:50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
color:#5c5c5c !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover {
|
|
||||||
color:#878787;
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
.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;
|
|
||||||
}
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 10 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 77 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 29 KiB |
@@ -1,39 +0,0 @@
|
|||||||
async function sendContact() {
|
|
||||||
var email = document.getElementById("email").value;
|
|
||||||
var subject = document.getElementById("subject").value;
|
|
||||||
var message = document.getElementById("message").value;
|
|
||||||
|
|
||||||
// Start of checks
|
|
||||||
|
|
||||||
if(!email || !message || !subject) {
|
|
||||||
document.getElementById('notification').innerHTML = `<p>Sorry, a field wasn't provided!</p>`
|
|
||||||
} else {
|
|
||||||
const data = {
|
|
||||||
"username": "Site Contact",
|
|
||||||
"content": "Someone sent a request from the website contact page!",
|
|
||||||
"embeds": [
|
|
||||||
{
|
|
||||||
"author": {
|
|
||||||
"name": email,
|
|
||||||
"url": "https://awexxx.xyz"
|
|
||||||
},
|
|
||||||
"title": subject,
|
|
||||||
"description": message
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
await fetch(`https://api.awexxx.xyz/website/webhook`, {
|
|
||||||
method: 'POST',
|
|
||||||
headers: { 'content-type': 'application/json' },
|
|
||||||
body: JSON.stringify(data)
|
|
||||||
})
|
|
||||||
.then(function(response) {
|
|
||||||
if(response.status === 204) {
|
|
||||||
document.getElementById(`notification`).innerHTML = `<p style="color:azure;">Success! That message was successfully sent!</p>`
|
|
||||||
} else if (response.status === 500) {
|
|
||||||
document.getElementById(`notification`).innerHTML = `<p style="color:red;">Uh oh! Something went wrong sending that message.</p>`
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
async function getMedalClip() {
|
|
||||||
var clip = await fetch(`https://developers.medal.tv/v1/latest?userId=215577&limit=2`, {
|
|
||||||
method: 'GET',
|
|
||||||
headers: { 'content-type': 'application/json', 'authorization': 'pub_HJcYn9DsxH0iW0N8iCqLPUddAr7hiyo2' }
|
|
||||||
}).then (response => response.json());
|
|
||||||
|
|
||||||
document.querySelector('.c1iframe').innerHTML = clip.contentObjects[0].embedIframeCode
|
|
||||||
document.querySelector('.c1title').innerHTML = `<p>${clip.contentObjects[0].contentTitle}</p>`
|
|
||||||
|
|
||||||
|
|
||||||
console.log(clip)
|
|
||||||
}
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
// a key map of allowed keys
|
|
||||||
var allowedKeys = {
|
|
||||||
37: 'left',
|
|
||||||
38: 'up',
|
|
||||||
39: 'right',
|
|
||||||
40: 'down',
|
|
||||||
65: 'a',
|
|
||||||
66: 'b'
|
|
||||||
};
|
|
||||||
|
|
||||||
var code = ['up', 'up', 'down', 'down', 'left', 'right', 'left', 'right', 'b', 'a'];
|
|
||||||
var pos = 0;
|
|
||||||
|
|
||||||
// add keydown event listener
|
|
||||||
document.addEventListener('keydown', function(e) {
|
|
||||||
var key = allowedKeys[e.keyCode];
|
|
||||||
var requiredKey = code[pos];
|
|
||||||
if (key == requiredKey) {
|
|
||||||
pos++;
|
|
||||||
if (pos == code.length) {
|
|
||||||
location = `https://www.youtube.com/watch?v=dQw4w9WgXcQ`
|
|
||||||
pos = 0;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
pos = 0;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
@@ -1,67 +0,0 @@
|
|||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>lulawexlive > Contact</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<link rel="stylesheet" href="/assets/css/main.css">
|
|
||||||
<link rel="stylesheet" href="/assets/css/nav.css">
|
|
||||||
<link rel="stylesheet" href="/assets/css/footer.css">
|
|
||||||
<link rel="stylesheet" href="/assets/css/form.css">
|
|
||||||
|
|
||||||
<!-- Meta Tags -->
|
|
||||||
<meta property="og:site_name" content="Awex" />
|
|
||||||
<meta content="Awex > Contact" property="og:title">
|
|
||||||
<meta content="https://awexxx.xyz/contact" property="og:url">
|
|
||||||
<meta content="#363636" name="theme-color" data-react-helmet="true">
|
|
||||||
<meta property="og:description" content="lulawexLIVE is a Streamer, YouTuber, Developer and Medal content creator. Awex has worked on many things, including the unofficial MedalClipWebhook and the SplitStat Bot.">
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css">
|
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
|
||||||
|
|
||||||
<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" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
|
|
||||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/skrollr/0.6.29/skrollr.min.js"></script>
|
|
||||||
<script type="text/javascript" src="/assets/js/contact.js"></script>
|
|
||||||
</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">
|
|
||||||
<a class="nav-link"><Awex /><span class="sr-only"></span></a>
|
|
||||||
</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="#">Contact</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<div class="social-part">
|
|
||||||
<a href="https://medal.tv/users/215577" target="_blank"><img src="/assets/image/medal.jpg" style="padding-right:15px; padding-bottom:3px;"></a>
|
|
||||||
<a href="https://twitter.com/lulawex" style="color:black" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a>
|
|
||||||
<i class="fa fa-instagram" aria-hidden="true"></i>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
<div id="image" style="background-image:url('/assets/image/profile.png'); background-size:2000px; height:30px"></div>
|
|
||||||
|
|
||||||
<div id="container" style="padding-top:30px;">
|
|
||||||
<h3 class="border">Contact me!</h3>
|
|
||||||
<p style="text-align:center;">Want to get a hold of me? Fill out the below form, it will send me a note!</p>
|
|
||||||
|
|
||||||
<div id="contactForm" style="background-color:#2e2e2e; padding-top:10px; padding-bottom:10px; text-align:center;">
|
|
||||||
<div id="form" style="padding-top:50px; padding-bottom:50px;">
|
|
||||||
<input style="font-size: 15px;" type="text" id="email" name="userEmail" placeholder="Your email.." required><br>
|
|
||||||
<input style="font-size: 15px;" type="text" id="subject" name="subject" placeholder="Subject.." required><br>
|
|
||||||
<input style="font-size: 15px;" type="text" id="message" name="message" placeholder="Message.." required><br>
|
|
||||||
<button class="button" id="submit" type="submit" onclick="sendContact()">Submit..</button><br><br>
|
|
||||||
<div id="notification"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div style="padding-top:80px; color:white;">© 2021, lulawexLIVE <br><i>HMU; hi@awexxx.xyz</i></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Redirecting..</title>
|
|
||||||
|
|
||||||
<!-- Meta Tags -->
|
|
||||||
<meta property="og:site_name" content="Awex" />
|
|
||||||
<meta content="Awex > Discord" property="og:title">
|
|
||||||
<meta content="https://awexxx.xyz/discord" property="og:url">
|
|
||||||
<meta content="#363636" name="theme-color" data-react-helmet="true">
|
|
||||||
<meta property="og:description" content="Join the lulawexLIVE Discord Server - news about upcoming events, streams, clips and more! Interact with the community and don't miss a thing.">
|
|
||||||
|
|
||||||
<!-- Redirect -->
|
|
||||||
<meta http-equiv="Refresh" content="1; url='https://discord.gg/vavx4SPMmd'" />
|
|
||||||
</head>
|
|
||||||
</html>
|
|
||||||
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB |
+46
-65
@@ -1,79 +1,60 @@
|
|||||||
<html>
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>lulawexlive > Home</title>
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="/assets/css/main.css">
|
<title>Alex 👋</title>
|
||||||
<link rel="stylesheet" href="/assets/css/nav.css">
|
|
||||||
<link rel="stylesheet" href="/assets/css/footer.css">
|
|
||||||
|
|
||||||
<!-- Meta Tags -->
|
<link rel="stylesheet" href="/static/css/main.css">
|
||||||
<meta property="og:site_name" content="Awex" />
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<meta content="Awex > Home" property="og:title">
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<meta content="https://awexxx.xyz/" property="og:url">
|
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@200&display=swap" rel="stylesheet">
|
||||||
<meta content="#363636" name="theme-color" data-react-helmet="true">
|
|
||||||
<meta property="og:description" content="lulawexLIVE is a Streamer, YouTuber, Developer and Medal content creator. Awex has worked on many things, including the unofficial MedalClipWebhook and the SplitStat Bot.">
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css">
|
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||||
|
|
||||||
<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" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
|
|
||||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/skrollr/0.6.29/skrollr.min.js"></script>
|
|
||||||
<script type="text/javascript" src="/assets/js/medalClip.js"></script>
|
|
||||||
</head>
|
</head>
|
||||||
<body onload="getMedalClip()">
|
<body onload="setClip()">
|
||||||
<nav class="navbar navbar-expand-sm navbar-light bg-light">
|
<div class="welcome"></div>
|
||||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo03" aria-controls="navbarTogglerDemo03" aria-expanded="false" aria-label="Toggle navigation">
|
|
||||||
<a class="nav-link"><Awex /><span class="sr-only"></span></a>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div class="collapse navbar-collapse" id="navbarTogglerDemo03">
|
<div id="welcome-text">
|
||||||
<ul class="navbar-nav mr-auto mt-2 mt-lg-0">
|
<h3>👋, I'm Alex!</h3>
|
||||||
<li class="nav-item">
|
<p>I'm a Javascript & Java developer, working on random Node apps and Minecraft plugins!<br>
|
||||||
<a class="nav-link"><Awex /><span class="sr-only"></span></a>
|
<a href="/links">All of my links can be found here.</a></p>
|
||||||
</li>
|
<hr>
|
||||||
<li class="nav-item">
|
<h4>Projects</h4>
|
||||||
<a class="nav-link" href="/contact">Contact</a>
|
<ul>
|
||||||
</li>
|
<li>A <a href="https://github.com/awexthedev/mcimpos" target="_blank">Minecraft Among Us</a> Minigame (insp by <a href="https://innersloth.com/games/among-us" target="_blank">Innersloth's game</a>)</li>
|
||||||
|
<li>A <a href="https://github.com/awexthedev/sharex-express" target="_blank">ShareX</a> Uploader based in Node.js (<a href="https://github.com/awexthedev/sharex-express" target="_blank">link</a>)</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="social-part">
|
<hr>
|
||||||
<a href="https://medal.tv/users/215577" target="_blank"><img src="/assets/image/medal.jpg" style="padding-right:15px; padding-bottom:3px;"></a>
|
<h4>Partners</h4>
|
||||||
<a href="https://twitter.com/lulawex" style="color:black" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a>
|
<p>I am partnered with <a href="https://medal.tv/u/thatoneawex?ref=awex_partner" target="_blank">Medal.tv</a>, a short-form gaming clip sharing service.</p>
|
||||||
<i class="fa fa-instagram" aria-hidden="true"></i>
|
<div class="medal">
|
||||||
</div>
|
<span id="clip"></span>
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
<div id="image" style="background-image:url('/assets/image/profile.png'); background-size:2000px; height:30px"></div>
|
|
||||||
|
|
||||||
<div id="container">
|
|
||||||
<div id="below" style="background-color:white; text-align:center;"><br>
|
|
||||||
<h3 class="border" style="text-align:center;">About lulawex</h3>
|
|
||||||
<p>lulawexLIVE is a Streamer, YouTuber, Developer and Medal content creator.<br>
|
|
||||||
Awex has worked on many things, including <a href="https://github.com/awexxx/medal-clip-webhook" target="_blank">the unofficial MedalClipWebhook</a> and <a href="" target="_blank">the SplitStat Bot.</a></p>
|
|
||||||
</div>
|
|
||||||
<div id="profiledisplay" style="background-color:#2e2e2e; text-align:center; padding-top:10px; padding-bottom:10px;">
|
|
||||||
<div class="banner">
|
|
||||||
<img style="border-radius:335px; padding-top:10px; width:100px" src="/assets/image/profile/pfp.jpg">
|
|
||||||
<p style="color:white; padding-top:10px;">lulawex on <a href="https://medal.tv/users/215577">Medal.tv</a></p>
|
|
||||||
<p style="color:azure;">Medal.tv is the #1 clipping platform for gamers.<br> Press a button, get a clip. It's that easy.<br>
|
|
||||||
Download Medal today using my <a href="https://medal.tv/thankyou?ref=awex_partner">partner referral link.</a></p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="clipDisplay" style="background-color:white; padding-top:30px; padding-bottom:30px;">
|
<br>
|
||||||
<h3 class="border" style="text-align:center; padding-top:10px;">Latest clip from my Medal profile!</h3>
|
|
||||||
<span style="text-align:center;" class="c1title"></span>
|
<div id="footer">
|
||||||
<div class="c1iframe" style="text-align:center;"></div>
|
<p><a href="mailto:hi@thatalex.dev">Email</a></p>
|
||||||
|
<a href="https://twitter.com/thatawex" style="color:white;" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a>
|
||||||
|
<a href="https://github.com/awexthedev" style="color:white;" target="_blank"><i class="fa fa-github" aria-hidden="true"></i></a>
|
||||||
|
<a href="https://instagram.com/thatoneawex" style="color:white;" target="_blank"><i class="fa fa-instagram" aria-hidden="true"></i></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="/assets/js/secret.js"></script>
|
<script>
|
||||||
<div id="socials" style="background-color:#2e2e2e; padding-top:10px; padding-bottom:10px; text-align:center;">
|
async function setClip() {
|
||||||
<h3 style="color:white;">Socials!</h3>
|
const clipSpan = document.getElementById("clip");
|
||||||
<p style="color:azure;">I am all over! You can find the hub for all of my links <a href="https://linktr.ee/lulawexlive" target="_blank">here.</a></p>
|
const response = await fetch("https://developers.medal.tv/v1/latest?userId=215577&limit=1", {
|
||||||
|
method: "GET",
|
||||||
<div style="padding-top:80px; color:white;">© 2021, lulawexLIVE <br><i>HMU; hi@awexxx.xyz</i></div>
|
headers: {
|
||||||
</div>
|
"authorization": "pub_ecEyOlY5G2u9476DMGOxcxiNcaOTEjmq",
|
||||||
</div>
|
"Content-Type": "application/json"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
const data = await response.json();
|
||||||
|
clipSpan.innerHTML = `${data.contentObjects[0].embedIframeCode}<br>${data.contentObjects[0].contentTitle}`;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>lulawexLIVE >> Links</title>
|
<title>lulawexLIVE >> Links</title>
|
||||||
<link rel="stylesheet" href="assets/css/tree.css">
|
<link rel="stylesheet" href="/static/css/tree.css">
|
||||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css">
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css">
|
||||||
|
|
||||||
<!-- Meta Tags -->
|
<!-- Meta Tags -->
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Redirecting..</title>
|
|
||||||
|
|
||||||
<!-- Meta Tags -->
|
|
||||||
<meta property="og:site_name" content="Awex" />
|
|
||||||
<meta content="Awex > SplitStatBot" property="og:title">
|
|
||||||
<meta content="https://awexxx.xyz/splitstatbot" property="og:url">
|
|
||||||
<meta content="#363636" name="theme-color" data-react-helmet="true">
|
|
||||||
<meta property="og:description" content="Add the SplitStatBot to your server today. Get Splitgate game and match stats, all from the comfort of your Discord server.">
|
|
||||||
|
|
||||||
<!-- Redirect -->
|
|
||||||
<meta http-equiv="Refresh" content="1; url='https://top.gg/bot/868689248218411050'" />
|
|
||||||
</head>
|
|
||||||
</html>
|
|
||||||
@@ -1,70 +0,0 @@
|
|||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>lulawexlive > SplitStat Privacy</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<link rel="stylesheet" href="/assets/css/main.css">
|
|
||||||
<link rel="stylesheet" href="/assets/css/nav.css">
|
|
||||||
<link rel="stylesheet" href="/assets/css/footer.css">
|
|
||||||
|
|
||||||
<!-- Meta Tags -->
|
|
||||||
<meta property="og:site_name" content="Awex" />
|
|
||||||
<meta content="Awex > Home" property="og:title">
|
|
||||||
<meta content="https://awexxx.xyz/splitstatbot/privacy" property="og:url">
|
|
||||||
<meta content="#363636" name="theme-color" data-react-helmet="true">
|
|
||||||
<meta property="og:description" content="Add the SplitStatBot to your server today. Get Splitgate game and match stats, all from the comfort of your Discord server.">
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css">
|
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
|
||||||
|
|
||||||
<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" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
|
|
||||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/skrollr/0.6.29/skrollr.min.js"></script>
|
|
||||||
</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">
|
|
||||||
<a class="nav-link"><Awex /><span class="sr-only"></span></a>
|
|
||||||
</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="/contact">Contact</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<div class="social-part">
|
|
||||||
<a href="https://medal.tv/users/215577" target="_blank"><img src="/assets/image/medal.jpg" style="padding-right:15px; padding-bottom:3px;"></a>
|
|
||||||
<a href="https://twitter.com/lulawex" style="color:black" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a>
|
|
||||||
<i class="fa fa-instagram" aria-hidden="true"></i>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
<div id="image" style="background-image:url('/assets/image/profile.png'); background-size:2000px; height:30px"></div>
|
|
||||||
|
|
||||||
<div id="container">
|
|
||||||
<div id="below" style="background-color:white; text-align:center;"><br>
|
|
||||||
<h3 class="border" style="text-align:center;">SplitStat Privacy Policy</h3>
|
|
||||||
<p>This privacy policy governs the "SplitStat" Discord bot.<br> It will go over what is stored, for how long, and where it's stored. </p>
|
|
||||||
</div>
|
|
||||||
<div id="socials" style="background-color:#2e2e2e; padding-top:10px; padding-bottom:10px; text-align:center; color:azure; list-style-position:inside;">
|
|
||||||
|
|
||||||
<p>SplitStat Bot (subsequently referred to as "we", "our", "us", "the Service") is a Discord Bot provided by Awex.<br>We are not affiliated, but do use, the open services of the following:
|
|
||||||
<ul>
|
|
||||||
<li>Tracker.gg API</li>
|
|
||||||
<li>Medal.tv API</li>
|
|
||||||
</ul><br>
|
|
||||||
Our bot will <strong>only</strong> retain data when we so require it to run the Service. You are free to refuse this, but are required to understand we may not be able to provide the Service when missing certain data.<br>
|
|
||||||
We store your <strong>Platform of choice</strong> and your <strong>Account ID and Discord IDs</strong> when you link. You are not required to link for most features, but you are required to for a few.<br>
|
|
||||||
Our website may hyperlink to sites that are not controlled by SplitStat Bot. We cannot govern the privacy terms of these websites and this policy does not govern the requested site.<br>
|
|
||||||
Unless required by law, your data will never be shared to third-parties.<br>
|
|
||||||
Should you have any concerns with this policy, the rules within or regarding your data, please send an email to <a href="mailto:hi@awexxx.xyz">hi@awexxx.xyz</a>.<br>
|
|
||||||
<i>Last updated as of 01/21/2022</i></p>
|
|
||||||
<div style="padding-top:80px; color:white;">© 2022, lulawexLIVE <br><i>HMU; hi@awexxx.xyz</i></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,58 +0,0 @@
|
|||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>lulawexlive > SplitStatBot Success!</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<link rel="stylesheet" href="/assets/css/main.css">
|
|
||||||
<link rel="stylesheet" href="/assets/css/nav.css">
|
|
||||||
<link rel="stylesheet" href="/assets/css/footer.css">
|
|
||||||
|
|
||||||
<!-- Meta Tags -->
|
|
||||||
<meta property="og:site_name" content="Awex" />
|
|
||||||
<meta content="Awex > SplitStatBot" property="og:title">
|
|
||||||
<meta content="https://awexxx.xyz/splitstatbot" property="og:url">
|
|
||||||
<meta content="#363636" name="theme-color" data-react-helmet="true">
|
|
||||||
<meta property="og:description" content="Add the SplitStatBot to your server today. Get Splitgate game and match stats, all from the comfort of your Discord server.">
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css">
|
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
|
||||||
|
|
||||||
<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" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
|
|
||||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/skrollr/0.6.29/skrollr.min.js"></script>
|
|
||||||
</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">
|
|
||||||
<a class="nav-link"><Awex /><span class="sr-only"></span></a>
|
|
||||||
</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="/contact">Contact</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<div class="social-part">
|
|
||||||
<a href="https://medal.tv/users/215577" target="_blank"><img src="/assets/image/medal.jpg" style="padding-right:15px; padding-bottom:3px;"></a>
|
|
||||||
<a href="https://twitter.com/lulawex" style="color:black" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a>
|
|
||||||
<i class="fa fa-instagram" aria-hidden="true"></i>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
<div id="image" style="background-image:url('/assets/image/profile.png'); background-size:2000px; height:30px"></div>
|
|
||||||
|
|
||||||
<div id="container">
|
|
||||||
<div id="below" style="background-color:white; text-align:center;"><br>
|
|
||||||
<h3 class="border" style="text-align:center;">Thanks for adding!</h3>
|
|
||||||
<p>You're so cool. Adding SplitStat makes you instantly cool. If you have any questions, join the <a href="/discord">Discord server</a>.</p>
|
|
||||||
</div>
|
|
||||||
<div id="socials" style="background-color:#2e2e2e; padding-top:10px; padding-bottom:10px; text-align:center; color:azure; list-style-position:inside;">
|
|
||||||
<div style="padding-top:80px; color:white;">© 2021, lulawexLIVE <br><i>HMU; hi@awexxx.xyz</i></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
body {
|
||||||
|
font-family: 'Fira Sans', sans-serif;
|
||||||
|
font-size:30px;
|
||||||
|
|
||||||
|
background-color: #111;
|
||||||
|
color:azure;
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color:white;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
font-size:20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
font-size:25px;
|
||||||
|
list-style-type:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
width:20%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.welcome {
|
||||||
|
width: 100%;
|
||||||
|
background-image: url('../../static/img/profile.png');
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: cover;
|
||||||
|
height: 305px;
|
||||||
|
background-color: purple;
|
||||||
|
background-position: center;
|
||||||
|
position:relative;
|
||||||
|
top:0px;
|
||||||
|
left:0px;
|
||||||
|
right:0px;
|
||||||
|
display:block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#welcome-text {
|
||||||
|
position:relative;
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 726 KiB After Width: | Height: | Size: 726 KiB |
Reference in New Issue
Block a user