changeset 111:250f40874439

*: update lots of things now we minify the html,css,etc before deploying, so it hopefully will load faster :)
author Paper <paper@tflc.us>
date Mon, 19 May 2025 13:58:21 -0400
parents 7c8191bab90c
children 4ccd7de0e530
files .build.yml Gemfile Gemfile.lock _config.yml _data/plugs.yml code/index.html css/style.css index.html media/plugs/debian.gif media/plugs/firefox.gif media/plugs/sublime.gif
diffstat 11 files changed, 100 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/.build.yml	Sun Apr 06 19:44:28 2025 -0400
+++ b/.build.yml	Mon May 19 13:58:21 2025 -0400
@@ -9,6 +9,7 @@
 - ruby-bundler
 tasks:
 - package: |
+    export JEKYLL_ENV="production"
     cd web
     bundle config set --local path ".bundler"
     bundle install
--- a/Gemfile	Sun Apr 06 19:44:28 2025 -0400
+++ b/Gemfile	Mon May 19 13:58:21 2025 -0400
@@ -4,3 +4,5 @@
 # gem "rails"
 gem "jekyll", "~> 4.3"
 gem "jekyll-feed", "~> 0.17.0"
+
+gem "jekyll-minifier", "~> 0.1.10"
--- a/Gemfile.lock	Sun Apr 06 19:44:28 2025 -0400
+++ b/Gemfile.lock	Mon May 19 13:58:21 2025 -0400
@@ -5,10 +5,12 @@
       public_suffix (>= 2.0.2, < 6.0)
     colorator (1.1.0)
     concurrent-ruby (1.2.3)
+    cssminify2 (2.0.1)
     em-websocket (0.5.3)
       eventmachine (>= 0.12.9)
       http_parser.rb (~> 0)
     eventmachine (1.2.7)
+    execjs (2.10.0)
     ffi (1.16.3)
     forwardable-extended (2.6.0)
     google-protobuf (3.25.3)
@@ -17,6 +19,7 @@
     google-protobuf (3.25.3-x86-linux)
     google-protobuf (3.25.3-x86_64-darwin)
     google-protobuf (3.25.3-x86_64-linux)
+    htmlcompressor (0.4.0)
     http_parser.rb (0.8.0)
     i18n (1.14.5)
       concurrent-ruby (~> 1.0)
@@ -38,10 +41,19 @@
       webrick (~> 1.7)
     jekyll-feed (0.17.0)
       jekyll (>= 3.7, < 5.0)
+    jekyll-minifier (0.1.10)
+      cssminify2 (~> 2.0)
+      htmlcompressor (~> 0.4)
+      jekyll (>= 3.5)
+      json-minify (~> 0.0.3)
+      uglifier (~> 4.1)
     jekyll-sass-converter (3.0.0)
       sass-embedded (~> 1.54)
     jekyll-watch (2.2.1)
       listen (~> 3.0)
+    json (2.12.0)
+    json-minify (0.0.3)
+      json (> 0)
     kramdown (2.4.0)
       rexml
     kramdown-parser-gfm (1.1.0)
@@ -72,6 +84,8 @@
     strscan (3.1.0)
     terminal-table (3.0.2)
       unicode-display_width (>= 1.1.1, < 3)
+    uglifier (4.2.1)
+      execjs (>= 0.3.0, < 3)
     unicode-display_width (2.5.0)
     webrick (1.8.1)
 
@@ -96,6 +110,7 @@
 DEPENDENCIES
   jekyll (~> 4.3)
   jekyll-feed (~> 0.17.0)
+  jekyll-minifier (~> 0.1.10)
 
 BUNDLED WITH
    2.5.10
--- a/_config.yml	Sun Apr 06 19:44:28 2025 -0400
+++ b/_config.yml	Mon May 19 13:58:21 2025 -0400
@@ -8,3 +8,4 @@
 
 plugins:
   - jekyll-feed
+  - jekyll-minifier
--- a/_data/plugs.yml	Sun Apr 06 19:44:28 2025 -0400
+++ b/_data/plugs.yml	Mon May 19 13:58:21 2025 -0400
@@ -12,4 +12,13 @@
   alt: 'Un4seen'
 - url: '/media/plugs/tarc.gif'
   href: 'https://discord.gg/VxVYXMJZ9G'
-  alt: 'TARC'
\ No newline at end of file
+  alt: 'TARC'
+- url: '/media/plugs/debian.gif'
+  href: 'https://www.debian.org/'
+  alt: 'Powered by Debian'
+  title: 'The GNU/Linux distribution for lesbians'
+- url: '/media/plugs/sublime.gif'
+  href: 'https://www.sublimetext.com/'
+  alt: 'Made with Sublime Text'
+- url: '/media/plugs/firefox.gif'
+  alt: 'Firefox'
\ No newline at end of file
--- a/code/index.html	Sun Apr 06 19:44:28 2025 -0400
+++ b/code/index.html	Mon May 19 13:58:21 2025 -0400
@@ -47,6 +47,22 @@
 
 <br>
 
+<div id="web" class="content drop-shadow-box">
+	<div class="project-title-container">
+		<span class="drop-shadow-text project-title">web</span>
+		<span class="project-quip drop-shadow-text"><i>turtles all the way down</i></span>
+	</div>
+	<hr class="project-separator">
+	<span class="drop-shadow-text">
+		The source code to this website. It's built using jekyll, and is fairly simple to set up.
+		See the '.build.yml' file for the exact commands used when deploying.
+	</span>
+	<br><br>
+	<a class="drop-shadow-text prettylink" href="https://hg.tflc.us/web">Mercurial source tree</a>
+</div>
+
+<br>
+
 <div id="msvpvf" class="content drop-shadow-box">
 	<div class="project-title-container">
 		<span class="drop-shadow-text project-title">msvpvf</span>
@@ -77,6 +93,7 @@
 		<li>
 			<a class="drop-shadow-text prettylink" href="https://hg.tflc.us/msvpvf">Mercurial source tree</a>
 		</li>
+	</ul>
 </div>
 
 <br>
@@ -89,7 +106,9 @@
 	<hr class="project-separator">
 	<span class="drop-shadow-text">
 		A Winamp plugin that uses the Discord GameSDK to provide rich
-		presence.
+		presence. It also uses the WinHTTP API provided in Windows XP
+		and newer to show album covers scraped from Deezer within the
+		status.
 	</span>
 	<br><br>
 	<a class="drop-shadow-text prettylink" href="binaries/gen_DiscordGameSDK.dll" download>Download (32-bit)</a>
--- a/css/style.css	Sun Apr 06 19:44:28 2025 -0400
+++ b/css/style.css	Mon May 19 13:58:21 2025 -0400
@@ -199,10 +199,21 @@
 	flex-wrap: wrap;
 	justify-content: center;
 
-	/* column-gap: 4px; */
 	row-gap: 0.5em;
 }
 
+/*
+don't need this
+
+.plugs-list {
+	column-gap: 2px;
+}
+*/
+
+.blips-list {
+	column-gap: 10px;
+}
+
 .blips-list-item,
 .plugs-list-item {
 	display: block;
--- a/index.html	Sun Apr 06 19:44:28 2025 -0400
+++ b/index.html	Mon May 19 13:58:21 2025 -0400
@@ -15,20 +15,13 @@
 <br>
 
 <div class="content drop-shadow-box">
-	<h2 class="drop-shadow-text">things you don't care about</h2>
-	<ul class="index-socials-list">
-		<li class="drop-shadow-text">location: USA</li>
-		<li class="drop-shadow-text">favorite genres: dreampop, experimental electronic, lots of indie...</li>
-		<li class="drop-shadow-text">steak or chicken?: chicken 100%</li>
-	</ul>
-
 	<h2 class="drop-shadow-text">socials / contact</h2>
 	<ul class="index-socials-list">
 		<li class="drop-shadow-text">
 			E-mail (<a class="prettylink" href="mailto:paper@tflc.us">paper@tflc.us</a>); please send me <a class="prettylink" href="https://useplaintext.email/">plain text email</a> if possible.
 		</li>
 		<li class="drop-shadow-text">
-			IRC; you can usually find me as slipofpaper in <a class="prettylink" href="irc://irc.libera.chat/openmpt">#openmpt on Libera Chat</a>.
+			IRC (/msg paper on <a href="https://libera.chat/" class="prettylink">Libera.chat</a> or <a href="https://www.rizon.net/" class="prettylink">rizon</a>)
 		</li>
 		<li class="drop-shadow-text">
 			Discord (@slipofpaper)
@@ -37,17 +30,39 @@
 
 	<br>
 
+	{% comment %}
+		I'd really prefer for this stuff to all be different colors, because that would look cool,
+		but I am lazy :)
+	{% endcomment %}
+
 	<ul class="index-socials-list">
 		<li class="drop-shadow-text">
 			Fediverse (<a target="_blank" class="prettylink" href="https://miniwa.moe/users/paper">@paper@miniwa.moe</a>)
 		</li>
+		<li class="drop-shadow-text">
+			Bluesky (<a target="_blank" class="prettylink" href="https://bsky.app/profile/tflc.us">@tflc.us</a>)
+		</li>
 	</ul>
 
 	<br>
 
 	<div class="plugs-list">
 		{% for plug in site.data.plugs %}
-		<a href="{{ plug.href }}" class="navbar-item-active"><img class="plugs-list-item drop-shadow-box" src="{{ plug.url }}" alt="{{ plug.alt }}"></a>
+		{% if plug.href %}
+		<a href="{{ plug.href }}" class="navbar-item-active">
+		{% endif %}
+		<img class="plugs-list-item drop-shadow-box" src="{{ plug.url }}"
+		{% if plug.alt %}
+			alt="{{ plug.alt }}"
+		{% endif %}
+		{% if plug.title %}
+			title="{{ plug.title }}"
+		{% endif %}
+		}
+		>
+		{% if plug.href %}
+		</a>
+		{% endif %}
 		{% endfor %}
 	</div>
 
@@ -55,7 +70,21 @@
 
 	<div class="blips-list">
 		{% for blip in site.data.blips %}
-		<a class="navbar-item-active"><img class="blips-list-item drop-shadow-box" src="{{ blip.url }}" alt="{{ blip.alt }}"></a>
+		{% if blip.href %}
+		<a href="{{ blip.href }}" class="navbar-item-active">
+		{% endif %}
+		<img class="blips-list-item drop-shadow-box" src="{{ blip.url }}"
+		{% if blip.alt %}
+			alt="{{ blip.alt }}"
+		{% endif %}
+		{% if blip.title %}
+			title="{{ blip.title }}"
+		{% endif %}
+		}
+		>
+		{% if blip.href %}
+		</a>
+		{% endif %}
 		{% endfor %}
 	</div>
 </div>
Binary file media/plugs/debian.gif has changed
Binary file media/plugs/firefox.gif has changed
Binary file media/plugs/sublime.gif has changed