more updates

pyrox.dev a1b3e407 afc376fb

verified
+3 -1
TODO.md
···
- Code syntax highlighting with [`lume_shiki`](https://github.com/FuriouZz/lume_shiki)
- CI Checks
- Performance, Accessibility, Best Practices, and SEO with [lighthouse-ci](https://github.com/GoogleChrome/lighthouse-ci/blob/main/docs/getting-started.md)
-
- HTML, CSS, and JS formatting with something like the W3C Nu HTML Checker
+
- HTML, CSS, and JS validation
+
- [HTML-Validate](https://html-validate.org/)
+
- [csstree-validator](https://www.npmjs.com/package/csstree-validator)
- Grammar checking for source files(including inclusive language, spell checking, and other basic checks)
- Checking for valid [Microformats](https://microformats.org/wiki/Main_Page) data on all pages that have it
- Webrings!
+8 -2
src/_components/post_card.vto
···
<div class="m-4 pb-1">
<p class="text-subtext1 text-lg">{{ post.title }}</p>
<p class="inline italic text-subtext0">{{ post.summary }}</p>
-
<p class="float-right inline text-blue">{{ post.date |> date('DATE') }}</p>
+
<p class="float-right inline text-blue">
+
<time datetime="{{ post.date |> date('date') }}">
+
{{ post.date |> date('DATE') }}
+
</time>
+
</p>
</div>
</a>
</li>
···
<h2 class="text-subtext1 font-serif text-2xl mb-2">{{ post.title }}</h2>
<h3 class="text-lg lg:inline italic text-subtext0">{{ post.summary }}</h3>
<p class="text-lg lg:float-right lg:inline text-blue">
-
{{ post.date |> date('DATE') }}
+
<time datetime="{{ post.date |> date('date') }}">
+
{{ post.date |> date('DATE') }}
+
</time>
</p>
</div>
</a>
+12
src/_components/project_card.vto
···
+
<li class="bg-surface0 p-4 w-1/2 text-lg rounded-md">
+
<p class="text-2xl font-serif mb-2">{{ project.name }}</p>
+
<p class="italic">{{ project.description }}</p>
+
<p>Techs Used: {{ project.techs }}</p>
+
<p>
+
Developed Since:
+
<strong><time datetime="{{ project.start |> date('date') }}">
+
{{ project.start |> date('POST_DATE') }}
+
</time></strong>
+
</p>
+
<a class="underline text-blue" href="{{ project.link }}">{{ project.link }}</a>
+
</li>
+20
src/_data/projects.toml
···
+
[[projects]]
+
name = "VGArchive"
+
description = "Charity Marathon information archive and search"
+
techs = [ "Django", "Python", "Nix", "CSS", "HTML", "Sqlite"]
+
link = "https://github.com/pyrox0/vgarchive"
+
start = "2024-08-17"
+
+
[[projects]]
+
name = "Nix Configuration"
+
description = "NixOS configuration and modules for all of my servers."
+
techs = [ "Nix", "Caddy" ]
+
link = "https://git.pyrox.dev/pyrox/nix"
+
start = "2022-01-28"
+
+
[[projects]]
+
name = "This Blog"
+
description = "The site you're reading this on!"
+
techs = [ "Nix", "HTML", "CSS", "Vento", "JS", "Python", "Markdown"]
+
link = "https://git.pyrox.dev/pyrox/new-blog"
+
start ="2025-02-09"
src/_includes/components/footer.vto src/_components/footer.vto
src/_includes/components/head.vto src/_components/head.vto
src/_includes/components/navbar.vto src/_components/navbar.vto
+5 -3
src/_includes/layouts/base.vto
···
<!DOCTYPE html>
<html lang="en-US">
<head>
-
{{ include "components/head.vto" }}
+
{{ comp.head() }}
</head>
<body id="body" class="mocha bg-crust grid">
-
{{ include "components/navbar.vto" }}
+
{{ comp.navbar() }}
+
{{ content }}
-
{{ include "components/footer.vto" }}
+
+
{{ comp.footer() }}
</body>
</html>
+5 -13
src/_includes/layouts/projects.vto
···
{{ layout "layouts/base.vto" }}
<main class="min-h-screen text-text justify-self-center w-full lg:w-1/2">
-
<h1 class="mt-8 text-5xl text-bold text-mauve">hi, I'm dish</h1>
-
{{# Profile picture goes here #}}
-
<div class="h-64 content-center border-2 mt-4">Profile Picture</div>
-
<h2 class="text-2xl mt-4">Student, Sysadmin, and UX Crafter</h2>
-
<p class="text-lg mt-2">
-
Howdy! I play with computers, with an emphasis on accessible, secure, and enjoyable
-
experiences.
-
</p>
-
<!-- <div class="h-4"></div> -->
-
<h2 class="my-8 text-2xl">Recent blog posts:</h2>
-
<ul class="lg:w-3/4">
-
{{ for post of search.pages("category=blog", "date", 5) }}
-
{{ comp.post_card({"post": post, compact: true}) }}
+
<h1 class="my-8 text-5xl text-bold text-mauve">Projects</h1>
+
<p class="mb-4">Click any card to be taken to the project's git repo!</p>
+
<ul class="space-y-4">
+
{{ for project of projects.projects }}
+
{{ comp.project_card({"project": project}) }}
{{ /for }}
</ul>
</main>
+1 -1
src/blog/example-blog-post-2.md
···
---
title: example blog post 2
summary: "Testing how posts work in lume"
-
draft: false
+
draft: true
published: 2025-02-14
---
+1 -1
src/blog/example-blog-post.md
···
---
title: example blog post
summary: "Testing how posts work in lume"
-
draft: false
+
draft: true
published: 2025-02-14
---