From bce362c4308f2032c3338f3a77a58e20395654d6 Mon Sep 17 00:00:00 2001 From: awex 3 Date: Mon, 2 May 2022 03:46:31 -0400 Subject: [PATCH] lil reworking + link fixes --- index.html | 12 +++++++++--- links.html | 18 +++++------------- static/css/tree.css | 3 ++- static/js/medalClip.js | 3 ++- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/index.html b/index.html index f02cd2d..c001c95 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,12 @@ Alex 👋 + + + + + + @@ -18,8 +24,8 @@

👋, I'm Alex!

-

I'm a Javascript & Java developer, working on random Node apps and Minecraft plugins!
- All of my links can be found here.

+

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

What am I listening to?

@@ -36,7 +42,7 @@

Partners

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

-
+
diff --git a/links.html b/links.html index 32eabd6..4a67ac0 100644 --- a/links.html +++ b/links.html @@ -10,32 +10,24 @@ - - + + - - - Profile Picture - -
Alex
- probably clipping stuff on Medal + quality assurance @ medal.tv
- This was built on Tree, a linktr.ee alternative. + This was built on Tree, a linktr.ee alternative.
diff --git a/static/css/tree.css b/static/css/tree.css index 24255cd..3b4f0a2 100644 --- a/static/css/tree.css +++ b/static/css/tree.css @@ -1,7 +1,8 @@ html, body { margin: 0; height: 100%; - font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif + font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; + top:50%; } html{ diff --git a/static/js/medalClip.js b/static/js/medalClip.js index df8088e..b1cfd1c 100644 --- a/static/js/medalClip.js +++ b/static/js/medalClip.js @@ -7,5 +7,6 @@ fetch("https://developers.medal.tv/v1/latest?userId=215577&limit=1", { } }).then(async function(response) { const data = await response.json(); - clipSpan.innerHTML = `${data.contentObjects[0].embedIframeCode}
${data.contentObjects[0].contentTitle}`; + 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