Compare commits

..

No commits in common. "6f41d151de389a41f4f5506c7037d86e4982294a" and "36e771a57cc062975eab0dfb6a68de6201cc846d" have entirely different histories.

7 changed files with 101 additions and 20 deletions

View file

@ -45,9 +45,7 @@
"I hope you know every time I add a new quote I have a stroke making sure it shows up right because I have to gamble continously to get it to show up", "I hope you know every time I add a new quote I have a stroke making sure it shows up right because I have to gamble continously to get it to show up",
"Fun fact: The opening animation was the first thing I made in this rewrite. It has been 99% unchanged.", "Fun fact: The opening animation was the first thing I made in this rewrite. It has been 99% unchanged.",
"The background during the opening animation looks very wrong on Chromium, but its fine on Firefox... oops!", "The background during the opening animation looks very wrong on Chromium, but its fine on Firefox... oops!",
"Donation software working? As a minor? I'll keep dreaming...", "Getting donations? As a minor? I'll keep dreaming..."
"I should add a chance for there to not be a quote here just to screw with people",
""
], ],
"titles": [ "titles": [
"World's Worst Developer" "World's Worst Developer"
@ -58,6 +56,84 @@
"https://unusual-back-production.up.railway.app/", "https://unusual-back-production.up.railway.app/",
"https://axiomatic-hair-production.up.railway.app/" "https://axiomatic-hair-production.up.railway.app/"
], ],
"fallbackLanyard": {
"kv": {},
"spotify": null,
"discord_user": {
"id": "534132311781015564",
"username": "bingus_violet",
"avatar": "f3fe0d6a1dd2fe301f437e02333e602d",
"discriminator": "0",
"bot": false,
"clan": null,
"global_name": "Violet",
"avatar_decoration_data": null,
"display_name": "Violet",
"public_flags": 0
},
"activities": [],
"discord_status": "offline",
"active_on_discord_web": false,
"active_on_discord_desktop": false,
"active_on_discord_mobile": false,
"listening_to_spotify": false,
"socials": {
"Social Media": {
"Fedi": {
"name": "bingus_violet@floofy.city",
"url": "https://floofy.city/@bingus_violet"
},
"YouTube": {
"name": "Violet's Fiasco",
"url": "https://www.youtube.com/channel/UChcrBJNJLZucy3TPyGyAY2g"
},
"Liberapay": {
"name": "bingus_violet",
"url": "https://en.liberapay.com/bingus_violet/"
}
},
"Messaging": {
"Matrix": {
"name": "@bingus_violet:matrix.violets-purgatory.dev",
"url": "https://matrix.to/#/@bingus_violet:matrix.violets-purgatory.dev"
},
"Discord": {
"name": "bingus_violet"
},
"Revolt": {
"name": "BingusViolet#5573"
}
},
"Coding": {
"Forgejo": {
"name": "bingus_violet@git.violets-purgatory.dev",
"url": "https://git.violets-purgatory.dev/bingus_violet/"
},
"Codeberg": {
"name": "bingus_violet",
"url": "https://codeberg.org/Bingus_violet"
},
"Docker": {
"name": "bingusviolet",
"url": "https://hub.docker.com/u/bingusviolet"
},
"Github": {
"name": "violets-puragtory",
"url": "https://github.com/violets-puragtory"
}
},
"Games": {
"Steam": {
"name": "Violet",
"url": "https://steamcommunity.com/id/violet-The-Thigh-high-obtainer/"
},
"Roblox": {
"name": "@bingus_violet",
"url": "https://www.roblox.com/users/28347789/profile"
}
}
}
},
"highlightedWords": [ "highlightedWords": [
{ {
"words": [ "words": [

View file

@ -256,10 +256,8 @@ function converter(html, dynamic = true) {
"COMMIT_COUNT": commitCount, "COMMIT_COUNT": commitCount,
"QUOTE_COUNT": quotes.length, "QUOTE_COUNT": quotes.length,
"DISCORD_STATUS": () => { "DISCORD_STATUS": () => {
if (api.lanyard) { return `<span style="color: ${constants.discStatuses[api.lanyard.discord_status].color};" class="statusColor">${constants.discStatuses[api.lanyard.discord_status].text}</span>` +
return `<span style="color: ${constants.discStatuses[api.lanyard.discord_status].color};" class="statusColor">${constants.discStatuses[api.lanyard.discord_status].text}</span>` +
`<style>.pfp { border-color: ${constants.discStatuses[api.lanyard.discord_status].color} }</style>`; `<style>.pfp { border-color: ${constants.discStatuses[api.lanyard.discord_status].color} }</style>`;
}
return ""; return "";
}, },
@ -271,7 +269,7 @@ function converter(html, dynamic = true) {
<a class="chip" href="/blog">Blog</a></h3> <a class="chip" href="/blog">Blog</a></h3>
</div>`, </div>`,
"CUSTOM_STATUS": () => { "CUSTOM_STATUS": () => {
if (api.lanyard && api.lanyard.custom_status) { if (api.lanyard.custom_status) {
var status = api.lanyard.custom_status var status = api.lanyard.custom_status
var addedHTML = "<hr/><p>" var addedHTML = "<hr/><p>"
if (status.emoji) { if (status.emoji) {
@ -289,7 +287,7 @@ function converter(html, dynamic = true) {
return "" return ""
}, },
"SELECTED_VIDEO": () => { "SELECTED_VIDEO": () => {
if (api.lanyard && api.lanyard.video) { if (api.lanyard.video) {
return `<h2><hr/>Random video!</h2><p>I would call it random <em>daily</em> video but its not at all daily...</p> return `<h2><hr/>Random video!</h2><p>I would call it random <em>daily</em> video but its not at all daily...</p>
<br/> <br/>
<video controls="true" src="${api.lanyard.video.url}"></video>` <video controls="true" src="${api.lanyard.video.url}"></video>`
@ -300,9 +298,9 @@ function converter(html, dynamic = true) {
"WEATHER_TEXT": "", "WEATHER_TEXT": "",
"ANNOUNCEMENT": fs.readFileSync(path.join(__dirname, "config/announcement.html")), "ANNOUNCEMENT": fs.readFileSync(path.join(__dirname, "config/announcement.html")),
"SOCIALS": () => { "SOCIALS": () => {
if (api.lanyard && api.lanyard.socials) { if (api.lanyard.socials) {
var socials = api.lanyard.socials var socials = api.lanyard.socials
var html = `<div class="grid-container">` var html = ""
var socialsTable = Object.keys(socials) var socialsTable = Object.keys(socials)
for (var i = 0; i < socialsTable.length; i++) { for (var i = 0; i < socialsTable.length; i++) {
var category = socialsTable[i] var category = socialsTable[i]
@ -317,9 +315,6 @@ function converter(html, dynamic = true) {
} }
html += "</div></div>" html += "</div></div>"
} }
html += "</div>"
} else {
html = "<h2>Failed to load?!</h2><p>Uh oh</p>"
} }
return html return html
}, },

View file

@ -40,10 +40,13 @@
<div style="float: left;"> <div style="float: left;">
<p>They/Them</p> <p>They/Them</p>
<p>Developer</p> <p>Developer</p>
<!-- <p>Dating Asahi &lt;3</p> -->
<p>{DISCORD_STATUS}</p> <p>{DISCORD_STATUS}</p>
<!-- <p>THIS TEXT IS THE EPIC EXTREME FILLER TO TEST THE SITE'S FORMATTING :fire:</p> -->
</div> </div>
</div> </div>
</div> </div>
<!-- <p class="noscript">Violet has been spun {SPINCOUNT} times!</p> -->
<p class="spinnyCount" style="display: none;">You have spun Violet <span class="localSpins">4</span> times!<br> <p class="spinnyCount" style="display: none;">You have spun Violet <span class="localSpins">4</span> times!<br>
Everyone has spun Violet <span class="globalSpins">{SPINCOUNT}</span> times!</p> Everyone has spun Violet <span class="globalSpins">{SPINCOUNT}</span> times!</p>

View file

@ -96,12 +96,12 @@ img:not(.project-inner > div > img):not(.activity>img) {
0% { 0% {
transform: translateY(calc(50vh - 6rem)) scale(1.5); transform: translateY(calc(50vh - 6rem)) scale(1.5);
opacity: 0; opacity: 0;
/* height: 4rem; */ height: 4rem;
} }
50% { 50% {
opacity: 1; opacity: 1;
/* height: 4rem; */ height: 4rem;
transform: translateY(calc(50vh - 6rem)) scale(1.25); transform: translateY(calc(50vh - 6rem)) scale(1.25);
} }
@ -138,7 +138,7 @@ img:not(.project-inner > div > img):not(.activity>img) {
overflow-x: hidden; overflow-x: hidden;
} }
30% { 100% {
overflow-y: hidden; overflow-y: hidden;
overflow-x: hidden; overflow-x: hidden;
} }

View file

@ -25,13 +25,17 @@
{WEATHER_MODIFIER} {WEATHER_MODIFIER}
{TOPBAR} {TOPBAR}
<!-- <a href="../" class="chip">Home</a>
<a href="../faq" class="chip">FAQ</a>
<a href="../stats" class="chip">Stats</a> -->
<h1>Socials</h1> <h1>Socials</h1>
<div class="mainDiv"> <div class="mainDiv">
<hr> <hr>
<main> <main>
<p>Here's most of the sites you can find me on-<br>if you needed that for some reason?</p> <p>Here's most of the sites you can find me on-<br>if you needed that for some reason?</p>
{SOCIALS} <div class="grid-container">
{SOCIALS}
</div>
<br> <br>
</main> </main>
<div id="activityHtml"> <div id="activityHtml">

View file

@ -31,7 +31,9 @@
<p>Welcome to the stats page! This page is now "deprecated"... sorta.<br> <p>Welcome to the stats page! This page is now "deprecated"... sorta.<br>
Feel free to read more about it at the bottom of the page.</p> Feel free to read more about it at the bottom of the page.</p>
<main> <main>
<h1><hr>Stats</h1> <h1>
<hr>Stats
</h1>
<br> <br>
<ul> <ul>
<li>Page generation time: {LOAD_TIME}</li> <li>Page generation time: {LOAD_TIME}</li>

View file

@ -269,7 +269,7 @@ li {
.lengthBar { .lengthBar {
background-color: rgb(50, 40, 60); background-color: rgb(50, 40, 60);
display: block; display: block;
width: calc(100% - 110px); width: calc(100% - 100px);
margin: auto; margin: auto;
height: 12px; height: 12px;
padding: 0; padding: 0;
@ -343,4 +343,5 @@ b, b > *, .activityTitle, .activityTitle > *, .bold {
.durationBarFormatter { .durationBarFormatter {
float: right; float: right;
width: 90px;
} }