diff --git a/CNAME b/CNAME deleted file mode 100644 index 90ba20d..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -thatalex.dev \ No newline at end of file diff --git a/index.html b/index.html index c001c95..cf49fe7 100644 --- a/index.html +++ b/index.html @@ -4,70 +4,18 @@ - Alex 👋 - - - - - - - - + + - - + + z // alex -
- -
-
-

👋, I'm Alex!

-

I do QA stuff @ Medal.tv & some coding on the side
- Find all my links here!

- -

What am I listening to?

-
- -
-
- -
-

Projects

- -
-

Partners

-

I am partnered with Medal.tv, a short-form gaming clip sharing service.

-
- -
+
+

hi, i'm alex!

+

i work part-time at medal.tv & do backend development in my offtime


+
- -
- - - -

a

- - - - - - \ No newline at end of file diff --git a/links.html b/links.html deleted file mode 100644 index 4a67ac0..0000000 --- a/links.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - Alex > Links - - - - - - - - - - - - -
- Alex -
- -
- quality assurance @ medal.tv -
- - - -
- This was built on Tree, a linktr.ee alternative. -
- - - - diff --git a/splitstat/docs.html b/splitstat/docs.html deleted file mode 100644 index 15730d4..0000000 --- a/splitstat/docs.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - Redirecting.. - - - diff --git a/splitstat/index.html b/splitstat/index.html deleted file mode 100644 index 0537f6f..0000000 --- a/splitstat/index.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - Redirecting.. - - - \ No newline at end of file diff --git a/splitstat/privacy.html b/splitstat/privacy.html deleted file mode 100644 index 48fc839..0000000 --- a/splitstat/privacy.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - Alex > SplitStat Privacy - - -

SplitStat Privacy Policy

-

Updated April 2022
hi@thatalex.dev

- -

Intro

-

The SplitStat Bot is a Discord bot developed by Alex. This bot is not affiliated with Tracker.gg nor Splitgate/1047 Games.
- Throughout this document, The SplitStat Bot will be referred to by the terms "we, our, us, the Service" or "SplitStat Bot".

-

What data is collected?

-

Below is a list of data we collect, why we collect it, and what is done with it.
-

- All data is collected within reason and can be withdrawn anytime by ceasing use of the Service. -

-

How is the data used?

-

For select items (IGNs, Player Platforms), this is not stored locally and immediately used to request user profiles from Tracker.gg.
- For Discord-provided items, like your username and guild, these are logged to the Service in order to prevent misuse of the Service and properly handle issues that may arise.
- SplitStat does not disclose this information with any third-party platform unless required by law.

-

Can I refuse data collection?

-

You are free to refuse our data collection, however understand that the Service may not be able to provide some services.

-

Contact Us

-

Should any questions arise from this policy, please email the developer via the email listed at the top of this page.
- This project is open-source. You can find the repository here.

- - \ No newline at end of file diff --git a/static/css/main.css b/static/css/main.css deleted file mode 100644 index 461bb3b..0000000 --- a/static/css/main.css +++ /dev/null @@ -1,49 +0,0 @@ -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%; -} - -#querydiv { - padding-top:40px; -} - -.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; -} \ No newline at end of file diff --git a/static/css/tree.css b/static/css/tree.css deleted file mode 100644 index 3b4f0a2..0000000 --- a/static/css/tree.css +++ /dev/null @@ -1,117 +0,0 @@ -html, body { - margin: 0; - height: 100%; - font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; - top:50%; -} - -html{ - background-color:black; - background-size:cover; -} - -a { - color:white; -} - -a:hover { - color:gray; -} - -body { - background-size: 400% 400%; - padding-top:35px; - padding-bottom:35px; - height:fit-content; - min-height:100%; -} - -@keyframes gradient { - 0% { - background-position: 0% 50%; - } - 50% { - background-position: 100% 50%; - } - 100% { - background-position: 0% 50%; - } -} - -:root { - --accentColor: #E6E6E6; - --delay: .3s; -} - -.description, .source{ - color:white; - text-align:center; - margin: 27px auto; - margin-top:10px; - width:90%; - max-width: 500px; -} - -.source{ - font-size:small; - margin-top:50px; -} - -.profilePicture, .profilePicture img { - position: relative; - width: 130px; - height: 130px; - display: block; - margin: 35px auto 20px; - border-radius: 50%; -} - -.userName { - color: var(--accentColor); - font-size: x-large; - font-weight: bold; - line-height: 1.25; - display: block; - width: 100%; - text-align: center; - text-decoration: none; -} - -.links { - max-width: 675px; - width: auto; - display: block; - margin: 27px auto; -} - -.link { - position: relative; - background-color: transparent; - color: var(--accentColor); - border: solid var(--accentColor) 2px; - border-radius: 10px; - font-size: 1rem; - text-align: center; - display: block; - margin-left: 10px; - margin-right: 10px; - margin-bottom: 10px; - padding: 10px; - text-decoration: none; - -webkit-tap-highlight-color: transparent; -} - -@media (hover: hover) { - .link:hover { - background-color: var(--accentColor); - color: #000; /* Fallback for older browsers */ - color: rgba(0, 0, 0, 0.5); - } -} - -.link:active { - background-color: var(--accentColor); - color: #000; /* Fallback for older browsers */ - color: rgba(0, 0, 0, 0.5); -} - diff --git a/static/img/profile.png b/static/img/profile.png deleted file mode 100644 index f1eb866..0000000 Binary files a/static/img/profile.png and /dev/null differ diff --git a/static/img/services/spotify-logo.png b/static/img/services/spotify-logo.png deleted file mode 100644 index b7fc787..0000000 Binary files a/static/img/services/spotify-logo.png and /dev/null differ diff --git a/static/js/medalClip.js b/static/js/medalClip.js deleted file mode 100644 index b1cfd1c..0000000 --- a/static/js/medalClip.js +++ /dev/null @@ -1,12 +0,0 @@ -const clipSpan = document.getElementById("clip"); -fetch("https://developers.medal.tv/v1/latest?userId=215577&limit=1", { - method: "GET", - headers: { - "authorization": "pub_ecEyOlY5G2u9476DMGOxcxiNcaOTEjmq", - "Content-Type": "application/json" - } -}).then(async function(response) { - const data = await response.json(); - if(screen.width < 1920) { clipSpan.innerHTML = `

${data.contentObjects[0].contentTitle}

` } - else clipSpan.innerHTML = `${data.contentObjects[0].embedIframeCode}

${data.contentObjects[0].contentTitle}

`; -}); \ No newline at end of file diff --git a/static/js/paramSearch.js b/static/js/paramSearch.js deleted file mode 100644 index 6057483..0000000 --- a/static/js/paramSearch.js +++ /dev/null @@ -1,10 +0,0 @@ -const urlSearchParams = new URLSearchParams(window.location.search); -const params = Object.fromEntries(urlSearchParams.entries()); -const div = document.getElementById("querydiv"); - -console.log(params) -if (params.reason) { - if (params.reason == "old_domain") { - div.innerHTML = '

You have been redirected here from an old domain. Please use this domain.

'; - } -} \ No newline at end of file diff --git a/static/js/spotifyWidget.js b/static/js/spotifyWidget.js deleted file mode 100644 index a794f32..0000000 --- a/static/js/spotifyWidget.js +++ /dev/null @@ -1,17 +0,0 @@ -async function getState() { - const data = await fetch("https://api.thatalex.dev/v0/web/spotify/player/state", { - method: "GET" - }).then(response => response.json()) - .catch(async function(response) { - const d = await response.json(); - if (response.status == 401 && d.message == "Access Token was invalid. Token was refreshed & next request should succeed.") { - location.reload(); - } else if (response.status != 200 || response.status != 204) { - console.log(`Uh oh, a little fucky wucky owo occurred\n\n${d}`) - document.getElementById("songContent").innerHTML = `

Uh oh! There was an error fetching song content.
The API may be temporarily down.

` - } - }); - - if(data.playing) document.getElementById("songContent").innerHTML = `

${data.data.songData.songName} by ${data.data.songData.artists[0].name} at ${data.data.device.volume}% volume.` - else document.getElementById("songContent").innerHTML = `

${data.data.songData.songName} by ${data.data.songData.artists[0].name} is paused.` -} \ No newline at end of file diff --git a/static/main.css b/static/main.css new file mode 100644 index 0000000..92ab4b0 --- /dev/null +++ b/static/main.css @@ -0,0 +1,58 @@ +body { + font-family: 'Cairo', sans-serif; + font-size:30px; + background-color:black; + color:white; +} + +a { + padding-left:25px; +} + +i { + color:white; +} + +#container { + /* margin: 0 auto; */ + top:50%; + left:50%; + position:absolute; + transform: translate(-50%, -50%) +} + +#textDiv { + /* display:inline-block; */ + float:left; + animation: typingEffect 2s forwards; + width:0%; + border-width:1px; + overflow:hidden; + white-space:nowrap; +} + +#box { + background-color:gray; + width:15px; + opacity:0%; + height:35px; + border: 1px solid gray; + animation-name: cursorBlink; + animation-duration:0.5s; + animation-iteration-count: infinite; + margin: -25; + z-index:1; + position:absolute; + transform: translate(-65%, 100%); +} + +@keyframes cursorBlink { + 0% {opacity:0%;} + 25% {opacity:50%;} + 75% {opacity:0%;} +} + +@keyframes typingEffect { + from {width:0%;} + to {width:34%;} +} \ No newline at end of file