From e976ae7ffdd6f447a918342014c3c5878afb5e69 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 11 Nov 2024 19:03:11 -0500 Subject: [PATCH] Improve look of the software page --- data/contributions.json | 72 +++++++----- themes/red/assets/css/site.css | 10 +- themes/red/layouts/_default/project.html | 2 - themes/red/layouts/_default/single.html | 2 - themes/red/layouts/_default/software.html | 137 ++++++++++++++++------ 5 files changed, 152 insertions(+), 71 deletions(-) diff --git a/data/contributions.json b/data/contributions.json index c97e406..5366676 100644 --- a/data/contributions.json +++ b/data/contributions.json @@ -1,16 +1,16 @@ { - "contributions": [ - { - "id": "aers/FFXIVClientStructs", - "name": "FFXIVClientStructs", - "description": "Documenting more fields for FFXIV bone simulators.", - "type": "github" + "maintaining": [ + { + "id": "network/tokodon", + "name": "Tokodon", + "description": "Co-maintainer, added numerous features and fixed lots of bugs.", + "type": "kde" }, { - "id": "libinput/libinput", - "name": "libinput", - "description": "Added support for tablet dials, like those on XP-PEN tablets.", - "type": "xdg" + "id": "network/neochat", + "name": "NeoChat", + "description": "Newly co-maintaining. Recently added support for UnifiedPush, making it one of the first of it's kind on desktop.", + "type": "kde" }, { "id": "multimedia/plasmatube", @@ -19,10 +19,24 @@ "type": "kde" }, { - "id": "network/neochat", - "name": "NeoChat", - "description": "UnifiedPush support, misc bugs and interface changes.", + "id": "plasma/plasma-desktop", + "name": "Plasma Desktop", + "description": "Currently maintaining and improving the Drawing Tablet KCM. Also bugfixing.", "type": "kde" + } + ], + "contributions": [ + { + "id": "aers/FFXIVClientStructs", + "name": "FFXIVClientStructs", + "description": "Documenting and reverse-engineering new stuff in the hit MMO.", + "type": "github" + }, + { + "id": "libinput/libinput", + "name": "libinput", + "description": "Added support for tablet dials, like those on XP-PEN tablets.", + "type": "xdg" }, { "id": "games/kpat", @@ -33,7 +47,7 @@ { "id": "libraries/kirigami-addons", "name": "Kirigami Add-ons", - "description": "About KDE page, lots of bug fixes.", + "description": "The About KDE page, lots of bug fixes.", "type": "kde" }, { @@ -51,7 +65,7 @@ { "id": "plasma/kwin", "name": "KWin", - "description": "Fixed pen tilt on Wayland, other misc bug fixes.", + "description": "Improving drawing tablet support, and other misc bug fixes.", "type": "kde" }, { @@ -60,12 +74,6 @@ "description": "Added pen tilt to the tablet tester. Small S-Pen improvements on Android.", "type": "kde" }, - { - "id": "network/tokodon", - "name": "Tokodon", - "description": "Maintainer, added numerous features and fixed lots of bugs.", - "type": "kde" - }, { "id": "gentoo/gentoo", "name": "Gentoo", @@ -86,13 +94,13 @@ { "id": "PrismLauncher/PrismLauncher", "name": "PrismLauncher", - "description": "The about page, icon fixes, and cmark support for better Markdown rendering.", + "description": "The about page, icon fixes, cmark support for better Markdown rendering.", "type": "github" }, { "id": "sdk/licentia", "name": "Licentia", - "description": "Fixed PinePhone support.", + "description": "Improved support for mobile devices.", "type": "kde" }, { @@ -107,17 +115,23 @@ "description": "Fixed Darktable RAW imports.", "type": "kde" }, - { - "id": "plasma/plasma-desktop", - "name": "Plasma Desktop", - "description": "Currently improving the Drawing Tablet KCM. Plasma 6 applet porting, added activity pins to launchers, and bugfixing.", - "type": "kde" - }, { "id": "absolute-quantum/cats-blender-plugin", "name": "CATS", "description": "Minor bug fixes for it's baking.", "type": "github" + }, + { + "id": "quotient-im/libQuotient", + "name": "libQuotient", + "description": "Misc bugfixes, hoping to do more in the future!", + "type": "github" + }, + { + "id": "linuxwacom/libwacom", + "name": "libwacom", + "description": "Added support for the XP-Pen 22R/24 Pro.", + "type": "github" } ] } diff --git a/themes/red/assets/css/site.css b/themes/red/assets/css/site.css index c8dbec2..6fbeca4 100644 --- a/themes/red/assets/css/site.css +++ b/themes/red/assets/css/site.css @@ -650,7 +650,7 @@ model-viewer { margin: 0; padding: 0.5em; background-color: var(--background-tertiary); - background-image: repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.01) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.01) 50%); + background-image: repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1) 25%, transparent 25%, transparent 25%, rgba(0, 0, 0, 0.01) 50%); background-size: 24px 24px; border-bottom: 1px solid var(--border-color); font-weight: bold; @@ -829,3 +829,11 @@ model-viewer { grid-template-columns: 50% 50%; } } + +.project-maintainer { + background-color: #844e4e; +} + +.project-contribution { + background-color: #586449; +} diff --git a/themes/red/layouts/_default/project.html b/themes/red/layouts/_default/project.html index b5ba689..48e9865 100644 --- a/themes/red/layouts/_default/project.html +++ b/themes/red/layouts/_default/project.html @@ -24,6 +24,4 @@
{{ .Content }} - - {{ partial "related" . }} {{ end }} diff --git a/themes/red/layouts/_default/single.html b/themes/red/layouts/_default/single.html index 5d865b2..446a4f6 100644 --- a/themes/red/layouts/_default/single.html +++ b/themes/red/layouts/_default/single.html @@ -24,8 +24,6 @@ {{ .Content }} - {{ partial "related" . }} - {{ if in .File.Dir "blog" }} {{ partial "voting" . }} diff --git a/themes/red/layouts/_default/software.html b/themes/red/layouts/_default/software.html index ba0f99d..aef2e43 100644 --- a/themes/red/layouts/_default/software.html +++ b/themes/red/layouts/_default/software.html @@ -8,47 +8,18 @@ {{ .Content }} - {{ .Scratch.Set "header-type" "h3" }} - {{ .Scratch.Set "header-name" "Personal Projects" }} - {{ partial "fake-heading.html" . }} - -

I really like to start projects in my free time (maybe too often). Here's an almost-comprehensive list of them, most of them are freely licensed as well!

- -
- {{ range .Data.Pages.ByDate.Reverse }} -
-

{{ .Title }}{{ .Date.Format "2006" }}

- - -

{{ .Summary }}

- - -
- {{ end }} -
- - {{ .Scratch.Set "header-type" "h3" }} - {{ .Scratch.Set "header-name" "Contributions" }} - {{ partial "fake-heading.html" . }} - -

Here's a list of some of the projects I contributed to! This is stuff I did in my free time and not part of my employment. Of course, the exception to this rule is grants to work on open source projects.

- {{ $contrib := (index site.Data "contributions") }} + {{ .Scratch.Set "header-type" "h3" }} + {{ .Scratch.Set "header-name" "Maintaining" }} + {{ partial "fake-heading.html" . }} + +

I'm the "maintainer" for several projects that I did not originally create:

+
- {{ range $contrib.contributions }} + {{ range $contrib.maintaining }}
-

{{ .name }}

+

{{ .name }}

{{ .description }}

@@ -100,5 +71,97 @@ {{ end }}
+ {{ .Scratch.Set "header-type" "h3" }} + {{ .Scratch.Set "header-name" "Personal Projects" }} + {{ partial "fake-heading.html" . }} + +

I really like to start projects in my free time (maybe too often). Here's an almost-comprehensive list of them, most of them are freely licensed as well!

+ +
+ {{ range .Data.Pages.ByDate.Reverse }} +
+ {{ $since_year := (sub now.Year (.Date.Year)) }} + {{ $zero_to_one := math.Div (float $since_year) 8.0 }} + {{ $opacity := math.Sub 1.0 $zero_to_one }} + +

{{ .Title }}{{ .Date.Format "2006" }}

+ +

{{ .Summary }}

+ + +
+ {{ end }} +
+ + {{ .Scratch.Set "header-type" "h3" }} + {{ .Scratch.Set "header-name" "Contributions" }} + {{ partial "fake-heading.html" . }} + +

Here's a list of some of the projects I contributed to! This is stuff I did in my free time and not part of my employment. Of course, the exception to this rule is grants to work on open source projects.

+ +
+ {{ range $contrib.contributions }} +
+

{{ .name }}

+ +

{{ .description }}

+ + +
+ {{ end }} +
{{ end }}