Merge pull request '201 commits!' (#11) from dev into origin

Reviewed-on: https://codeberg.orgBingus_Violet/Violets-Purgatory#11
This commit is contained in:
Bingus_Violet 2024-01-17 16:49:50 +00:00
commit 8f8267caba
2 changed files with 8 additions and 27 deletions

View file

@ -160,7 +160,7 @@ function pageUpdate() {
if (activity.type == 2) {
addedHTML += `
<div class="chip activity col-md-6 testing">
<img src="https://thumbor-production-0e82.up.railway.app/unsafe/512x512/${get_img()}" title="${activity.assets.large_text || activity.assets.small_text}">
<img src="https://thumbor-production-0e82.up.railway.app/unsafe/256x256/${get_img()}" title="${activity.assets.large_text || activity.assets.small_text}">
<p>
Listening to <span style="color: limegreen;">${activity.name}</span>
<br> Song: ${activity.details || " "}
@ -226,6 +226,11 @@ function pageUpdate() {
html = '<!-- The following code is dynamically generated, I apologize for any formatting errors. Please view the "resources/mainPage.html" on the codeberg repository for something more readable. -->\n' + html
// fetch('https://github.com/Violets-puragtory/Violets-Purgatory.dev')
// .then(((data) => data.text()))
// .then((text) => {
// console.log(text)
// })
fs.writeFileSync(path.join(__dirname, 'static/index.html'), html)
}

View file

@ -21,6 +21,8 @@
<body>
<h1>Welcome to Violet's Purgatory</h1>
<h2>Happy 200 (201) Commits!!!</h2>
<p>Hopefully to celebrate, like I promised last time, this time I will try to ACTUALLY find a method to add a commit count to the site!</p>
<div class="fadediv">
<div class="container-fluid row" id="card">
<h2>Violet</h2>
@ -55,32 +57,6 @@
{SOCIALS}
{MASTODON_FEED}
<h2>Projects</h2>
<p>Here are some of my most major projects. This is not a concise list, though, so please check all of them out <a href="./projects">here!</a></p>
<div class="project">
<h1>Univerter</h1>
<div class="project-inner container-fluid row">
<div class="col-lg-6">
<img src="/imgs/univerter-screenshot.png">
</div>
<div class="col-lg-6">
<p>Univerter is my Javascriptless Youtube video downloader! I tend to call it a "converter" rather than a downloader, because unlike many other youtube downloaders, mine actually converts to more formats than youtube supports! I've been working on Univerter for a long time, and i hope to support more sites soon :>. It also comes with a (experimental) standalone video converter! Please, check it out at <a href="https://yt.violets-purgatory.dev">yt.violets-purgatory.dev</a> and report any issues or feature requests!</p>
</div>
</div>
</div>
<div class="project">
<h1>SteamRPC</h1>
<div class="project-inner container-fluid row">
<div class="col-lg-6">
<img src="/imgs/steamrpc-screenshot.png">
</div>
<div class="col-lg-6">
<p>When playing games like Gunfire Reborn, I was annoyed that they'd only support Rich presence on Steam but not Discord. I was also having issues at the time with getting games under proton to show up on discord in general. As a solution, i made a (Linux only, sadly) software called SteamRPC, which converts the presence of any Steam game onto Discord using a Rich presence bot. It certainly needs optimization, but it's a project im proud of, and one of my few projects I use all the time! Find it <a href="https://codeberg.org/Bingus_Violet/SteamRPC">here!</a></p>
</div>
</div>
</div>
{SEASONAL_EFFECT}
</div>
</body>