Improve look of the software page

This commit is contained in:
Joshua Goins 2024-11-11 19:03:11 -05:00
parent c1258c65bf
commit e976ae7ffd
5 changed files with 152 additions and 71 deletions

View file

@ -1,16 +1,16 @@
{ {
"contributions": [ "maintaining": [
{ {
"id": "aers/FFXIVClientStructs", "id": "network/tokodon",
"name": "FFXIVClientStructs", "name": "Tokodon",
"description": "Documenting more fields for FFXIV bone simulators.", "description": "Co-maintainer, added numerous features and fixed lots of bugs.",
"type": "github" "type": "kde"
}, },
{ {
"id": "libinput/libinput", "id": "network/neochat",
"name": "libinput", "name": "NeoChat",
"description": "Added support for tablet dials, like those on XP-PEN tablets.", "description": "Newly co-maintaining. Recently added support for UnifiedPush, making it one of the first of it's kind on desktop.",
"type": "xdg" "type": "kde"
}, },
{ {
"id": "multimedia/plasmatube", "id": "multimedia/plasmatube",
@ -19,10 +19,24 @@
"type": "kde" "type": "kde"
}, },
{ {
"id": "network/neochat", "id": "plasma/plasma-desktop",
"name": "NeoChat", "name": "Plasma Desktop",
"description": "UnifiedPush support, misc bugs and interface changes.", "description": "Currently maintaining and improving the Drawing Tablet KCM. Also bugfixing.",
"type": "kde" "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", "id": "games/kpat",
@ -33,7 +47,7 @@
{ {
"id": "libraries/kirigami-addons", "id": "libraries/kirigami-addons",
"name": "Kirigami Add-ons", "name": "Kirigami Add-ons",
"description": "About KDE page, lots of bug fixes.", "description": "The About KDE page, lots of bug fixes.",
"type": "kde" "type": "kde"
}, },
{ {
@ -51,7 +65,7 @@
{ {
"id": "plasma/kwin", "id": "plasma/kwin",
"name": "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" "type": "kde"
}, },
{ {
@ -60,12 +74,6 @@
"description": "Added pen tilt to the tablet tester. Small S-Pen improvements on Android.", "description": "Added pen tilt to the tablet tester. Small S-Pen improvements on Android.",
"type": "kde" "type": "kde"
}, },
{
"id": "network/tokodon",
"name": "Tokodon",
"description": "Maintainer, added numerous features and fixed lots of bugs.",
"type": "kde"
},
{ {
"id": "gentoo/gentoo", "id": "gentoo/gentoo",
"name": "Gentoo", "name": "Gentoo",
@ -86,13 +94,13 @@
{ {
"id": "PrismLauncher/PrismLauncher", "id": "PrismLauncher/PrismLauncher",
"name": "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" "type": "github"
}, },
{ {
"id": "sdk/licentia", "id": "sdk/licentia",
"name": "Licentia", "name": "Licentia",
"description": "Fixed PinePhone support.", "description": "Improved support for mobile devices.",
"type": "kde" "type": "kde"
}, },
{ {
@ -107,17 +115,23 @@
"description": "Fixed Darktable RAW imports.", "description": "Fixed Darktable RAW imports.",
"type": "kde" "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", "id": "absolute-quantum/cats-blender-plugin",
"name": "CATS", "name": "CATS",
"description": "Minor bug fixes for it's baking.", "description": "Minor bug fixes for it's baking.",
"type": "github" "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"
} }
] ]
} }

View file

@ -650,7 +650,7 @@ model-viewer {
margin: 0; margin: 0;
padding: 0.5em; padding: 0.5em;
background-color: var(--background-tertiary); 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; background-size: 24px 24px;
border-bottom: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
font-weight: bold; font-weight: bold;
@ -829,3 +829,11 @@ model-viewer {
grid-template-columns: 50% 50%; grid-template-columns: 50% 50%;
} }
} }
.project-maintainer {
background-color: #844e4e;
}
.project-contribution {
background-color: #586449;
}

View file

@ -24,6 +24,4 @@
<hr> <hr>
{{ .Content }} {{ .Content }}
{{ partial "related" . }}
{{ end }} {{ end }}

View file

@ -24,8 +24,6 @@
{{ .Content }} {{ .Content }}
{{ partial "related" . }}
{{ if in .File.Dir "blog" }} {{ if in .File.Dir "blog" }}
{{ partial "voting" . }} {{ partial "voting" . }}

View file

@ -8,47 +8,18 @@
{{ .Content }} {{ .Content }}
{{ .Scratch.Set "header-type" "h3" }}
{{ .Scratch.Set "header-name" "Personal Projects" }}
{{ partial "fake-heading.html" . }}
<p>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!</p>
<div class="buttons">
{{ range .Data.Pages.ByDate.Reverse }}
<div class="blurb">
<p class="project-header">{{ .Title }}<span style="float:right;margin:0">{{ .Date.Format "2006" }}</span></p>
<p class="project-desc">{{ .Summary }}</p>
<ul class="nice-list">
<li>
<a href="{{ .RelPermalink }}">About</a>
</li>
{{ with .Param "source" }}
<li>
<a href="{{ . }}">Source Code</a>
</li>
{{ end }}
</ul>
</div>
{{ end }}
</div>
{{ .Scratch.Set "header-type" "h3" }}
{{ .Scratch.Set "header-name" "Contributions" }}
{{ partial "fake-heading.html" . }}
<p>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.</p>
{{ $contrib := (index site.Data "contributions") }} {{ $contrib := (index site.Data "contributions") }}
{{ .Scratch.Set "header-type" "h3" }}
{{ .Scratch.Set "header-name" "Maintaining" }}
{{ partial "fake-heading.html" . }}
<p>I'm the "maintainer" for several projects that I did not originally create:</p>
<div class="buttons"> <div class="buttons">
{{ range $contrib.contributions }} {{ range $contrib.maintaining }}
<div class="blurb"> <div class="blurb">
<p class="project-header">{{ .name }}</p> <p class="project-header project-maintainer">{{ .name }}</p>
<p class="project-desc">{{ .description }}</p> <p class="project-desc">{{ .description }}</p>
@ -100,5 +71,97 @@
{{ end }} {{ end }}
</div> </div>
{{ .Scratch.Set "header-type" "h3" }}
{{ .Scratch.Set "header-name" "Personal Projects" }}
{{ partial "fake-heading.html" . }}
<p>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!</p>
<div class="buttons">
{{ range .Data.Pages.ByDate.Reverse }}
<div class="blurb">
{{ $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 }}
<p class="project-header" style="background-color: rgba(85.0, 121.0, 153.0, {{ $opacity }})">{{ .Title }}<span style="float:right;margin:0">{{ .Date.Format "2006" }}</span></p>
<p class="project-desc">{{ .Summary }}</p>
<ul class="nice-list">
<li>
<a href="{{ .RelPermalink }}">About</a>
</li>
{{ with .Param "source" }}
<li>
<a href="{{ . }}">Source Code</a>
</li>
{{ end }}
</ul>
</div>
{{ end }}
</div>
{{ .Scratch.Set "header-type" "h3" }}
{{ .Scratch.Set "header-name" "Contributions" }}
{{ partial "fake-heading.html" . }}
<p>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.</p>
<div class="buttons">
{{ range $contrib.contributions }}
<div class="blurb">
<p class="project-header project-contribution">{{ .name }}</p>
<p class="project-desc">{{ .description }}</p>
<ul class="nice-list">
{{ if eq .type "kde" }}
<li>
<a href="https://invent.kde.org/{{ .id }}/-/commits/master?author={{ $.Site.Params.invent_username }}">Commits</a>
</li>
<li>
<a href="https://invent.kde.org/{{ .id }}/merge_requests?scope=all&utf8=%E2%9C%93&state=all&author_username={{ $.Site.Params.invent_username }}">Merge Requests</a>
</li>
{{ else }}
{{ if eq .type "github" }}
<li>
<a href="https://github.com/{{ .id }}/commits?author={{ $.Site.Params.github_username }}">Commits</a>
</li>
<li>
<a href="https://github.com/{{ .id }}/pulls?q=is%3Apr+author%3A{{ $.Site.Params.github_username }}+">Pull Requests</a>
</li>
{{ else }}
{{ if eq .type "gitlab" }}
<li>
<a href="https://gitlab.com/{{ .id }}/-/commits/master?author={{ $.Site.Params.gitlab_username }}">Commits</a>
</li>
<li>
<a href="https://gitlab.com/{{ .id }}/merge_requests?scope=all&utf8=%E2%9C%93&state=all&author_username={{ $.Site.Params.gitlab_username }}">Merge Requests</a>
</li>
{{ else }}
{{ if eq .type "xdg" }}
<li>
<a href="https://gitlab.freedesktop.org/{{ .id }}/-/commits/main?author={{ $.Site.Params.gitlab_username }}">Commits</a>
</li>
<li>
<a href="https://gitlab.freedesktop.org/{{ .id }}/merge_requests?scope=all&utf8=%E2%9C%93&state=all&author_username={{ $.Site.Params.gitlab_username }}">Merge Requests</a>
</li>
{{ else }}
<li>
<a href="https://github.com/search?q=repo%3Agentoo%2Fgentoo+{{ $.Site.Params.github_username }}&type=commits">Commits</a>
</li>
<li>
<a href="https://github.com/gentoo/gentoo/pulls?q=is%3Apr+is%3Aclosed+author%3A{{ $.Site.Params.github_username }}">Pull Requests</a>
</li>
{{ end }}
{{ end }}
{{ end }}
{{ end }}
</ul>
</div>
{{ end }}
</div>
{{ end }} {{ end }}